[SR-Users] Subscription-State: terminated;reason=terminated?

Min Wang mwang at sipwise.com
Mon Jun 25 17:43:54 CEST 2012


HI

when I removed 102 from 101's contact list (using jitsi nightly 1.1 
build),  kamailio 3.3 send out NOTIFY to 102 like this:


NOTIFY 
sip:102 at 192.168.122.147:5060;transport=udp;registering_acc=192_168_122_32 SIP/2.0.
Via: SIP/2.0/UDP 192.168.122.32;branch=z9hG4bK1bfb.afbf0a85.0.
To: sip:102 at 192.168.122.32;tag=f6a40771.
From: sip:101 at 192.168.122.32;tag=a6a1c5f60faecf035a1ae5b6e96e979a-5724.
CSeq: 4 NOTIFY.
Call-ID: c7c52dd058268596ec84dd3c645a2f17 at 0.0.0.0.
Content-Length: 0.
User-Agent: kamailio (3.3.0-rc0 (x86_64/linux)).
Max-Forwards: 70.
Event: presence.
Contact: <sip:192.168.122.32:5060;transport=udp>.
Subscription-State: terminated;reason=terminated. <-----------------



Note the reason code is:terminated.


 From rfc3265, The defined reason codes are:  deactivated/  
probation/rejected/ timeout/giveup/noresource


What is the reason to send: reason=terminated instead one of the 
well-defined reason codes?


There was a discussion regarding at:

http://sip-router.org/tracker/index.php?do=details&task_id=133 
<http://sip-router.org/tracker/index.php?do=details&task_id=133>


but I did not see the explaination of  reason=terminated.


Thanks


min










More information about the sr-users mailing list