Change level of message in case of write on hung up channel (Bug #4651)
authorMatthew Fredrickson <creslin@digium.com>
Fri, 8 Jul 2005 19:10:39 +0000 (19:10 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Fri, 8 Jul 2005 19:10:39 +0000 (19:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6060 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 0f7efa3..1775620 100755 (executable)
@@ -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);