Hello,

I'm receiving some traffic from a Softwitch to Asterisk

When I'm hiding the CallerID in the softwitch, everything is all right.

When I allow to send the callerid from softwitch to Asterisk (actually,
I would like to have it) Asterisk rejects the call with a 407 Proxy
Authentication SIP packet.

I copy-paste the SIP Invitation:
------------------
Session Initiation Protocol
    Request-Line: INVITE sip:[EMAIL PROTECTED]:5060;user=phone SIP/2.0
        Method: INVITE
        [Resent Packet: False]
    Message Header
        Via: SIP/2.0/UDP 
2.2.2.2:5060;branch=z9hG4bK-ffff2700ffff3710ff000015ff5fff41
            Transport: UDP
            Sent-by Address: 2.2.2.2
            Sent-by port: 5060
            Branch: z9hG4bK-ffff2700ffff3710ff000015ff5fff41
        From: <sip:[EMAIL 
PROTECTED];user=phone>;tag=ffff2700ffff3710ff000015ff5fff41
            SIP from address: sip:[EMAIL PROTECTED]
            SIP tag: ffff2700ffff3710ff000015ff5fff41
        To: <sip:[EMAIL PROTECTED]:5060;user=phone>
            SIP to address: sip:[EMAIL PROTECTED]:5060
        Call-ID: [EMAIL PROTECTED]
        CSeq: 1 INVITE
            Sequence Number: 1
            Method: INVITE
        Contact: <sip:[EMAIL PROTECTED];user=phone>
            Contact Binding: <sip:[EMAIL PROTECTED];user=phone>
                URI: <sip:[EMAIL PROTECTED];user=phone>
                    SIP contact address: sip:[EMAIL PROTECTED]
        Max-Forwards: 10
        User-Agent: xxxxx
        Cisco-Guid: 406000640-2566207248-2147483669-3311398977
        Content-Type: application/sdp
        Content-Length: 164
------------------

sip.conf section:
[2.2.2.2]
host=2.2.2.2
type=friend
insecure=yes
context=test
canreinvite=no

(and calls goes to test context)

Which header is forcing Asterisk to ask for authentication, and if I hide the
callerid it's not asking it?

Thanks,

-- 
Carles Pina i Estany            GPG id: 0x17756391
        http://pinux.info

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to