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.0From: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=37ed749cTo: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=2044897763Call-Id: e36bcf1701880ae4197ef828de02de72Cseq: 3
REGISTERContact: "Atif"<sip:[EMAIL
PROTECTED]:51066;LINEID=75d0f540e901>;EXPIRES=0Date: Wed, 17 Sep 2008 09:54:20
GMTMax-Forwards: 70User-Agent: BPOPhoneSupported: replacesVia: SIP/2.0/UDP
119.30.89.80:51066;branch=z9hG4bK-c3f636d0dae6;rportContent-Length: 0
SIP/2.0 401 UnauthorizedFrom: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=37ed749cTo: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=2044897763Call-Id: e36bcf1701880ae4197ef828de02de72Cseq: 3
REGISTERVia: SIP/2.0/UDP
119.30.89.80:51066;branch=z9hG4bK-c3f636d0dae6;rport=51454Www-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 GMTAllow: INVITE, ACK,
CANCEL, BYE, REFER, OPTIONS, REGISTER, SUBSCRIBEAccept-Language: enSupported:
gruuContent-Length: 0
REGISTER sip:202.163.71.134:8060 SIP/2.0From: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=37ed749cTo: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=2044897763Call-Id: e36bcf1701880ae4197ef828de02de72Cseq: 4
REGISTERDate: Wed, 17 Sep 2008 09:54:20 GMTMax-Forwards: 70User-Agent:
BPOPhoneSupported: replacesAuthorization: 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;rportContact:
sip:[EMAIL PROTECTED]:51454Content-Length: 0
SIP/2.0 200 OK
From: "Atif"<sip:[EMAIL PROTECTED]:8060>;tag=37ed749cTo: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=2044897763Call-Id: e36bcf1701880ae4197ef828de02de72Cseq: 4
REGISTERVia: SIP/2.0/UDP
119.30.89.80:51454;branch=z9hG4bK-1163d1277905;rport=51454Contact: <sip:[EMAIL
PROTECTED]:51454>;EXPIRES=4140User-Agent: sipXecs/3.10.1 sipXecs/registry
(Linux)Date: Wed, 17 Sep 2008 10:54:17 GMTAllow: INVITE, ACK, CANCEL, BYE,
REFER, OPTIONS, REGISTER, SUBSCRIBEAccept-Language: enSupported:
gruuContent-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:[EMAIL PROTECTED]:55782 SIP/2.0Route:
<sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>From:
"Atif"<sip:[EMAIL PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL
PROTECTED]:8060>;tag=1496Call-Id: s_20020_d38b495d303eCseq: 3763 BYEDate: Wed,
17 Sep 2008 10:13:39 GMTMax-Forwards: 70User-Agent: BPOPhoneSupported:
replacesVia: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rportContact: sip:[EMAIL
PROTECTED]:55640Content-Length: 0
BYE sip:[EMAIL PROTECTED]:55782 SIP/2.0Route:
<sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>From:
"Atif"<sip:[EMAIL PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL
PROTECTED]:8060>;tag=1496Call-Id: s_20020_d38b495d303eCseq: 3763 BYEDate: Wed,
17 Sep 2008 10:13:39 GMTMax-Forwards: 70User-Agent: BPOPhoneSupported:
replacesVia: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rportContact: sip:[EMAIL
PROTECTED]:55640Content-Length: 0
SIP/2.0 408 Request timeoutFrom: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL PROTECTED]:8060>;tag=1496Call-Id:
s_20020_d38b495d303eCseq: 3762 INVITEVia: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-e6124f4ded45;rport=55640Server:
sipXecs/3.10.1 sipXecs/sipXproxy (Linux)Content-Length: 0
ACK sip:[EMAIL PROTECTED]:55782 SIP/2.0Route:
<sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>From:
"Atif"<sip:[EMAIL PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL
PROTECTED]:8060>;tag=1496Call-Id: s_20020_d38b495d303eCseq: 3762
ACKMax-Forwards: 70Via: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-e6124f4ded45;rportContact: sip:[EMAIL
PROTECTED]:55640Content-Length: 0
BYE sip:[EMAIL PROTECTED]:55782 SIP/2.0Route:
<sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>From:
"Atif"<sip:[EMAIL PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL
PROTECTED]:8060>;tag=1496Call-Id: s_20020_d38b495d303eCseq: 3763 BYEDate: Wed,
17 Sep 2008 10:13:39 GMTMax-Forwards: 70User-Agent: BPOPhoneSupported:
replacesVia: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rportContact: sip:[EMAIL
PROTECTED]:55640Content-Length: 0
BYE sip:[EMAIL PROTECTED]:55782 SIP/2.0Route:
<sip:202.163.71.134:8060;lr;sipXecs-rs=%2Afrom%7ENmM5MDEy.400_authrules%2Aauth%7E%216f847ef33c7d23989c46439d8f266daa>From:
"Atif"<sip:[EMAIL PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL
PROTECTED]:8060>;tag=1496Call-Id: s_20020_d38b495d303eCseq: 3763 BYEDate: Wed,
17 Sep 2008 10:13:39 GMTMax-Forwards: 70User-Agent: BPOPhoneSupported:
replacesVia: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rportContact: sip:[EMAIL
PROTECTED]:55640Content-Length: 0
SIP/2.0 408 Request timeoutFrom: "Atif"<sip:[EMAIL
PROTECTED]:8060>;tag=6c9012To: <sip:[EMAIL PROTECTED]:8060>;tag=1496Call-Id:
s_20020_d38b495d303eCseq: 3763 BYEVia: SIP/2.0/UDP
119.30.89.80:55640;branch=z9hG4bK-a64abc227845;rport=55640Server:
sipXecs/3.10.1 sipXecs/sipXproxy (Linux)Content-Length: 0
Regards.
Atif Ali Bhatti.
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/