Changeset 4039
- Timestamp:
- Apr 12, 2012 8:04:03 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_acc.c
r4037 r4039 416 416 } 417 417 418 /* Get CRC of account proxy setting */419 acc->local_route_crc = calc_proxy_crc(acc->cfg.proxy, acc->cfg.proxy_cnt);420 421 /* Get CRC of global outbound proxy setting */422 acc->global_route_crc=calc_proxy_crc(pjsua_var.ua_cfg.outbound_proxy,423 pjsua_var.ua_cfg.outbound_proxy_cnt);424 425 418 /* Check the route URI's and force loose route if required */ 426 419 for (i=0; i<acc->cfg.proxy_cnt; ++i) { … … 429 422 return status; 430 423 } 424 425 /* Get CRC of account proxy setting */ 426 acc->local_route_crc = calc_proxy_crc(acc->cfg.proxy, acc->cfg.proxy_cnt); 427 428 /* Get CRC of global outbound proxy setting */ 429 acc->global_route_crc=calc_proxy_crc(pjsua_var.ua_cfg.outbound_proxy, 430 pjsua_var.ua_cfg.outbound_proxy_cnt); 431 431 432 432 status = initialize_acc(id); … … 745 745 pj_list_push_back(&local_route, r); 746 746 } 747 748 /* Recalculate the CRC again after route URI normalization */ 749 local_route_crc = calc_proxy_crc(acc_proxy, cfg->proxy_cnt); 747 750 } 748 751
Note: See TracChangeset
for help on using the changeset viewer.