Changes between Initial Version and Version 3 of Ticket #1161


Ignore:
Timestamp:
Mar 18, 2011 3:57:42 AM (13 years ago)
Author:
bennylp
Comment:

Title and description changed. Related to this, see also #1217

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1161

    • Property Summary changed from Support for custom presence message body with existing PJSUA-LIB buddy management to Support for adding custom headers in presence subscription requests
    • Property Milestone changed from Known-Issues-and-Ideas to release-1.10
  • Ticket #1161 – Description

    initial v3  
    1 PJSUA-LIB presence management simplifies SUBSCRIBE/NOTIFY mechanism a lot such that there have been some requests to enable application to use custom presence message body (i.e. not PIDF) using the framework. 
     1Add support in PJSIP and PJSUA-LIB to allow applications to add custom headers in presence subscription requests.  
    22 
    3 The new {{{on_buddy_evsub_state()}}} callback has enabled application to process the custom body in incoming NOTIFY requests. Similar feature to allow application to put custom body in outgoing NOTIFY and PUBLISH requests would be required, as well as the ability to specify other event properties such as package name and Accept list. 
    4  
    5 Thanks Johan Lantz for the suggestion. 
     3In PJSUA-LIB, this will be implemented with this new field in {{{pjsua_acc_config}}}: 
     4 {{{ 
     5pjsip_hdr       sub_hdr_list;  
     6 }}}