]> sjero.net Git - linphone/blobdiff - coreapi/callbacks.c
Set external port equal to local port the first time
[linphone] / coreapi / callbacks.c
index 4eec5be3d1d30df77e3dcd40b66cda37d6df3c6c..3a21e5a6d5fb4aa1e1c8fcdde3cf0db2efaef987 100644 (file)
@@ -432,7 +432,7 @@ static void call_accept_update(LinphoneCore *lc, LinphoneCall *call){
                linphone_core_update_upnp_from_remote_media_description(call, rmd);
                linphone_core_update_local_media_description_from_upnp(call->localdesc,call->upnp_session);
        }
-#endif
+#endif //BUILD_UPNP
        sal_call_accept(call->op);
        md=sal_call_get_final_media_description(call->op);
        if (md && !sal_media_description_empty(md))