Changeset 4779 for pjproject


Ignore:
Timestamp:
Mar 6, 2014 1:00:11 AM (11 years ago)
Author:
ming
Message:

Re #1742 (misc): Fixed incorrect checking of require_100rel configuration

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c

    r4729 r4779  
    16461646 
    16471647    /* 100rel extension */ 
    1648     if (acc_cfg->require_100rel) { 
     1648    if (acc_cfg->require_100rel == PJSUA_100REL_MANDATORY) { 
    16491649        pj_strcat2(result, "--use-100rel\n"); 
    16501650    } 
     
    21562156    pj_strcat2(&cfg, "\n#\n# SIP extensions:\n#\n"); 
    21572157    /* 100rel extension */ 
    2158     if (config->cfg.require_100rel) { 
     2158    if (config->cfg.require_100rel == PJSUA_100REL_MANDATORY) { 
    21592159        pj_strcat2(&cfg, "--use-100rel\n"); 
    21602160    } 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r4750 r4779  
    421421    /* Create the INVITE session: */ 
    422422    options |= PJSIP_INV_SUPPORT_100REL; 
    423     if (acc->cfg.require_100rel) 
     423    if (acc->cfg.require_100rel == PJSUA_100REL_MANDATORY) 
    424424        options |= PJSIP_INV_REQUIRE_100REL; 
    425425    if (acc->cfg.use_timer != PJSUA_SIP_TIMER_INACTIVE) { 
Note: See TracChangeset for help on using the changeset viewer.