Update of /usr/cvsroot/asterisk/apps
In directory localhost.localdomain:/tmp/cvs-serv22736/apps

Modified Files:
        app_dial.c 
Log Message:
Change level of message in case of write on hung up channel (Bug #4651)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- app_dial.c  7 Jul 2005 23:32:37 -0000       1.158
+++ app_dial.c  8 Jul 2005 19:10:39 -0000       1.159
@@ -514,15 +514,15 @@
                                        } 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);
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to