Thu Aug 14 11:22:16 EDT 2008 Pekka Pessi <first.last@nokia.com>

* 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
This commit is contained in:
Michael Jerris 2008-08-14 16:02:45 +00:00
parent 4e9fe267ec
commit 642ad50e83
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
Thu Aug 14 12:01:19 EDT 2008
Thu Aug 14 12:02:14 EDT 2008

View File

@ -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 */