[OpenSIPS-Users] unsubscribe or 481 not working

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jan 26 09:15:31 EST 2017


Hi Tito,

You can check the in-memory watchers (subscribers) via subs_phtable_list 
MI function:
http://www.opensips.org/html/docs/modules/2.2.x/presence.html#id294364

Do you see any changes in the listed subscription after the un-subscribe 
is received ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01/26/2017 01:33 AM, Tito Cumpen wrote:
> the previously subscribed address. The UA will respond will respond 
> with a 481 but opensips just continues to send the notifies although 
> they are no longer subscribed. Is there any reason for this behavior? 
>    I am seeing this from opensips logs WARNING:presence:p_tm_callback: 
> completed with status [481] and to_tag 
> [688612044cccea408f6da88d48100390-629d], cseq [CSeq: 1] Does anyone 
> have any idea why ?
>
> On Wed, Jan 25, 2017 at 6:30 PM, Tito Cumpen <tito at xsvoce.com 
> <mailto:tito at xsvoce.com>> wrote:
>
>     Group,
>
>     I am having issues handling the removal of subscriptions in
>     presence. I am using opensips 2.2.2 git revision b0fbe60. My UA is
>     sending subscription with an expire 0 and opensips responds with
>     200 ok like this
>     SIP/2.0 200 OK
>     Via: SIP/2.0/WSS
>     192.0.2.67;received=xx.xx.xxx.xx;rport=49679;branch=z9hG4bK4495443
>     To: <sip:uil5297 at domain.org
>     <mailto:sip%3Auil5297 at domain.org>>;tag=688612044cccea408f6da88d48100390-629d
>     From: "Dave Drummond, MD" <sip:ddrummond.blah at domain.org
>     <mailto:sip%3Addrummond.blah at domain.org>>;tag=j58ltmkvo3
>     Call-ID: 2oc1fhb8h11j4qupkd4n
>     CSeq: 4305 SUBSCRIBE
>     Expires: 0
>     Contact: <sip:serveriphere:5060;transport=wss>
>     Server: domain.org <http://domain.org>
>     Content-Length: 0
>
>     opensips continues to send notifies on reference to address th
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170126/4f229c00/attachment.html>


More information about the Users mailing list