Ignore:
Timestamp:
Aug 5, 2009 6:41:23 PM (15 years ago)
Author:
nanang
Message:

Ticket #930:

  • Updated semantic of contact param in functions pjsip_dlg_create_uac(), pjsip_dlg_create_uas(), pjsip_endpt_create_request() and also variable pjsua_acc.contact to be Contact header value (was Contact URI).
  • Updated docs related to above modifications.
  • Fixed pjsua_im_send() in generating contact header, it should use pjsua_acc.contact instead, if it is set.
File:
1 edited

Legend:

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

    r2852 r2855  
    21642164 
    21652165/** 
    2166  * Create a suitable URI to be put as Contact based on the specified 
    2167  * target URI for the specified account. 
     2166 * Create a suitable Contact header value, based on the specified target URI  
     2167 * for the specified account. 
    21682168 * 
    21692169 * @param pool          Pool to allocate memory for the string. 
    2170  * @param contact       The string where the Contact URI will be stored. 
     2170 * @param contact       The string where the Contact will be stored. 
    21712171 * @param acc_id        Account ID. 
    21722172 * @param uri           Destination URI of the request. 
     
    21822182 
    21832183/** 
    2184  * Create a suitable URI to be put as Contact based on the information 
    2185  * in the incoming request. 
     2184 * Create a suitable Contact header value, based on the information in the  
     2185 * incoming request. 
    21862186 * 
    21872187 * @param pool          Pool to allocate memory for the string. 
    2188  * @param contact       The string where the Contact URI will be stored. 
     2188 * @param contact       The string where the Contact will be stored. 
    21892189 * @param acc_id        Account ID. 
    21902190 * @param rdata         Incoming request. 
Note: See TracChangeset for help on using the changeset viewer.