Hi, I have a simple scenario that I can't get working. There is a JAIN-SIP application (already using 1.2.94 version, thanks for the quick fix, Ranga) that subscribes to SipX MWI notification (SIP message flow at the end of the message, SipX version is 3.10.2). Then it tries to unsubscribe setting the Expires to 0.
Please, note that in the second 202 Accepted returned by SipX, the second To tag is missing (the dialog was set up correctly in case of the first 202 Accepted and that the Expires in the second 202 is not 0 but a higher number. The NOTIFY returned after the second 202 has "active" subscription state instead of having a terminated subscription state. What do I do wrong? Regards, Gabor Paller SIP messages: 1. Client subscribes after 401 challenge: 853: SUBSCRIBE sip:4...@sipxecs.test.onrelay.local SIP/2.0 Call-ID: 6d978c1818cd277832c51927ce66d...@10.1.5.63 CSeq: 2 SUBSCRIBE From: <sip:4...@sipxecs.test.onrelay.local>;tag=631954 To: <sip:4...@sipxecs.test.onrelay.local> Max-Forwards: 70 Contact: <sip:4...@10.1.5.63:5560> Expires: 1800 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE Event: message-summary Authorization: Digest username="406",realm="test.onrelay.local",nonce="a36c232bfd3154f714bae83 aa584ef5149a41b0b",uri="sip:4...@sipxecs.test.onrelay.local",algorithm=MD 5,response="bb03ed529e1a796be925fa3ad69cdb86" Via: SIP/2.0/UDP 10.1.5.63:5560;branch=z9hG4bKbec1d0e036ecd5c319f9ccfe532a1367 Content-Length: 0 1000: SIP/2.0 202 Accepted From: <sip:4...@sipxecs.test.onrelay.local>;tag=631954 To: <sip:4...@sipxecs.test.onrelay.local>;tag=e1225533 Call-ID: 6d978c1818cd277832c51927ce66d...@10.1.5.63 CSeq: 2 SUBSCRIBE Via: SIP/2.0/UDP 10.1.5.63:5560;branch=z9hG4bKbec1d0e036ecd5c319f9ccfe532a1367 Expires: 1376 Contact: <sip:4...@sipxecs.test.onrelay.local> User-Agent: sipXecs/3.10.2 sipXecs/publisher (Linux) Date: Tue, 24 Feb 2009 16:06:35 GMT Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE Accept-Language: en Supported: sip-cc-01,timer Content-Length: 0 1003: NOTIFY sip:4...@10.1.5.63:5560 SIP/2.0 Content-Type: application/simple-message-summary Event: message-summary Subscription-State: active;expires=1376 From: <sip:4...@sipxecs.test.onrelay.local>;tag=e1225533 To: <sip:4...@sipxecs.test.onrelay.local>;tag=631954 Call-ID: 6d978c1818cd277832c51927ce66d...@10.1.5.63 CSeq: 2 NOTIFY Contact: <sip:4...@sipxecs.test.onrelay.local> User-Agent: sipXecs/3.10.2 sipXecs/publisher (Linux) Date: Tue, 24 Feb 2009 16:06:35 GMT Max-Forwards: 19 Accept-Language: en Supported: sip-cc-01,timer Via: SIP/2.0/UDP 10.1.9.23;branch=z9hG4bK-sipXecs-39fdad3501692f6630ce88d4f49618721a57,SI P/2.0/UDP 10.1.9.23:5110;branch=z9hG4bK-sipXecs-df41d05d4046b617b07b1c5af9195cf3fd b1 Content-Length: 50 2. Unsubscribe after the 401 response 3462: SUBSCRIBE sip:4...@sipxecs.test.onrelay.local SIP/2.0 Call-ID: 6d978c1818cd277832c51927ce66d...@10.1.5.63 CSeq: 2 SUBSCRIBE From: <sip:4...@sipxecs.test.onrelay.local>;tag=631954 To: <sip:4...@sipxecs.test.onrelay.local> Max-Forwards: 70 Contact: <sip:4...@10.1.5.63:5560> Expires: 0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE Event: message-summary Authorization: Digest username="406",realm="test.onrelay.local",nonce="21bdba887a8a03f1fb4a12f a6b7882d149a41b0e",uri="sip:4...@sipxecs.test.onrelay.local",algorithm=MD 5,response="558fb7a79335cc07f44540fe692150f9" Via: SIP/2.0/UDP 10.1.5.63:5560;branch=z9hG4bK8a7108bb590b2c925a34ca580a4ebf0a Content-Length: 0 3492: SIP/2.0 202 Accepted From: <sip:4...@sipxecs.test.onrelay.local>;tag=631954 To: <sip:4...@sipxecs.test.onrelay.local> Call-ID: 6d978c1818cd277832c51927ce66d...@10.1.5.63 CSeq: 2 SUBSCRIBE Via: SIP/2.0/UDP 10.1.5.63:5560;branch=z9hG4bK8a7108bb590b2c925a34ca580a4ebf0a Expires: 487 Contact: <sip:4...@sipxecs.test.onrelay.local> User-Agent: sipXecs/3.10.2 sipXecs/publisher (Linux) Date: Tue, 24 Feb 2009 16:06:38 GMT Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE Accept-Language: en Supported: sip-cc-01,timer Content-Length: 0 3500: NOTIFY sip:4...@10.1.5.63:5560 SIP/2.0 Content-Type: application/simple-message-summary Event: message-summary Subscription-State: active;expires=1373 From: <sip:4...@sipxecs.test.onrelay.local>;tag=e1225533 To: <sip:4...@sipxecs.test.onrelay.local>;tag=631954 Call-ID: 6d978c1818cd277832c51927ce66d...@10.1.5.63 CSeq: 3 NOTIFY Contact: <sip:4...@sipxecs.test.onrelay.local> User-Agent: sipXecs/3.10.2 sipXecs/publisher (Linux) Date: Tue, 24 Feb 2009 16:06:38 GMT Max-Forwards: 19 Accept-Language: en Supported: sip-cc-01,timer Via: SIP/2.0/UDP 10.1.9.23;branch=z9hG4bK-sipXecs-3a0879753c3d9fe812358a7781852b83fc2e,SI P/2.0/UDP 10.1.9.23:5110;branch=z9hG4bK-sipXecs-df44ddc019152637a643ed29a41ad56723 2b Content-Length: 50 _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users