Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
presence:presence-module [2006/10/22 10:25] – 86.121.131.153 | presence:presence-module [2012/03/22 12:20] (current) – old revision restored 80.250.1.245 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Kamailio (OpenSER)' | ||
+ | |||
+ | ===== Kamailio 3.1.x ===== | ||
+ | |||
+ | **There is a complete tutorial for SIP SIMPLE presence using the embedded XCAP server, newly added in Kamailio 3.1.x:** | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | ===== Kamailio 1.5.x or 3.0.x ===== | ||
+ | |||
+ | **Kamailio (OpenSER) 1.5.x and Kamailio (OpenSER) 3.0.x include in the default config what is needed to have a | ||
+ | SIMPLE presence server - to enable it you have to:** | ||
+ | |||
+ | * **in 1.5.x: run a sed command over cfg file** | ||
+ | * **in 3.0.x: edit cfg file and define WITH_PRESENCE** | ||
+ | |||
+ | **Read the top of config file for instructions.** | ||
+ | |||
+ | |||
+ | ===== Kamailio (OpenSER 1.3)'s Presence Module ===== | ||
+ | |||
+ | __**Presence Diagram**__ (click to enlarge) | ||
+ | |||
+ | - **PRESENCE module**- a general, event package independent Subscribe, Publish handler – Notify generator according to RFCs 3265 and 3903 | ||
+ | - **PRESENCE_XML** and **PRESENCE_MWI** modules- clients for PRESENCE module; register specific events to be handled by PRESENCE module: | ||
+ | * presence_xml: | ||
+ | * presence_mwi: | ||
+ | - **XCAP_CLIENT module**- | ||
+ | |||
+ | |||
+ | __Presence_xml and xcap_client interaction(when integrated_xcap_client parameter is not set)__ | ||
+ | |||
+ | Presence_xml module assumes that in the database table ' | ||
+ | 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**: | ||
+ | - // | ||
+ | * **force_active**: | ||
+ | * **integrated_xcap_server**: | ||
+ | - // | ||
+ | * **periodical_query**: | ||
+ | |||
+ | |||
+ | ===== Kamailio (OpenSER) 1.2's Presence Module ===== | ||
+ | |||
+ | This is a new implementation of a Presence Server for [[http:// | ||
+ | |||
+ | The source code is now in CVS, you can browse online the readme file for module at [[http:// | ||
+ | |||
+ | Sample configuration files are provided in " | ||
+ | |||
+ | **[[presence: | ||
+ | |||
+ | **[[presence: | ||
+ | |||
+ | **[[presence: | ||
+ | |||
+ | **[[http:// | ||
+ | |||
+ | This is a new development, | ||
+ | |||
+ | This site should collect user's experience to make the deployment of new Presence Server easier. | ||
+ | |||
+ | At this moment it works only in DB mode, there is no caching, all data is stored in database. | ||
+ | |||
+ | **[[presence: | ||
+ | |||
+ | **[[presence: | ||
+ | |||
+ | ===== ChangeLog ===== | ||
+ | |||
+ | 2006-10-13: renamed module parameters in sl and presence to ' | ||
+ | the source code has been imported in the CVS | ||
+ | | ||
+ | 2006-09-26: - new column in ' | ||
+ | to be able to overcome problems with broken clients which send PUBLISH refresh without | ||
+ | SIP-Etag header. | ||
+ | - you have to recreate ' | ||
+ | | ||
+ | 2006-09-24: Initial release | ||
+ | |||
+ | ===== Presence-Related Stuff ===== | ||
+ | |||
+ | {{indexmenu> | ||