Changeset 3867


Ignore:
Timestamp:
Oct 27, 2011 9:02:36 AM (13 years ago)
Author:
ming
Message:

Fixed #1341: Handle pjsua_acc_config's newly added fields in pjsua_acc_modify()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_acc.c

    r3829 r3867  
    853853#endif 
    854854 
     855    /* Use of proxy */ 
     856    if (acc->cfg.reg_use_proxy != cfg->reg_use_proxy) { 
     857        acc->cfg.reg_use_proxy = cfg->reg_use_proxy; 
     858        update_reg = PJ_TRUE; 
     859    } 
     860 
    855861    /* Global outbound proxy */ 
    856862    if (global_route_crc != acc->global_route_crc) { 
     
    963969    acc->cfg.reg_first_retry_interval = cfg->reg_first_retry_interval; 
    964970    acc->cfg.drop_calls_on_reg_fail = cfg->drop_calls_on_reg_fail; 
     971    acc->cfg.register_on_acc_add = cfg->register_on_acc_add; 
    965972    if (acc->cfg.reg_delay_before_refresh != cfg->reg_delay_before_refresh) { 
    966973        acc->cfg.reg_delay_before_refresh = cfg->reg_delay_before_refresh; 
     
    10141021        } 
    10151022    } 
     1023 
     1024    /* Call hold type */ 
     1025    acc->cfg.call_hold_type = cfg->call_hold_type; 
    10161026 
    10171027on_return: 
Note: See TracChangeset for help on using the changeset viewer.