[Asterisk-cvs] asterisk/apps app_dial.c,1.156,1.157
russell at lists.digium.com
russell at lists.digium.com
Tue Jul 5 13:17:01 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv32470/apps
Modified Files:
app_dial.c
Log Message:
add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- app_dial.c 6 Jun 2005 22:39:31 -0000 1.156
+++ app_dial.c 5 Jul 2005 17:16:16 -0000 1.157
@@ -974,7 +974,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' (cause %d)\n", tech, cause);
+ ast_log(LOG_NOTICE, "Unable to create channel of type '%s' (cause %d - %s)\n", tech, cause, ast_cause2str(cause));
HANDLE_CAUSE(cause, chan);
cur = rest;
continue;
More information about the svn-commits
mailing list