Add more clear channel debugging

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-03-26 00:25:09 +00:00
parent 666b208093
commit d391e86036

View File

@@ -1880,7 +1880,7 @@ int x;
x = 1;
}
if (ioctl(p->subs[SUB_REAL].zfd, ZT_AUDIOMODE, &x) == -1)
ast_log(LOG_WARNING, "Unable to set audio mode on channel %d\n", p->channel);
ast_log(LOG_WARNING, "Unable to set audio mode on channel %d to %d\n", p->channel, x);
break;
}
errno = 0;