aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-08 19:10:39 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-08 19:10:39 +0000
commit0a7ce10e65e705e18f9ddec2057b02742b4330e4 (patch)
tree709725b3102e56ebf312d001df2676ff21b7ea8f
parentdedd2c6fc82097ddb0150556e7fc573ca7f862db (diff)
Change level of message in case of write on hung up channel (Bug #4651)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6060 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xapps/app_dial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 0f7efa3fe..177562071 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);