[asterisk-commits] oej: branch oej/teapot-1.8 r389340 - /team/oej/teapot-1.8/channels/sip/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 21 07:53:17 CDT 2013


Author: oej
Date: Tue May 21 07:53:14 2013
New Revision: 389340

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389340
Log:
Fixing crash

Modified:
    team/oej/teapot-1.8/channels/sip/sip2cause.c

Modified: team/oej/teapot-1.8/channels/sip/sip2cause.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/channels/sip/sip2cause.c?view=diff&rev=389340&r1=389339&r2=389340
==============================================================================
--- team/oej/teapot-1.8/channels/sip/sip2cause.c (original)
+++ team/oej/teapot-1.8/channels/sip/sip2cause.c Tue May 21 07:53:14 2013
@@ -183,7 +183,7 @@
 		/* 6xx - global errors in the 4xx class */
 		return AST_CAUSE_INTERWORKING;
 	}
-	ast_debug(4, "SIP2CAUSE returning default %d (%s) based on SIP code %d\n", s2c->cause, ast_cause2str(s2c->cause), sipcode);
+	ast_debug(4, "SIP2CAUSE returning default %d (%s) based on SIP code %d\n", AST_CAUSE_NORMAL, ast_cause2str( AST_CAUSE_NORMAL), sipcode);
 	return AST_CAUSE_NORMAL;
 }
 




More information about the asterisk-commits mailing list