[asterisk-commits] trunk r26716 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 11 00:25:04 MST 2006


Author: oej
Date: Thu May 11 02:25:03 2006
New Revision: 26716

URL: http://svn.digium.com/view/asterisk?rev=26716&view=rev
Log:
Issue #7081 (kanoop) - use proper cause code for 480

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=26716&r1=26715&r2=26716&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu May 11 02:25:03 2006
@@ -2541,7 +2541,7 @@
 		case 420:	/* Bad extension */
 			return AST_CAUSE_NO_ROUTE_DESTINATION;
 		case 480:	/* No answer */
-			return AST_CAUSE_FAILURE;
+			return AST_CAUSE_NO_ANSWER;
 		case 481:	/* No answer */
 			return AST_CAUSE_INTERWORKING;
 		case 482:	/* Loop detected */



More information about the asterisk-commits mailing list