Changeset 4173 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Jun 20, 2012 10:39:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4164 r4173 716 716 pjsip_dlg_inc_lock(dlg); 717 717 718 if (acc->cfg.allow_via_rewrite && acc->via_addr.host.slen > 0) 719 pjsip_dlg_set_via_sent_by(dlg, &acc->via_addr, acc->via_tp); 720 718 721 /* Calculate call's secure level */ 719 722 call->secure_level = get_secure_level(acc_id, dest_uri); … … 1169 1172 NULL, NULL); 1170 1173 goto on_return; 1174 } 1175 1176 if (pjsua_var.acc[acc_id].cfg.allow_via_rewrite && 1177 pjsua_var.acc[acc_id].via_addr.host.slen > 0) 1178 { 1179 pjsip_dlg_set_via_sent_by(dlg, &pjsua_var.acc[acc_id].via_addr, 1180 pjsua_var.acc[acc_id].via_tp); 1171 1181 } 1172 1182
Note: See TracChangeset
for help on using the changeset viewer.