Changeset 1542


Ignore:
Timestamp:
Nov 3, 2007 9:29:52 AM (11 years ago)
Author:
bennylp
Message:

Changed Service-Route processing to append S-R to existing route set rather than overwriting them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r1536 r1542  
    611611    /* First remove all routes which are not the outbound proxies */ 
    612612    rcnt = pj_list_size(&acc->route_set); 
    613     if (rcnt != pjsua_var.ua_cfg.outbound_proxy_cnt) { 
    614         for (i=pjsua_var.ua_cfg.outbound_proxy_cnt, hr=acc->route_set.prev;  
     613    if (rcnt != pjsua_var.ua_cfg.outbound_proxy_cnt + acc->cfg.proxy_cnt) { 
     614        for (i=pjsua_var.ua_cfg.outbound_proxy_cnt + acc->cfg.proxy_cnt,  
     615                hr=acc->route_set.prev;  
    615616             i<rcnt;  
    616617             ++i) 
Note: See TracChangeset for help on using the changeset viewer.