< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [sipxtapi-dev] [sipX-dev] Get Unregister Event but Does not unregister....


hi,
 
yeah thats what i am doing but dont really get registered event, call disconnect event, held event etc
 
and reason i find , i could be wrong, is due to NAT resolution either by sipxtapi or sipxecs.
 
i get registering but no register event.
 
As far as unregistering the line is concerned, I am sure I am trying to unregister and first register packet add expires=0 but when sipxecs asks for authentication it does not adds expires that is why i think it registers again.
 
Following packets demostrate that:
 
In the following packets ; MY Local IP is "172.30.0.16" , My External IP is "119.30.89.80" and sipxecs proxy is "202.163.71.134:8060"
 
REGISTER sip:202.163.71.134:8060 SIP/2.0
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=37ed749c
To: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=2044897763
Call-Id: e36bcf1701880ae4197ef828de02de72
Cseq: 3 REGISTER
Contact: "Atif"<sip:203@xxxxxxxxxxxx:51066;LINEID=75d0f540e901>;EXPIRES=0
Date: Wed, 17 Sep 2008 09:54:20 GMT
Max-Forwards: 70
User-Agent: BPOPhone
Supported: replaces
Via: SIP/2.0/UDP 119.30.89.80:51066;branch=z9hG4bK-c3f636d0dae6;rport
Content-Length: 0
 
SIP/2.0 401 Unauthorized
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=37ed749c
To: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=2044897763
Call-Id: e36bcf1701880ae4197ef828de02de72
Cseq: 3 REGISTER
Via: SIP/2.0/UDP 119.30.89.80:51066;branch=z9hG4bK-c3f636d0dae6;rport=51454
Www-Authenticate: Digest realm="ns.cyber.net.pk", nonce="d91eac35158d7ebd8a568f2aba5be93c48d0e1d8"
User-Agent: sipXecs/3.10.1 sipXecs/registry (Linux)
Date: Wed, 17 Sep 2008 10:54:16 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, REGISTER, SUBSCRIBE
Accept-Language: en
Supported: gruu
Content-Length: 0
 
REGISTER sip:202.163.71.134:8060 SIP/2.0
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=37ed749c
To: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=2044897763
Call-Id: e36bcf1701880ae4197ef828de02de72
Cseq: 4 REGISTER
Date: Wed, 17 Sep 2008 09:54:20 GMT
Max-Forwards: 70
User-Agent: BPOPhone
Supported: replaces
Authorization: Digest username="203", realm="ns.cyber.net.pk", nonce="d91eac35158d7ebd8a568f2aba5be93c48d0e1d8", uri="sip:202.163.71.134:8060", response="158dc7b91af8a3109067f36916a9c228"
Via: SIP/2.0/UDP 119.30.89.80:51454;branch=z9hG4bK-1163d1277905;rport
Contact: sip:203@xxxxxxxxxxxx:51454
Content-Length: 0
SIP/2.0 200 OK

From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=37ed749c
To: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=2044897763
Call-Id: e36bcf1701880ae4197ef828de02de72
Cseq: 4 REGISTER
Via: SIP/2.0/UDP 119.30.89.80:51454;branch=z9hG4bK-1163d1277905;rport=51454
Contact: <sip:203@xxxxxxxxxxxx:51454>;EXPIRES=4140
User-Agent: sipXecs/3.10.1 sipXecs/registry (Linux)
Date: Wed, 17 Sep 2008 10:54:17 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, REGISTER, SUBSCRIBE
Accept-Language: en
Supported: gruu
Content-Length: 0

 
 
------>When I disconnect the call, the remote party doesnt get disconnected event as sipxtapi send bye to my external ip not to correct destination.
following packets demonstrate that.
In the following packets ; MY Local IP is "172.30.0.16" , My External IP is "119.30.89.80" and sipxecs proxy is "202.163.71.134:8060"
 
BYE sip:207@xxxxxxxxxxxx:55782 SIP/2.0
Route: <sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3763 BYE
Date: Wed, 17 Sep 2008 10:13:39 GMT
Max-Forwards: 70
User-Agent: BPOPhone
Supported: replaces
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rport
Contact: sip:203@xxxxxxxxxxxx:55640
Content-Length: 0
 
BYE sip:207@xxxxxxxxxxxx:55782 SIP/2.0
Route: <sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3763 BYE
Date: Wed, 17 Sep 2008 10:13:39 GMT
Max-Forwards: 70
User-Agent: BPOPhone
Supported: replaces
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rport
Contact: sip:203@xxxxxxxxxxxx:55640
Content-Length: 0
 
SIP/2.0 408 Request timeout
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3762 INVITE
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-e6124f4ded45;rport=55640
Server: sipXecs/3.10.1 sipXecs/sipXproxy (Linux)
Content-Length: 0
 
ACK sip:207@xxxxxxxxxxxx:55782 SIP/2.0
Route: <sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3762 ACK
Max-Forwards: 70
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-e6124f4ded45;rport
Contact: sip:203@xxxxxxxxxxxx:55640
Content-Length: 0
 
BYE sip:207@xxxxxxxxxxxx:55782 SIP/2.0
Route: <sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3763 BYE
Date: Wed, 17 Sep 2008 10:13:39 GMT
Max-Forwards: 70
User-Agent: BPOPhone
Supported: replaces
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rport
Contact: sip:203@xxxxxxxxxxxx:55640
Content-Length: 0
 
BYE sip:207@xxxxxxxxxxxx:55782 SIP/2.0
Route: <sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3763 BYE
Date: Wed, 17 Sep 2008 10:13:39 GMT
Max-Forwards: 70
User-Agent: BPOPhone
Supported: replaces
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rport
Contact: sip:203@xxxxxxxxxxxx:55640
Content-Length: 0
 
SIP/2.0 408 Request timeout
From: "Atif"<sip:203@xxxxxxxxxxxxxx:8060>;tag=6c9012
To: <sip:207@xxxxxxxxxxxxxx:8060>;tag=1496
Call-Id: s_20020_d38b495d303e
Cseq: 3763 BYE
Via: SIP/2.0/UDP 119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rport=55640
Server: sipXecs/3.10.1 sipXecs/sipXproxy (Linux)
Content-Length: 0
 
 
 
 
 
Regards.
Atif Ali Bhatti.
 
 


Discover the new Windows Vista Learn more!