Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv4886/apps
Modified Files:
app_dial.c
Log Message:
Forward text frames before answer (bug #3717)
Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- app_dial.c 1 Apr 2005 17:00:50 -0000 1.144
+++ app_dial.c 9 Apr 2005 18:54:58 -0000 1.145
@@ -513,6 +513,10 @@
!(ast_test_flag(outgoing, DIAL_RINGBACKONLY|DIAL_MUSICONHOLD))) {
if (ast_write(in, f))
ast_log(LOG_WARNING,
"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");
} 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