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