From c9f89e6aa3e6be80a6e0139045eb92990ce487e2 Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 15 May 2012 14:34:58 +0200 Subject: [PATCH] Do not tread ACK event if call has been terminated --- coreapi/sal_eXosip2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coreapi/sal_eXosip2.c b/coreapi/sal_eXosip2.c index 6a4e2b284..d1cf241ab 100644 --- a/coreapi/sal_eXosip2.c +++ b/coreapi/sal_eXosip2.c @@ -1062,6 +1062,10 @@ static void handle_ack(Sal *sal, eXosip_event_t *ev){ ms_warning("ack for non-existing call !"); return; } + if (op->terminated) { + ms_warning("ack for terminated call, ignoring"); + return; + } if (op->sdp_offering){ sdp=eXosip_get_sdp_info(ev->ack);