Ignore:
Timestamp:
Oct 1, 2010 12:24:23 AM (12 years ago)
Author:
bennylp
Message:

Closed #1141: Compile and run-time setting to allow printing of port number in URI in To and From header (thanks Marcus Froeschl for the suggestion)

File:
1 edited

Legend:

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

    r3182 r3329  
    6969typedef struct pjsip_cfg_t 
    7070{ 
     71    /** Global settings. */ 
     72    struct { 
     73        /** 
     74         * Specify port number should be allowed to appear in To and From 
     75         * header. Note that RFC 3261 disallow this, see Table 1 in section 
     76         * 19.1.1 of the RFC. Default is PJSIP_ALLOW_PORT_IN_FROMTO_HDR. 
     77         */ 
     78        pj_bool_t allow_port_in_fromto_hdr; 
     79 
     80    } endpt; 
     81 
    7182    /** Transaction layer settings. */ 
    7283    struct { 
     
    362373 
    363374/** 
     375 * Specify port number should be allowed to appear in To and From 
     376 * header. Note that RFC 3261 disallow this, see Table 1 in section 
     377 * 19.1.1 of the RFC. This setting can also be altered at run-time 
     378 * via pjsip_cfg setting, see pjsip_cfg_t.allow_port_in_fromto_hdr 
     379 * field. 
     380 * 
     381 * Default: 0 
     382 */ 
     383#ifndef PJSIP_ALLOW_PORT_IN_FROMTO_HDR 
     384#   define PJSIP_ALLOW_PORT_IN_FROMTO_HDR       0 
     385#endif 
     386 
     387/** 
    364388 * This macro controls maximum numbers of ioqueue events to be processed 
    365389 * in a single pjsip_endpt_handle_events() poll. When PJSIP detects that 
Note: See TracChangeset for help on using the changeset viewer.