[asterisk-commits] rizzo: branch rizzo/astobj2 r47504 - /team/rizzo/astobj2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Nov 12 07:54:18 MST 2006


Author: rizzo
Date: Sun Nov 12 08:54:17 2006
New Revision: 47504

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47504
Log:
merge version 47468, Make sure we destroy dialog in case of loop


Modified:
    team/rizzo/astobj2/channels/chan_sip.c

Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=47504&r1=47503&r2=47504
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Sun Nov 12 08:54:17 2006
@@ -13412,7 +13412,7 @@
 		/* If pedantic is on, we need to check the tags. If they're different, this is
 	   	in fact a forked call through a SIP proxy somewhere. */
 		transmit_response(p, "482 Loop Detected", req);
-		/* We do NOT destroy p here, so that our response will be accepted */
+		sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
 		return 0;
 	}
 	



More information about the asterisk-commits mailing list