[OpenSIPS-Devel] SF.net SVN: opensips:[9544] trunk/modules
saghul at users.sourceforge.net
saghul at users.sourceforge.net
Thu Jan 10 17:02:44 CET 2013
Revision: 9544
http://opensips.svn.sourceforge.net/opensips/?rev=9544&view=rev
Author: saghul
Date: 2013-01-10 16:02:44 +0000 (Thu, 10 Jan 2013)
Log Message:
-----------
Added external references support to pres-rules
This adds support for external references to pres-rules documents
following the OMA specification. In order to achieve this, a few changes
were made in the presence handling:
- The 'pres_rules_auid' module parameter (in presence_xml) controls
what mode OpenSIPS operates on: IETF or OMA. Right now this is a
global setting since the 2 offer different ways for authorization
and are stored in different XCAP documents.
- Matching of sub-handling is now done according to the RFC, that
is, a sub-handling action of block has less priority than that of
allow. For reference, check RFC5025, section 3.2.1.
Following external references is currently supported only for the
integrated mode.
In order to simplify the implemntation, some common code related to XCAP
handling has been added to the 'xcap' module:
- A way for normalizing SIP URIs. A SIP URI may appear encoded or
without the SIP scheme inside an XCAP document. The xcap module
now provides a function to normalize such URIs.
- A way for getting XCAP documents from the DB. The xcap module now
contains a generic function which will fetch any XCAP document
from the DB.
A TODO file was also added to the xcap module listing future
enhancements to be done to the XCAP related modules.
Modified Paths:
--------------
trunk/modules/presence_xml/notify_body.c
trunk/modules/presence_xml/presence_xml.c
trunk/modules/presence_xml/presence_xml.h
trunk/modules/presence_xml/xcap_auth.c
trunk/modules/presence_xml/xcap_auth.h
trunk/modules/rls/notify.c
trunk/modules/rls/rls.c
trunk/modules/rls/rls.h
trunk/modules/rls/subscribe.c
trunk/modules/xcap/api.c
trunk/modules/xcap/api.h
trunk/modules/xcap/doc/xcap_devel.xml
trunk/modules/xcap/uri.c
trunk/modules/xcap/uri.h
trunk/modules/xcap/xcap_mod.c
trunk/modules/xcap/xcap_mod.h
trunk/modules/xcap_client/doc/xcap_client_devel.xml
trunk/modules/xcap_client/xcap_callbacks.h
trunk/modules/xcap_client/xcap_client.c
trunk/modules/xcap_client/xcap_client.h
Added Paths:
-----------
trunk/modules/xcap/TODO
trunk/modules/xcap/doc.c
trunk/modules/xcap/doc.h
trunk/modules/xcap/util.h
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list