Hi all,<br><br>
<b>I have problem about sip : SIP/2.0 401 Unauthorized<br><br></b>domain = <a href="http://rajnikant.net" target="_blank">rajnikant.net</a> ( its ipaddress is 172.18.100.74 - kamailio server )<br>when i have call from <a href="mailto:111@rajnikant.net" target="_blank">111@rajnikant.net</a> user to <a href="mailto:222@rajnikant.net" target="_blank">222@rajnikant.net</a> this error occured <b>SIP/2.0 401 Unauthorized</b><br>
<br> Asterisk server on 172.18.100.65<br>sip.conf<br>-----------<br>[rajnikant]<br>nat=yes<br>disallow=all<br>allow=alaw<br>allow=ulaw<br>allow=gsm<br>type=peer<br>
context=default<br>host=172.18.100.74<br>fromdomain=<a href="http://rajnikant.net/" target="_blank">rajnikant.net</a><br>
mailbox=user@context<br clear="all"><br><b><u>Asterisk CLI with sip set debug on </u></b><br><br>Scheduling destruction of SIP dialog '<a href="mailto:7d358b001cba050d2ff61d9b0e1caae1@172.18.100.71" target="_blank">7d358b001cba050d2ff61d9b0e1caae1@172.18.100.71</a>' in 32000 ms (Method: OPTIONS)<br>
Really destroying SIP dialog '<a href="mailto:6086988b002aaea400c87044747346d3@172.19.100.103" target="_blank">6086988b002aaea400c87044747346d3@172.19.100.103</a>' Method: OPTIONS<br>sabseserver1*CLI> <br><--- SIP read from UDP://<a href="http://172.18.100.74:5060" target="_blank">172.18.100.74:5060</a> ---><br>
INVITE sip:*<a href="http://89@voicemailserver.sabsebolopbx.com:5060" target="_blank">89@voicemailserver.com:5060</a> SIP/2.0<br>Record-Route: <sip:172.18.100.74;lr;ftag=613522939;nat=yes><br>Via: SIP/2.0/UDP 172.18.100.74;branch=z9hG4bKd50e.c5e36c53.0<br>
Via: SIP/2.0/UDP 172.18.100.74:5061;received=172.18.100.74;rport=5061;branch=z9hG4bK0685AC676DAF2C251C89805C4DC4E419<br>From: 111 <<a href="http://sip:111@rajnikant.net:5061" target="_blank">sip:111@rajnikant.net:5061</a>>;tag=613522939<br>
To: <<a href="mailto:sip%3A222@rajnikant.net" target="_blank">sip:222@rajnikant.net</a>><br>Contact: <<a href="http://sip:111@172.18.100.74:5061" target="_blank">sip:111@172.18.100.74:5061</a>><br>Call-ID: <a href="mailto:1DCD3AC9-81CC-5077-7864-93C06BEDDAFB@172.18.100.74" target="_blank">1DCD3AC9-81CC-5077-7864-93C06BEDDAFB@172.18.100.74</a><br>
CSeq: 6259 INVITE<br>Max-Forwards: 69<br>Content-Type: application/sdp<br>User-Agent: X-Lite release 1105d<br>Content-Length: 276<br><br>v=0<br>o=111 2083978771 2083978817 IN IP4 172.18.100.74<br>s=X-Lite<br>c=IN IP4 172.18.100.74<br>
t=0 0<br>m=audio 46058 RTP/AVP 0 8 3 101<br>a=rtpmap:0 pcmu/8000<br>a=rtpmap:8 pcma/8000<br>a=rtpmap:3 gsm/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=sendrecv<br>a=nortpproxy:yes<br><-------------><br>
--- (13 headers 13 lines) ---<br> == Using SIP RTP CoS mark 5<br>Sending to 172.18.100.74 : 5060 (NAT)<br>Using INVITE request as basis request - <a href="mailto:1DCD3AC9-81CC-5077-7864-93C06BEDDAFB@172.18.100.74" target="_blank">1DCD3AC9-81CC-5077-7864-93C06BEDDAFB@172.18.100.74</a><br>
Found user '111' for '111'<br>sabseserver1*CLI> <br><--- Reliably Transmitting (NAT) to <a href="http://172.18.100.74:5060" target="_blank">172.18.100.74:5060</a> ---><br><b>SIP/2.0 401 Unauthorized</b><br>
Via: SIP/2.0/UDP 172.18.100.74;branch=z9hG4bKd50e.c5e36c53.0;received=172.18.100.74<br>
Via: SIP/2.0/UDP 172.18.100.74:5061;received=172.18.100.74;rport=5061;branch=z9hG4bK0685AC676DAF2C251C89805C4DC4E419<br>From: 111 <<a href="http://sip:111@rajnikant.net:5061" target="_blank">sip:111@rajnikant.net:5061</a>>;tag=613522939<br>
To: <<a href="mailto:sip%3A222@rajnikant.net" target="_blank">sip:222@rajnikant.net</a>>;tag=as7c7ddf69<br>Call-ID: <a href="mailto:1DCD3AC9-81CC-5077-7864-93C06BEDDAFB@172.18.100.74" target="_blank">1DCD3AC9-81CC-5077-7864-93C06BEDDAFB@172.18.100.74</a><br>
CSeq: 6259 INVITE<br>User-Agent: Asterisk PBX<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Supported: replaces, timer<br>WWW-Authenticate: Digest algorithm=MD5, realm="sabse1", nonce="3f2f6c32"<br>
Content-Length: 0<br><br><br>Thanks in advance.<br><br>-- <br>
Thanks and Regards<br>Rajnikant Vanza<br>