Ignore:
Timestamp:
Jun 25, 2018 2:58:18 AM (12 months ago)
Author:
nanang
Message:

Close #2123: Follow SDP answer changes in 18x & 2xx responses on non-forking scenario.

File:
1 edited

Legend:

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

    r5716 r5812  
    171171        pj_bool_t use_compact_form; 
    172172 
     173        /** 
     174         * Accept multiple SDP answers on non-reliable 18X responses and the 2XX 
     175         * response when they are all received from the same source (same To tag). 
     176         * 
     177         * See also: 
     178         * https://tools.ietf.org/html/rfc6337#section-3.1.1 
     179         * 
     180         * Default is PJSIP_ACCEPT_MULTIPLE_SDP_ANSWERS. 
     181         */ 
     182        pj_bool_t accept_multiple_sdp_answers; 
     183 
    173184    } endpt; 
    174185 
     
    417428 
    418429/** 
     430 * Accept multiple SDP answers on non-reliable 18X responses and the 2XX 
     431 * response when they are all received from the same source (same To tag). 
     432 * 
     433 * This option can also be controlled at run-time by the 
     434 * \a accept_multiple_sdp_answers setting in pjsip_cfg_t. 
     435 * 
     436 * Default is PJ_FALSE. 
     437 */ 
     438#ifndef PJSIP_ACCEPT_MULTIPLE_SDP_ANSWERS 
     439#   define PJSIP_ACCEPT_MULTIPLE_SDP_ANSWERS        PJ_TRUE 
     440#endif 
     441 
     442 
     443/** 
    419444 * Specify whether "alias" param should be added to the Via header 
    420445 * in any outgoing request with connection oriented transport. 
Note: See TracChangeset for help on using the changeset viewer.