Do not tread ACK event if call has been terminated

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2012-05-15 14:34:58 +02:00
parent 7fcaf449af
commit c9f89e6aa3

View file

@ -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);