[asterisk-commits] murf: branch 1.4 r141565 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 6 15:13:17 CDT 2008


Author: murf
Date: Sat Sep  6 15:13:16 2008
New Revision: 141565

URL: http://svn.digium.com/view/asterisk?view=rev&rev=141565
Log:
This fix comes from Joshua Colp The Brilliant, who, given the trace, came up with a solution. This will most likely will close 13235 and 13409. I'll wait till Monday to verify, and then close these bugs.

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=141565&r1=141564&r2=141565
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Sat Sep  6 15:13:16 2008
@@ -15164,6 +15164,8 @@
 	/* If we have an INCOMING invite that we haven't answered, terminate that transaction */
 	if (p->pendinginvite && !ast_test_flag(&p->flags[0], SIP_OUTGOING) && !ast_test_flag(req, SIP_PKT_IGNORE) && !p->owner) 
 		transmit_response_reliable(p, "487 Request Terminated", &p->initreq);
+
+	__sip_pretend_ack(p);
 
 	p->invitestate = INV_TERMINATED;
 




More information about the asterisk-commits mailing list