mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
give a chance to update contact address during re-INVITEs
This commit is contained in:
parent
f55699af8e
commit
31b25e9f98
1 changed files with 4 additions and 0 deletions
|
|
@ -2887,6 +2887,10 @@ int linphone_core_start_update_call(LinphoneCore *lc, LinphoneCall *call){
|
|||
if (lc->vtable.display_status)
|
||||
lc->vtable.display_status(lc,_("Modifying call parameters..."));
|
||||
sal_call_set_local_media_description (call->op,call->localdesc);
|
||||
if (call->dest_proxy && call->dest_proxy->op && sal_op_get_contact(call->dest_proxy->op)){
|
||||
/*give a chance to update the contact address if connectivity has changed*/
|
||||
sal_op_set_contact(call->op,sal_op_get_contact(call->dest_proxy->op));
|
||||
}
|
||||
return sal_call_update(call->op,subject);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue