Changeset 4040 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
- Timestamp:
- Apr 12, 2012 8:10:06 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/1.x merged: 4039
- Property svn:mergeinfo changed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4038 r4040 422 422 } 423 423 424 /* Get CRC of account proxy setting */425 acc->local_route_crc = calc_proxy_crc(acc->cfg.proxy, acc->cfg.proxy_cnt);426 427 /* Get CRC of global outbound proxy setting */428 acc->global_route_crc=calc_proxy_crc(pjsua_var.ua_cfg.outbound_proxy,429 pjsua_var.ua_cfg.outbound_proxy_cnt);430 431 424 /* Check the route URI's and force loose route if required */ 432 425 for (i=0; i<acc->cfg.proxy_cnt; ++i) { … … 438 431 } 439 432 } 433 434 /* Get CRC of account proxy setting */ 435 acc->local_route_crc = calc_proxy_crc(acc->cfg.proxy, acc->cfg.proxy_cnt); 436 437 /* Get CRC of global outbound proxy setting */ 438 acc->global_route_crc=calc_proxy_crc(pjsua_var.ua_cfg.outbound_proxy, 439 pjsua_var.ua_cfg.outbound_proxy_cnt); 440 440 441 441 status = initialize_acc(id); … … 773 773 pj_list_push_back(&local_route, r); 774 774 } 775 776 /* Recalculate the CRC again after route URI normalization */ 777 local_route_crc = calc_proxy_crc(acc_proxy, cfg->proxy_cnt); 775 778 } 776 779
Note: See TracChangeset
for help on using the changeset viewer.