Ignore:
Timestamp:
Aug 15, 2006 8:26:34 PM (18 years ago)
Author:
bennylp
Message:

Support for PUBLISH (RFC 3903):

  • API BREAK: pjsua_pres_create_uac() API CHANGED!! Added options in the function, to allow creating SUBSCRIBE without ";id=" parameter in the Event header.
  • the generic event publication in pjsip-simple/publish.[hc]
  • split PIDF and X-PIDF body generation and parsing into pjsip-simple/presence_body.c.
  • allow NULL in module parameter in pjsip_endpt_add_capability()
  • added "--publish" option in PJSUA.
  • by default, PJSUA-LIB will not add ";id=" parameter in Event header in the SUBSCRIBE request since lots of server and user agents don't support this correctly.
  • Set version to 0.5.7.6.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r683 r685  
    10041004 
    10051005/** 
     1006 * Default PUBLISH expiration 
     1007 */ 
     1008#ifndef PJSUA_PUBLISH_EXPIRATION 
     1009#   define PJSUA_PUBLISH_EXPIRATION 600 
     1010#endif 
     1011 
     1012 
     1013/** 
    10061014 * Account configuration. 
    10071015 */ 
     
    10241032     */ 
    10251033    pj_str_t        reg_uri; 
     1034 
     1035    /** 
     1036     * Publish presence? 
     1037     */ 
     1038    pj_bool_t       publish_enabled; 
    10261039 
    10271040    /**  
Note: See TracChangeset for help on using the changeset viewer.