diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index a158993..6ebacac 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1548,7 +1548,9 @@ void linphone_core_iterate(LinphoneCore *lc){ ms_message("incoming call ringing for %i seconds",elapsed); if (elapsed>lc->sip_conf.inc_timeout){ call->log->status=LinphoneCallMissed; + the_call = the_call->next; //it goes to next one because the current one will not exists anymore after the terminate linphone_core_terminate_call(lc,call); + continue; //else it will goes to next call without treating the new one } } diff --git a/coreapi/sal_eXosip2.c b/coreapi/sal_eXosip2.c index 32bd677..b25ac3b 100644 --- a/coreapi/sal_eXosip2.c +++ b/coreapi/sal_eXosip2.c @@ -885,8 +885,9 @@ static void call_accepted(Sal *sal, eXosip_event_t *ev){ _osip_list_set_empty(&msg->contacts,(void (*)(void*))osip_contact_free); osip_message_set_contact(msg,contact); } - if (op->sdp_answer) - set_sdp(msg,op->sdp_answer); +// never add SDP offer into a ACK SIP message +// if (op->sdp_answer) +// set_sdp(msg,op->sdp_answer); eXosip_call_send_ack(ev->did,msg); sal->callbacks.call_accepted(op); }