[OpenSIPS-Devel] [ opensips-Bugs-2788937 ] presence: Wrong Subscription-State "expires" value in NOTIFY
SourceForge.net
noreply at sourceforge.net
Fri May 8 13:57:19 CEST 2009
Bugs item #2788937, was opened at 2009-05-08 13:57
Message generated for change (Tracker Item Submitted) made by ibc_sf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2788937&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: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz Castillo (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: presence: Wrong Subscription-State "expires" value in NOTIFY
Initial Comment:
OpenSIPS "presence" module is generating really wrong "expires" values in "Subscription-State" header of NOTIFY. This causes the subscriber thinking that the subscription lives for long time (due to the exagerate high value of "expires" parameter) but the fact is that the subscriber dissapears from "active-watchers" table and leaves getting notifications.
I just use (these are really low values for testing, but the issue also occurs with higher values):
------------
modparam("presence", "max_expires_publish", 50)
modparam("presence", "max_expires_subscribe", 20)
modparam("presence", "expires_offset", 5)
modparam("presence", "fallback2db", 1)
------------
I attach a capture. Note in line 376 how the "Subscription-State" has a "cool" value:
Subscription-State: active;expires=4294967285 <---- !!!!!!!!!!!!!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2788937&group_id=232389
More information about the Devel
mailing list