This module provides an XCAP server functionally inside Kamailio and SER SIP servers. Benefits brought by this integrated XCAP server: * reuse of SIP router transport layer - XCAP documents can be sent via SIP (UDP, TCP, TLS and SCTP) and via HTTP (TCP or TLS (HTTPS)). For HTTP/S, you need to load XHTTP module to handle HTTP/S requests. * the Presence server has access immediately to the latest version of XCAP documents. No more need to trigger refresh of XCAP documents via RPC command. * can be used stand-alone, with a different Presence server. It is not specific for Kamailio or SER. Documents can be fetched via GET * no exotic dependencies, it is written in C. It depends on libxml2, sl module and a database module (required to store the xcap documents). * you can do digest authentication using database, radius, ldap, etc. Can reuse authorization mechanisms provided by SIP server. * flexibility - the XCAP server is controlled from config file of SIP server, therefore you can blend the XCAP logic with features provided by core or other modules. Important: be sure you have global parameter: 'tcp_accept_no_cl=yes'.
| Parámetro | Tipo | Descripción |
|---|---|---|
| db_url | string | 3.2. xcap_table (string) 3.3. xcap_root (str) 3.4. buf_size (int) 3.5. xml_ns (str) 3.6. directory_scheme (int) 3.7. directory_hostname (string) |
| xcap_table | string | 3.3. xcap_root (str) 3.4. buf_size (int) 3.5. xml_ns (str) 3.6. directory_scheme (int) 3.7. directory_hostname (string) |
| xcap_root | str | 3.4. buf_size (int) 3.5. xml_ns (str) 3.6. directory_scheme (int) 3.7. directory_hostname (string) |
| buf_size | int | 3.5. xml_ns (str) 3.6. directory_scheme (int) 3.7. directory_hostname (string) |
| xml_ns | str | 3.6. directory_scheme (int) 3.7. directory_hostname (string) |
| directory_scheme | int | 3.7. directory_hostname (string) |
| directory_hostname | string | 3.1. db_url (string) |
| db_url | string | Database URL. |
| xcap_table | string | The name of table where to store the xcap documents. |
| xcap_root | str | XCAP root URL. |
| buf_size | int | Size of local buffer for handling XCAP documents. |
| xml_ns | str | Register extra XML namespaces to be used with XPath. You can set the parameter many times to add more namespaces. The format is 'prefix=href'. |
| directory_scheme | int | Allows the scheme used in org.openmobilealliance.xcap-directory listings to be set to a specific value. |
| directory_hostname | string | Allows the hostname (and port) used in org.openmobilealliance.xcap-directory listings to be set to a specific value. |
4.2. xcaps_get(uri, path) 4.3. xcaps_del(uri, path)
4.3. xcaps_del(uri, path)
4.1. xcaps_put(uri, path, doc)
Handle XCAP PUT command.
Handle XCAP GET command.
Handle XCAP DELETE command.
Copyright © 2010 asipto.com