[asterisk-commits] oej: trunk r47252 - in /trunk: ./
channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Nov 7 06:26:31 MST 2006
Author: oej
Date: Tue Nov 7 07:26:31 2006
New Revision: 47252
URL: http://svn.digium.com/view/asterisk?rev=47252&view=rev
Log:
issue #8265 - don't reply to ACK. Imported from 1.2, 1.4
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-blocked' - no diff available.
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
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=47252&r1=47251&r2=47252&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Nov 7 07:26:31 2006
@@ -4399,10 +4399,10 @@
transmit_response_using_temp(callid, sin, 1, intended_method, req, "501 Method Not Implemented");
if (option_debug > 1 )
ast_log(LOG_DEBUG, "Got a request with unsupported SIP method.\n");
- } else if (intended_method != SIP_RESPONSE) {
+ } else if (intended_method != SIP_RESPONSE && intended_method != SIP_ACK) {
/* This is a request outside of a dialog that we don't know about */
transmit_response_using_temp(callid, sin, 1, intended_method, req, "481 Call leg/transaction does not exist");
- if (option_debug > 1 && intended_method == SIP_RESPONSE)
+ if (option_debug > 1)
ast_log(LOG_DEBUG, "That's odd... Got a request in unknown dialog. Callid %s\n", callid ? callid : "<unknown>");
}
/* We do not respond to responses for dialogs that we don't know about, we just drop
More information about the asterisk-commits
mailing list