Ignore:
Timestamp:
Nov 11, 2006 9:25:55 PM (18 years ago)
Author:
bennylp
Message:

Add pjsip_regc_add_headers() APi to set headers to be added
to the REGISTER request. This solves the problem where headers

registered in the initial REGISTER request (such as User-Agent
header) are not sent in subsequent reregistration request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-ua/sip_regc.h

    r515 r799  
    200200 
    201201/** 
     202 * Add headers to be added to outgoing REGISTER requests. 
     203 * 
     204 * @param regc      The client registration structure. 
     205 * @param hdr_list  List containing SIP headers to be added for all outgoing 
     206 *                  REGISTER requests. 
     207 * 
     208 * @return          PJ_SUCCESS on success. 
     209 */ 
     210PJ_DECL(pj_status_t) pjsip_regc_add_headers(pjsip_regc *regc, 
     211                                            const pjsip_hdr *hdr_list); 
     212 
     213 
     214/** 
    202215 * Create REGISTER request for the specified client registration structure. 
    203216 * 
Note: See TracChangeset for help on using the changeset viewer.