Presence_xml and xcap_client interaction(when integrated_xcap_client parameter is not set)

Presence_xml module assumes that in the database table 'xcap' there is always the newest version of an xcap document that he has previously sent a request for to xcap_client module. When a searched document is not found in the table, a request is sent to the xcap_client module, saying it to retrieve the document from the xcap server in future synchronize the version in the database table with that on the server.

Other configuration possibilities

The chart shows the interactions when no restrictions are imposed. There is however the possibility to configure the modules so that some connections are no longer needed or some other appear.

Presence module

fallback2db: the database is also queried for Subscribe dialog information, assuming that there might be others stored there besides the ones from the servers cache, when more servers share the same database.

Presence_xml module

force_active: the connection with xcap_client module disappears; no query for rules doc- all subscriptions are allowed.

integrated_xcap_server: again the connection with xcap_client module disappears; the module only queries the database table which should be filled by the xcap_server and if no record is found then supposes that it does not exist on the server.

Xcap_client

periodical_query: if this parameter is unset ( set to 0 ), then the connection from xcap_client to the XCAP server for query for updates disappears. In this case, the xcap_client module expects to receive a MI command from the server when an update occurs.

Kamailio (OpenSER) 1.2's Presence Module

This is a new implementation of a Presence Server for OpenSER. It is a new module named presence – to see details about it look at “Module exports” chapter.

ChangeLog

2006-10-13: renamed module parameters in sl and presence to 'totag_avpid'
the source code has been imported in the CVS
2006-09-26: - new column in 'presentity' table: 'received_time' allows to detect last PUBLISH request
to be able to overcome problems with broken clients which send PUBLISH refresh without
SIP-Etag header.
- you have to recreate 'presentity' table and download again the tarball of Kamailio (OpenSER).
2006-09-24: Initial release