[asterisk-users] Asterisk 13.1.0/PJSIP outbound calling using SIP trunk: Unable to create request with auth.No auth credentials for any realms in challenge.

George Joseph george.joseph at fairview5.com
Sun Mar 15 20:37:34 CDT 2015


On Sun, Mar 15, 2015 at 5:56 PM, Sonny Rajagopalan
<sonny.rajagopalan at gmail.com> wrote:
> George,
>
> I have the detailed log below. (Resending after trimming the email to 40KB.)
>
> The sequence below just repeats ad-nauseam. Is this a SIP trunk issue?
>
> Thanks!
>

I don't see anything obvious.  The registration works though, right?
You might want to compare the register auth exchange to the invite
auth exchange and see if anything differs.

> ---------------------
>
> Transmitting SIP request (885 bytes) to UDP:65.254.44.194:5060 --->
> INVITE sip:12025551212 at 65.254.44.194:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport;branch=z9hG4bKPj70617ad5-d57a-4e5b-8043-086b0b8ebba2
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To: <sip:12025551212 at 65.254.44.194>
> Contact: <sip:dea9e47d-3a06-4e6e-b88f-8bac70fb6e0b at 18.18.19.123:5060>
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6753 INVITE
> Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL,
> UPDATE, PRACK, REGISTER, MESSAGE, REFER
> Supported: 100rel, timer, replaces, norefersub
> Session-Expires: 1800
> in-SE: 90
> Content-Type: application/sdp
> Content-Length:   239
>
> v=0
> o=- 1014372762 1014372762 IN IP4 192.168.13.121
> s=Asterisk
> c=IN IP4 18.18.19.123
> t=0 0
> m=audio 11614 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=ptime:20
> a=maxptime:150
> a=sendrecv
>
> [Kip-192.168.13.121*CLI> [0K<--- Received SIP response (342 bytes) from
> UDP:65.254.44.194:5060 --->
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport=5060;branch=z9hG4bKPj70617ad5-d57a-4e5b-8043-086b0b8ebba2;received=18.18.19.123
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To: <sip:12025551212 at 65.254.44.194>
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6753 INVITE
> Content-Length: 0
>
>
> [Kip-192.168.13.121*CLI> [0K<--- Received SIP response (539 bytes) from
> UDP:65.254.44.194:5060 --->
> SIP/2.0 407 Proxy Authentication Required
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport=5060;branch=z9hG4bKPj70617ad5-d57a-4e5b-8043-086b0b8ebba2;received=18.18.19.123
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To:
> <sip:12025551212 at 65.254.44.194>;tag=2484f1a5f06b7307c34ab1dd8d74150a.188a
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6753 INVITE
> Proxy-Authenticate: Digest realm="65.254.44.194",
> nonce="VQYKoVUGCEmlb1riTSTWwGKGMJZeqn7uVKO5AGraoWJnidF+hUD12HhxBszB",
> qop="auth"
> Content-Length: 0
>
>
> [Kip-192.168.13.121*CLI> [0K<--- Transmitting SIP request (382 bytes) to
> UDP:65.254.44.194:5060 --->
> ACK sip:12025551212 at 65.254.44.194:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport;branch=z9hG4bKPj70617ad5-d57a-4e5b-8043-086b0b8ebba2
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To:
> <sip:12025551212 at 65.254.44.194>;tag=2484f1a5f06b7307c34ab1dd8d74150a.188a
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6753 ACK
> Content-Length:  0
>
>
> [Kip-192.168.13.121*CLI> [0K<--- Transmitting SIP request (1186 bytes) to
> UDP:65.254.44.194:5060 --->
> INVITE sip:12025551212 at 65.254.44.194:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport;branch=z9hG4bKPjda9b69bb-a368-4ec0-a523-df5a920a7076
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To: <sip:12025551212 at 65.254.44.194>
> Contact: <sip:dea9e47d-3a06-4e6e-b88f-8bac70fb6e0b at 18.18.19.123:5060>
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6754 INVITE
> Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL,
> UPDATE, PRACK, REGISTER, MESSAGE, REFER
> Supported: 100rel, timer, replaces, norefersub
> Session-Expires: 1800
> in-SE: 90
> Proxy-Authorization: Digest username="sonny", realm="65.254.44.194",
> nonce="VQYKoVUGCEmlb1riTSTWwGKGMJZeqn7uVKO5AGraoWJnidF+hUD12HhxBszB",
> uri="sip:12025551212 at 65.254.44.194:5060",
> response="18623a3fec388b9b85dc8f2bcd023083",
> cnonce="4616a975-1521-4db5-b4d5-53b33ffba4b6", qop=auth, nc=00000001
> Content-Type: application/sdp
> Content-Length:   239
>
> v=0
> o=- 1014372762 1014372762 IN IP4 192.168.13.121
> s=Asterisk
> c=IN IP4 18.18.19.123
> t=0 0
> m=audio 11614 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=ptime:20
> a=maxptime:150
> a=sendrecv
>
> [Kip-192.168.13.121*CLI> [0K<--- Received SIP response (342 bytes) from
> UDP:65.254.44.194:5060 --->
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport=5060;branch=z9hG4bKPjda9b69bb-a368-4ec0-a523-df5a920a7076;received=18.18.19.123
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To: <sip:12025551212 at 65.254.44.194>
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6754 INVITE
> Content-Length: 0
>
>
> [Kip-192.168.13.121*CLI> [0K<--- Received SIP response (539 bytes) from
> UDP:65.254.44.194:5060 --->
> SIP/2.0 407 Proxy Authentication Required
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport=5060;branch=z9hG4bKPjda9b69bb-a368-4ec0-a523-df5a920a7076;received=18.18.19.123
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To:
> <sip:12025551212 at 65.254.44.194>;tag=2484f1a5f06b7307c34ab1dd8d74150a.f6bc
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6754 INVITE
> Proxy-Authenticate: Digest realm="65.254.44.194",
> nonce="VQYKoVUGCEkkNCFzVwnTNw69uvD+cH8QVKO5AGraoWJnidF+hUD12HK5Ps7A",
> qop="auth"
> Content-Length: 0
>
>
> [Kip-192.168.13.121*CLI> [0K<--- Transmitting SIP request (382 bytes) to
> UDP:65.254.44.194:5060 --->
> ACK sip:12025551212 at 65.254.44.194:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 18.18.19.123:5060;rport;branch=z9hG4bKPjda9b69bb-a368-4ec0-a523-df5a920a7076
> From: <sip:sonny at 192.168.13.121>;tag=6953923b-1798-41a0-a983-fe27ff6a1db8
> To:
> <sip:12025551212 at 65.254.44.194>;tag=2484f1a5f06b7307c34ab1dd8d74150a.f6bc
> Call-ID: 012135e9-b05e-4ffd-8ed7-32b3160273e3
> CSeq: 6754 ACK
> Content-Length:  0
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list