[Asterisk-cvs] asterisk/apps app_dial.c,1.104,1.105

markster at lists.digium.com markster at lists.digium.com
Sun Nov 21 15:25:55 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv29972/apps

Modified Files:
	app_dial.c 
Log Message:
Display cause code for failure to get channel


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- app_dial.c	7 Nov 2004 21:49:43 -0000	1.104
+++ app_dial.c	21 Nov 2004 20:25:45 -0000	1.105
@@ -250,7 +250,7 @@
 					/* Setup parameters */
 					o->chan = ast_request(tech, in->nativeformats, stuff, &cause);
 					if (!o->chan) {
-						ast_log(LOG_NOTICE, "Unable to create local channel for call forward to '%s/%s'\n", tech, stuff);
+						ast_log(LOG_NOTICE, "Unable to create local channel for call forward to '%s/%s' (cause = %d)\n", tech, stuff, cause);
 						o->stillgoing = 0;
 						HANDLE_CAUSE(cause, in);
 					} else {




More information about the svn-commits mailing list