Ignore:
Timestamp:
Aug 24, 2007 8:28:52 AM (17 years ago)
Author:
bennylp
Message:

Ticket #365: ability to override generated ttuple ID in PIDF message body (thanks Babon Frederic)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c

    r1417 r1423  
    554554    pres_status.info_cnt = 1; 
    555555    pres_status.info[0].basic_open = pjsua_var.acc[acc_id].online_status; 
     556    pres_status.info[0].id = pjsua_var.acc[acc_id].cfg.pidf_tuple_id; 
    556557    //Both pjsua_var.local_uri and pjsua_var.contact_uri are enclosed in "<" and ">" 
    557558    //causing XML parsing to fail. 
     
    651652        pres_status.info_cnt = 1; 
    652653        pres_status.info[0].basic_open = acc->online_status; 
     654        pres_status.info[0].id = acc->cfg.pidf_tuple_id; 
    653655 
    654656        /* Be careful not to send PIDF with presence entity ID containing 
Note: See TracChangeset for help on using the changeset viewer.