[asterisk-users] Help with Sip Registration

Treesa Fairy Joseph treesa at cdotb.ernet.in
Tue Sep 25 16:19:34 CDT 2007


Hi all,
    I have installed X-lite client on a windowsXP
machine and asterisk on an enterprise linux m/c.
The client is sending a registration message to asterisk
server. It is able to process the message and sends 200 OK
back. But later it says "Scheduling destruction of sip 
dialog xxxx ". Then it says "Really destroying sip 
dialog xxxx". What to do for this problem??? I had
enabled the sip debug at the asterisk. I have pasted
the messages, I got below. Please help me in solving the
problem. 

Thanks in advance,
Treesa


REGISTER sip:192.168.12.160 SIP/2.0
Via: SIP/2.0/UDP 192.168.25.116:52166;branch=z9hG4bK-d87543-b65c86230550ff4f-
1--        d87543-;rport
Max-Forwards: 70
Contact: <sip:1002 at 192.168.25.116:52166;rinstance=1a12ef13351e0ee1>
To: "1002"<sip:1002 at 192.168.12.160>
From: "1002"<sip:1002 at 192.168.12.160>;tag=5f799517
Call-ID: Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INF        O
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0


<------------->
--- (12 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.25.116 : 52166 (NAT)
localhost*CLI>
<--- Transmitting (NAT) to 192.168.25.116:52166 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.25.116:52166;branch=z9hG4bK-d87543-b65c86230550ff4f-
1--        d87543-;received=192.168.25.116;rport=52166
From: "1002"<sip:1002 at 192.168.12.160>;tag=5f799517
To: "1002"<sip:1002 at 192.168.12.160>
Call-ID: Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:1002 at 192.168.12.160>
Content-Length: 0


<------------>
localhost*CLI>
<--- Transmitting (NAT) to 192.168.25.116:52166 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.25.116:52166;branch=z9hG4bK-d87543-b65c86230550ff4f-
1--        d87543-;received=192.168.25.116;rport=52166
From: "1002"<sip:1002 at 192.168.12.160>;tag=5f799517
To: "1002"<sip:1002 at 192.168.12.160>;tag=as13bc832b
Call-ID: Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="09891096"
Content-Length: 0


<------------>
Scheduling destruction of SIP 
dialog 'Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZD        I.' in 32000 ms 
(Method: REGISTER)
localhost*CLI>
<--- SIP read from 192.168.25.116:52166 --->
REGISTER sip:192.168.12.160 SIP/2.0
Via: SIP/2.0/UDP 192.168.25.116:52166;branch=z9hG4bK-d87543-4d49b62ac70e0843-
1--        d87543-;rport
Max-Forwards: 70
Contact: <sip:1002 at 192.168.25.116:52166;rinstance=1a12ef13351e0ee1>
To: "1002"<sip:1002 at 192.168.12.160>
From: "1002"<sip:1002 at 192.168.12.160>;tag=5f799517
Call-ID: Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.
CSeq: 2 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INF        O
User-Agent: X-Lite release 1011s stamp 41150
Authorization: Digest 
username="1002",realm="asterisk",nonce="09891096",uri="sip        :192.168.12
.160",response="f9d4e4b46f8da4d0c2fc7fe4e1f4c7fe",algorithm=MD5
Content-Length: 0


<------------->
--- (13 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.25.116 : 52166 (NAT)

<--- Transmitting (NAT) to 192.168.25.116:52166 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.25.116:52166;branch=z9hG4bK-d87543-4d49b62ac70e0843-
1--        d87543-;received=192.168.25.116;rport=52166
From: "1002"<sip:1002 at 192.168.12.160>;tag=5f799517
To: "1002"<sip:1002 at 192.168.12.160>
Call-ID: Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:1002 at 192.168.12.160>
Content-Length: 0


<------------>
    -- Registered SIP '1002' at 192.168.25.116 port 52166 expires 3600
    -- Saved useragent "X-Lite release 1011s stamp 41150" for peer 1002

<--- Transmitting (NAT) to 192.168.25.116:52166 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.25.116:52166;branch=z9hG4bK-d87543-4d49b62ac70e0843-
1--        d87543-;received=192.168.25.116;rport=52166
From: "1002"<sip:1002 at 192.168.12.160>;tag=5f799517
To: "1002"<sip:1002 at 192.168.12.160>;tag=as13bc832b
Call-ID: Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: 
<sip:1002 at 192.168.25.116:52166;rinstance=1a12ef13351e0ee1>;expires=3600
Date: Fri, 15 Aug 2014 16:49:53 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP 
dialog 'Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZD        I.' in 32000 ms 
(Method: REGISTER)
localhost*CLI>
<--- SIP read from 192.168.25.116:52166 --->



<------------->
--- (0 headers 1 lines) ---
Really destroying SIP dialog 'Yjk5ZTFjZjI1Mzc5N2RiMWFhYWRiMjhhMjc0NTU4ZDI.' 
Meth        od: REGISTER




More information about the asterisk-users mailing list