Commit 31b25e9f authored by Simon Morlat's avatar Simon Morlat
Browse files

give a chance to update contact address during re-INVITEs

parent f55699af
...@@ -2887,6 +2887,10 @@ int linphone_core_start_update_call(LinphoneCore *lc, LinphoneCall *call){ ...@@ -2887,6 +2887,10 @@ int linphone_core_start_update_call(LinphoneCore *lc, LinphoneCall *call){
if (lc->vtable.display_status) if (lc->vtable.display_status)
lc->vtable.display_status(lc,_("Modifying call parameters...")); lc->vtable.display_status(lc,_("Modifying call parameters..."));
sal_call_set_local_media_description (call->op,call->localdesc); 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*/
return sal_call_update(call->op,subject); return sal_call_update(call->op,subject);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment