From 642ad50e83dc6729e1ad4780cd1446ec5edc8081 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 14 Aug 2008 16:02:45 +0000 Subject: [PATCH] Thu Aug 14 11:22:16 EDT 2008 Pekka Pessi * outgoing_complete(): avoid assert if completing already completed request git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9292 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/nta/nta.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index cd506e27ba..0827a87a56 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Thu Aug 14 12:01:19 EDT 2008 +Thu Aug 14 12:02:14 EDT 2008 diff --git a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c index d074fc9db3..e5ebdcf00c 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c +++ b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c @@ -8261,7 +8261,8 @@ int outgoing_complete(nta_outgoing_t *orq) return outgoing_terminate(orq); if (orq->orq_method == sip_method_invite) { - outgoing_queue(orq->orq_agent->sa_out.inv_completed, orq); /* Timer D */ + if (orq->orq_queue != orq->orq_agent->sa_out.inv_completed) + outgoing_queue(orq->orq_agent->sa_out.inv_completed, orq); /* Timer D */ } else { outgoing_queue(orq->orq_agent->sa_out.completed, orq); /* Timer K */