default_expires
(integer)handle_subscription(domain)
default_expires
parameterhandle_subscription
usageThis module implements a presence server, i.e. entity that receives SUBSCRIBE messages and sends NOTIFY when presence status of a user changes. Currently the presence server can be connected to registrar and jabber module so SIP users can see presence of jabber users.
This module currently cannot work as a B2BUA, i.e. it cannot subscribe to presence of users using SIP. We are currently working on that feature.
The following modules must be loaded before this module:
No dependencies on other OpenSER modules.
The following libraries or applications must be installed before running OpenSER with this module loaded:
None.
default_expires
(integer)Default expires value to be used when the client doesn't supply one (in seconds).
Default value is "3600".
handle_subscription(domain)
This function processes SUBSCRIBE and generates NOTIFY.
Meaning of the parameters is as follows:
domain - This can be either "registrar" or "jabber".
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
Take a look at http://openser.org/.
First at all check if your question was already answered on one of our mailing lists:
User Mailing List - http://openser.org/cgi-bin/mailman/listinfo/users
Developer Mailing List - http://openser.org/cgi-bin/mailman/listinfo/devel
E-mails regarding any stable OpenSER release should be sent to
<users@openser.org>
and e-mails regarding development versions
should be sent to <devel@openser.org>
.
If you want to keep the mail private, send it to
<team@openser.org>
.
Please follow the guidelines provided at: http://sourceforge.net/tracker/?group_id=139143.