Mike Miller wrote:
Mar 30 04:39:30 VERBOSE[32543]: == Parsing '/etc/asterisk/sip.conf': Mar 30 04:39:30 VERBOSE[32543]: == Parsing '/etc/asterisk/sip.conf': Found Mar 30 04:39:30 DEBUG[32543]: Unable to find key '203' in family 'SIP/Registry' Mar 30 04:39:30 VERBOSE[32543]: == SIP Listening on 0.0.0.0:5060 Mar 30 04:39:30 VERBOSE[32543]: == Using TOS bits 0 Mar 30 04:39:30 VERBOSE[32543]: == Registered channel type 'SIP' (Session Initiation Protocol (SIP))
Is the DEBUG message there significant?
No, that's not significant.
'401 Unauthorized' is a perfectly valid response from Asterisk, because you have supplied a secret for that peer (203). What is supposed to happen is that the SIP UAC (Linphone) sees the 401 response (with a WWW-Authenticate header included) and retries the REGISTER with authorization info included.
However, here's something I hadn't noticed before: Asterisk is _receiving_ its own '100 Trying' response! What are the IP addresses of Asterisk and the softphone here? I suspect that .100 is the Asterisk server, in which case the Contact header of the REGISTER request from Linphone is completely wrong, since it should contain its own address.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users