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.
Submitted By: Iñaki Baz Castillo (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: presence: Wrong Subscription-State "expires" value in NOTIFY
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):
>Comment By: Iñaki Baz Castillo (ibc_sf)
Date: 2009-05-08 15:50
Here there is a sequence of "Subscription-State" header value in NOTIFY's
generated by presence module. There are just two subscribers, one of them
uses "expires=600" and the other "expires=3600". "max_expire_subscribe" is
set to 3600 in OpenSIPS presence module.