[asterisk-users] SIP registration issues

Raj Mathur ( राज माथुर ) raju at linux-delhi.org
Sat Nov 19 20:43:22 CST 2011


Hi,

Having problems with a client trying to login to Asterisk 1.6.2 from 
behind a DSL router.  The account can be accessed perfectly from other 
clients.

Would appreciate if you could look at the the attached log and see if
you spot any glaring issues.  The user is very infrequently available 
for discussion and testing, so please try to batch questions in one mail 
itself!

Regards,

-- Raj
-- 
Raj Mathur                          || raju at kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves           || http://schizoid.in   || D17F
-------------- next part --------------
REGISTER sip:SERVER-IP SIP/2.0
CSeq: 100 REGISTER
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;rport
User-Agent: Ekiga/3.2.7
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
To: <sip:ACCOUNT-ID at SERVER-IP>
Contact: <sip:ACCOUNT-ID at CLIENT-IP:49153>;q=1, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.667, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.334
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 3600
Content-Length: 0
Max-Forwards: 70


<------------->
--- (12 headers 0 lines) ---
Sending to CLIENT-IP : 49153 (no NAT)

<--- Transmitting (no NAT) to CLIENT-IP:49153 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;received=CLIENT-IP;rport=49152
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
To: <sip:ACCOUNT-ID at SERVER-IP>;tag=as5d35c321
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
CSeq: 100 REGISTER
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="09c83283"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '0d5779ba-a505-1910-8afd-001302871a3d at Gateway' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:CLIENT-IP:49152 --->
REGISTER sip:SERVER-IP SIP/2.0
CSeq: 100 REGISTER
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;rport
User-Agent: Ekiga/3.2.7
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
To: <sip:ACCOUNT-ID at SERVER-IP>
Contact: <sip:ACCOUNT-ID at CLIENT-IP:49153>;q=1, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.667, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.334
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 3600
Content-Length: 0
Max-Forwards: 70


<------------->
--- (12 headers 0 lines) ---
Sending to CLIENT-IP : 49153 (no NAT)

<--- Transmitting (no NAT) to CLIENT-IP:49153 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;received=CLIENT-IP;rport=49152
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
To: <sip:ACCOUNT-ID at SERVER-IP>;tag=as5d35c321
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
CSeq: 100 REGISTER
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="09c83283"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '0d5779ba-a505-1910-8afd-001302871a3d at Gateway' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:CLIENT-IP:49152 --->
REGISTER sip:SERVER-IP SIP/2.0
CSeq: 100 REGISTER
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;rport
User-Agent: Ekiga/3.2.7
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
To: <sip:ACCOUNT-ID at SERVER-IP>
Contact: <sip:ACCOUNT-ID at CLIENT-IP:49153>;q=1, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.667, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.334
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 3600
Content-Length: 0
Max-Forwards: 70


<------------->
--- (12 headers 0 lines) ---
Sending to CLIENT-IP : 49153 (no NAT)

<--- Transmitting (no NAT) to CLIENT-IP:49153 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;received=CLIENT-IP;rport=49152
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
To: <sip:ACCOUNT-ID at SERVER-IP>;tag=as5d35c321
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
CSeq: 100 REGISTER
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="09c83283"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '0d5779ba-a505-1910-8afd-001302871a3d at Gateway' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:CLIENT-IP:49152 --->
REGISTER sip:SERVER-IP SIP/2.0
CSeq: 100 REGISTER
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;rport
User-Agent: Ekiga/3.2.7
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
To: <sip:ACCOUNT-ID at SERVER-IP>
Contact: <sip:ACCOUNT-ID at CLIENT-IP:49153>;q=1, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.667, <sip:ACCOUNT-ID at CLIENT-IP:49152>;q=0.334
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 3600
Content-Length: 0
Max-Forwards: 70


<------------->
--- (12 headers 0 lines) ---
Sending to CLIENT-IP : 49153 (no NAT)

<--- Transmitting (no NAT) to CLIENT-IP:49153 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK072ae5cc-a505-1910-8b01-001302871a3d;received=CLIENT-IP;rport=49152
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
To: <sip:ACCOUNT-ID at SERVER-IP>;tag=as5d35c321
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
CSeq: 100 REGISTER
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="09c83283"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '0d5779ba-a505-1910-8afd-001302871a3d at Gateway' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:CLIENT-IP:49152 --->
REGISTER sip:SERVER-IP SIP/2.0
CSeq: 101 REGISTER
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK62dc0ccd-a505-1910-8b01-001302871a3d;rport
User-Agent: Ekiga/3.2.7
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
To: <sip:ACCOUNT-ID at SERVER-IP>
Contact: *
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING
Expires: 0
Content-Length: 0
Max-Forwards: 70


<------------->
--- (12 headers 0 lines) ---
Sending to CLIENT-IP : 49153 (no NAT)

<--- Transmitting (no NAT) to CLIENT-IP:49153 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP CLIENT-IP:49153;branch=z9hG4bK62dc0ccd-a505-1910-8b01-001302871a3d;received=CLIENT-IP;rport=49152
From: <sip:ACCOUNT-ID at SERVER-IP>;tag=0d5779ba-a505-1910-8afe-001302871a3d
To: <sip:ACCOUNT-ID at SERVER-IP>;tag=as5d35c321
Call-ID: 0d5779ba-a505-1910-8afd-001302871a3d at Gateway
CSeq: 101 REGISTER
Server: Asterisk PBX 1.6.2.9-2+squeeze3
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="05444b6a"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '0d5779ba-a505-1910-8afd-001302871a3d at Gateway' in 32000 ms (Method: REGISTER)


More information about the asterisk-users mailing list