diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index dbf8ab47b..200304a8b 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1178,7 +1178,9 @@ LinphoneCall * linphone_call_new_incoming(LinphoneCore *lc, LinphoneAddress *fro sal_op_cnx_ip_to_0000_if_sendonly_enable(op,lp_config_get_default_int(lc->config,"sip","cnx_ip_to_0000_if_sendonly_enabled",0)); md = sal_call_get_remote_media_description(op); - linphone_call_compute_streams_indexes(call, md); + if (md) { + linphone_call_compute_streams_indexes(call, md); + } if (lc->sip_conf.ping_with_options){ #ifdef BUILD_UPNP