Ignore:
Timestamp:
Jun 26, 2007 8:23:18 AM (17 years ago)
Author:
bennylp
Message:

Ticket #342: added configuration to control whether Allow header should be included in outgoing INVITE requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r1389 r1390  
    159159 
    160160/** 
     161 * Send Allow header in dialog establishing requests? 
     162 * RFC 3261 Allow header SHOULD be included in dialog establishing 
     163 * requests to inform remote agent about which SIP requests are 
     164 * allowed within dialog. 
     165 * 
     166 * Note that there is also an undocumented variable defined in sip_dialog.c 
     167 * to control whether Allow header should be included. The default value  
     168 * of this variable is PJSIP_INCLUDE_ALLOW_HDR_IN_DLG. 
     169 * To change PJSIP behavior during run-time, application can use the  
     170 * following construct: 
     171 * 
     172 \verbatim 
     173   extern pj_bool_t pjsip_include_allow_hdr_in_dlg; 
     174  
     175   // do not transmit Allow header 
     176   pjsip_include_allow_hdr_in_dlg = PJ_FALSE; 
     177 \endverbatim 
     178 * 
     179 * Default is 1 (Yes) 
     180 */ 
     181#ifndef PJSIP_INCLUDE_ALLOW_HDR_IN_DLG 
     182#   define PJSIP_INCLUDE_ALLOW_HDR_IN_DLG       1 
     183#endif 
     184 
     185 
     186/** 
    161187 * Allow SIP modules removal or insertions during operation? 
    162188 * If yes, then locking will be employed when endpoint need to 
Note: See TracChangeset for help on using the changeset viewer.