From f6f9cac0280191825a44bd961ea2c1c23947f040 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Fri, 8 Jul 2005 19:10:39 +0000 Subject: [PATCH] Change level of message in case of write on hung up channel (Bug #4651) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6060 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/app_dial.c b/apps/app_dial.c index 0f7efa3fe3..1775620710 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -514,15 +514,15 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu } else if (single && (f->frametype == AST_FRAME_VOICE) && !(ast_test_flag(outgoing, DIAL_RINGBACKONLY|DIAL_MUSICONHOLD))) { if (ast_write(in, f)) - ast_log(LOG_WARNING, "Unable to forward frame\n"); + ast_log(LOG_DEBUG, "Unable to forward frame\n"); } else if (single && (f->frametype == AST_FRAME_IMAGE) && !(ast_test_flag(outgoing, DIAL_RINGBACKONLY|DIAL_MUSICONHOLD))) { if (ast_write(in, f)) - ast_log(LOG_WARNING, "Unable to forward image\n"); + ast_log(LOG_DEBUG, "Unable to forward image\n"); } else if (single && (f->frametype == AST_FRAME_TEXT) && !(ast_test_flag(outgoing, DIAL_RINGBACKONLY|DIAL_MUSICONHOLD))) { if (ast_write(in, f)) - ast_log(LOG_WARNING, "Unable to text\n"); + ast_log(LOG_DEBUG, "Unable to text\n"); } else if (single && (f->frametype == AST_FRAME_HTML) && !ast_test_flag(outgoing, DIAL_NOFORWARDHTML)) ast_channel_sendhtml(in, f->subclass, f->data, f->datalen);