Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Joshua Colp 19 years ago
parent 50feace3ca
commit aa54a5f91b

@ -1547,7 +1547,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
if (user->listen.actual)
ast_frame_adjust_volume(&fr, user->listen.actual);
if (ast_write(chan, &fr) < 0) {
ast_log(LOG_WARNING, "Unable to write frame to channel: %s\n", strerror(errno));
ast_log(LOG_WARNING, "Unable to write frame to channel %s\n", chan->name);
}
} else
ast_log(LOG_WARNING, "Failed to read frame: %s\n", strerror(errno));

Loading…
Cancel
Save