[OpenSIPS-Devel] [ opensips-Bugs-3140296 ] RLS does not handle expired sunscriptions correctly

SourceForge.net noreply at sourceforge.net
Sun Dec 19 14:05:07 CET 2010


Bugs item #3140296, was opened at 2010-12-19 13:05
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3140296&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: RLS does not handle expired sunscriptions correctly

Initial Comment:
When RLS subscriptions expire, instead of sending NOTIFY with Subscription status terminated Opensips sends a NOTIFY with a UNIX timestamp in the expires parameter:


T 2010/12/19 13:58:18.835717 127.0.0.1:36692 -> 127.0.0.1:3306 [AP]
5....delete from active_watchers where expires<1292763498
#
T 2010/12/19 13:58:18.836046 127.0.0.1:3306 -> 127.0.0.1:36692 [AP]
......."...
##
U 2010/12/19 13:58:18.836180 83.136.32.148:5050 -> 83.136.32.148:5060
NOTIFY sip:foobar at 83.136.32.148:5061 SIP/2.0.
Via: SIP/2.0/UDP 83.136.32.148:5050;branch=z9hG4bK8d0a.08731292.0.
To: <sip:rls-0002 at a1.net>;tag=1.
From: <sip:rls-0002 at a1.net>;tag=f07f619a8b8d90d39b5d35e56789f135-2a83.
CSeq: 2 NOTIFY.
Call-ID: 1-22712 at 83.136.32.148.
Route: <sip:83.136.32.148;lr=on>.
Content-Length: 0.
User-Agent: OpenSIPS (1.6.3-notls (i386/linux)).
Max-Forwards: 70.
Event: presence.
Contact: <sip:rls at 83.136.32.148:5050>.
Subscription-State: active;expires=1292763430.
Require: eventlist.
.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3140296&group_id=232389



More information about the Devel mailing list