[OpenSIPS-Devel] [RFC] Patch for fixing PIDF aggregation

Olle E. Johansson oej at edvina.net
Wed Apr 25 11:46:13 CEST 2012


25 apr 2012 kl. 11:30 skrev Saúl Ibarra Corretgé:

> Hi all,
> 
> While working with the presence modules I discovered some issues for which I created a patch (https://sourceforge.net/tracker/?func=detail&aid=3521295&group_id=232389&atid=1086410) since the diff is quite big I'll elaborate on the issues and fixes in this email.
> 
> 
> * Ability to turn off offline PIDF generation
> 
> The presence_xml module will automatically generate a PIDF with basic status set as "closed" by building a new PIDF out of partial information taken from the previously stored PIDF in case a PUBLISH with Expires: 0 is received.
> 
> This might not always be the desired behavior, so I added a new modparam, 'generate_offline_body' (defaults to enabled, thus maintaining backwards compatibility) which will disable automatic offline PIDF generation if set to 0.

Does OpenSIPS support me creating an offline PIDF status? Like "If I'm not connected, then use the status 'Possibly flying somewhere' "

If so, will this just turn off automatic generation if I have no offline stored status or will it turn off all offline statuses?

/O


More information about the Devel mailing list