[asterisk-commits] oej: trunk r46390 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Oct 28 13:27:22 MST 2006


Author: oej
Date: Sat Oct 28 15:27:21 2006
New Revision: 46390

URL: http://svn.digium.com/view/asterisk?rev=46390&view=rev
Log:
Only accept message once

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=46390&r1=46389&r2=46390&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sat Oct 28 15:27:21 2006
@@ -14060,8 +14060,8 @@
 		if (ast_test_flag(req, SIP_PKT_DEBUG))
 			ast_verbose("Receiving message!\n");
 		receive_message(p, req);
-	} 
-	transmit_response(p, "202 Accepted", req);
+	} else
+		transmit_response(p, "202 Accepted", req);
 	return 1;
 }
 



More information about the asterisk-commits mailing list