* 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
-Thu Aug 14 12:01:19 EDT 2008
+Thu Aug 14 12:02:14 EDT 2008
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 */