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/src/pjsua-lib/pjsua_acc.c

    r683 r685  
    9999    pjsip_name_addr *name_addr; 
    100100    pjsip_sip_uri *sip_uri, *sip_reg_uri; 
     101    pj_status_t status; 
    101102    unsigned i; 
    102103 
     
    221222    } 
    222223 
    223     /* Init presence subscription */ 
    224     pj_list_init(&acc->pres_srv_list); 
     224    status = pjsua_pres_init_acc(acc_id); 
     225    if (status != PJ_SUCCESS) 
     226        return status; 
     227 
    225228 
    226229    /* Mark account as valid */ 
Note: See TracChangeset for help on using the changeset viewer.