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

markster at lists.digium.com markster at lists.digium.com
Sun Nov 21 15:27:31 CST 2004


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

Modified Files:
	app_dial.c 
Log Message:
Oops


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- app_dial.c	21 Nov 2004 20:25:45 -0000	1.105
+++ app_dial.c	21 Nov 2004 20:27:21 -0000	1.106
@@ -774,7 +774,7 @@
 		tmp->chan = ast_request(tech, chan->nativeformats, numsubst, &cause);
 		if (!tmp->chan) {
 			/* If we can't, just go on to the next call */
-			ast_log(LOG_NOTICE, "Unable to create channel of type '%s'\n", tech);
+			ast_log(LOG_NOTICE, "Unable to create channel of type '%s' (cause %d)\n", tech, cause);
 			HANDLE_CAUSE(cause, chan);
 			cur = rest;
 			continue;
@@ -800,7 +800,7 @@
 			ast_hangup(tmp->chan);
 			tmp->chan = ast_request(tech, chan->nativeformats, stuff, &cause);
 			if (!tmp->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);
 				HANDLE_CAUSE(cause, chan);
 				cur = rest;
 				continue;




More information about the svn-commits mailing list