[asterisk-dev] Start testing with res_sip
Joshua Colp
jcolp at digium.com
Thu Jun 20 15:43:31 CDT 2013
Ron Arts wrote:
> Hi,
<Snipped, by golly>
>
> [Jun 20 22:22:55] DEBUG[19430]: res_sip_endpoint_identifier_user.c:104
> username_identify: Retrieved endpoint 101
> <--- Transmitting SIP response (498 bytes) to UDP:10.211.55.2:8968 --->
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP
> 10.211.55.2:8968;rport;received=10.211.55.2;branch=z9hG4bK-d8754z-d858fa304e516852-1---d8754z-
> Call-ID: YmEyMmQwNTcyNDA4NDI1Yjk5NzNjZjM4NTI0MzAwN2M
> From:<sip:101 at 10.211.55.90>;tag=dbd10a09
> To:<sip:1000 at 10.211.55.90>;tag=z9hG4bK-d8754z-d858fa304e516852-1---d8754z-
> CSeq: 1 INVITE
> WWW-Authenticate: Digest
> realm="asterisk",nonce="1371759775/666d8f75e7e63c15aa836e19152fb747",opaque="472c689c25c1eef2",algorithm=md5,qop="auth"
> Content-Length: 0
As you can see above it's now actually challenging, so something was
seemingly amuck and by starting over it fixed that... but I'd be curious
to know what exactly happened.
> [Jun 20 22:22:55] DEBUG[19430]: res_sip_session.c:1438
> handle_outgoing_response: Response is 404 Not Found
> <--- Transmitting SIP response (337 bytes) to UDP:10.211.55.2:8968 --->
> SIP/2.0 404 Not Found
> Via: SIP/2.0/UDP
> 10.211.55.2:8968;rport;received=10.211.55.2;branch=z9hG4bK-d8754z-5a1f3e3c71c82705-1---d8754z-
> Call-ID: YmEyMmQwNTcyNDA4NDI1Yjk5NzNjZjM4NTI0MzAwN2M
> From:<sip:101 at 10.211.55.90>;tag=dbd10a09
> To:<sip:1000 at 10.211.55.90>;tag=M-hVnYqdb3FhsjuT9yOw34Oe2ql.OdVD
> CSeq: 2 INVITE
> Content-Length: 0
If you cleared the extensions.conf and didn't make a back up then you no
longer have a testing context, so I would expect this to return a 404.
You could add one or change it to default. That should make it happy.
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list