/*resume to the call that send us the refer automatically*/
linphone_core_resume_call(lc,call->referer);
}
+
+#ifdef BUILD_UPNP
+ linphone_call_delete_upnp_session(call);
+#endif //BUILD_UPNP
+
if (sr == SalReasonDeclined) {
call->reason=LinphoneReasonDeclined;
linphone_call_set_state(call,LinphoneCallEnd,"Call declined.");
if(port_bindings != NULL) {
for(port_bindings_item = port_bindings;port_bindings_item!=NULL;port_bindings_item=port_bindings_item->next) {
port_mapping = (UpnpPortBinding *)port_bindings_item->data;
+ //TODO: Don't send id it's udp/tcp/tls port binding
upnp_context_send_remove_port_binding(lc, port_mapping);
}
ms_list_for_each(port_bindings,(void (*)(void*))upnp_port_binding_release);
-Subproject commit 34de96d6b33f58b248f7d46e9c25edb11e6a5426
+Subproject commit f9e4fed0b113f04895ae24a4e40f618e156b3754