[OpenSIPS-Devel] SF.net SVN: opensips:[7478] branches/1.6

Ovidiu Sas osas at voipembedded.com
Tue Dec 7 16:03:44 CET 2010


Revision: 7478
          http://opensips.svn.sourceforge.net/opensips/?rev=7478&view=rev
Author:   osas
Date:     2010-12-07 15:03:44 +0000 (Tue, 07 Dec 2010)

Log Message:
-----------
backport: Revision 7319 7327 7329 7330 7331

presence: support for extra headers in NOTIFY
 - extra headers received in PUBLISH requests can be
stored and sent to the subscrber via NOTIFY requests

presence: new 'mandatory_body' flag
 - distinguish between presence events that requires or not a body

presence: save the new 'mandatory_body' flag

presence: the list of extra headers is provided by each event
          during the event registration process
 - the list of headers must be provided as a <null> terminated list
 - example:
str extra_hdrs[] = {
        str_init("Extra_header_1"),
        str_init("Extra_header_2"),
        {NULL,0},
};

presence: new callback: build_empty_pres_info
 - build_empty_pres_info callback allows a module
to provide specific dummy information for a
specific event when no information is available
in the presentity table.

Revision Links:
--------------
    http://opensips.svn.sourceforge.net/opensips/?rev=7319&view=rev

Modified Paths:
--------------
    branches/1.6/db/schema/pr_presentity.xml
    branches/1.6/modules/presence/event_list.c
    branches/1.6/modules/presence/event_list.h
    branches/1.6/modules/presence/notify.c
    branches/1.6/modules/presence/notify.h
    branches/1.6/modules/presence/presence.c
    branches/1.6/modules/presence/presentity.c
    branches/1.6/modules/presence/presentity.h
    branches/1.6/modules/presence/publish.c
    branches/1.6/modules/presence/subscribe.c
    branches/1.6/modules/presence_dialoginfo/add_events.c
    branches/1.6/modules/presence_dialoginfo/notify_body.c
    branches/1.6/modules/presence_dialoginfo/notify_body.h
    branches/1.6/modules/presence_mwi/add_events.c
    branches/1.6/modules/presence_xml/add_events.c
    branches/1.6/scripts/db_berkeley/opensips/presentity
    branches/1.6/scripts/db_berkeley/opensips/version
    branches/1.6/scripts/dbtext/opensips/presentity
    branches/1.6/scripts/dbtext/opensips/version
    branches/1.6/scripts/mysql/presence-create.sql
    branches/1.6/scripts/oracle/presence-create.sql
    branches/1.6/scripts/postgres/presence-create.sql


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