[asterisk-commits] oej: branch 1.4 r46389 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Oct 28 13:25:18 MST 2006


Author: oej
Date: Sat Oct 28 15:25:18 2006
New Revision: 46389

URL: http://svn.digium.com/view/asterisk?rev=46389&view=rev
Log:
Accepting a message twice may be misinterpreted...

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?rev=46389&r1=46388&r2=46389&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Sat Oct 28 15:25:18 2006
@@ -13876,8 +13876,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