[Asterisk-cvs] asterisk/apps app_dial.c,1.28,1.29

markster at lists.digium.com markster at lists.digium.com
Wed Nov 5 14:27:40 CST 2003


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv32675/apps

Modified Files:
	app_dial.c 
Log Message:
When making compatible for bridge, stop generators, etc.


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- app_dial.c	22 Oct 2003 04:25:13 -0000	1.28
+++ app_dial.c	5 Nov 2003 20:53:49 -0000	1.29
@@ -128,6 +128,8 @@
 	single = (outgoing && !outgoing->next && !outgoing->musiconhold && !outgoing->ringbackonly);
 	
 	if (single) {
+		/* Turn off hold music, etc */
+		ast_indicate(in, -1);
 		/* If we are calling a single channel, make them compatible for in-band tone purpose */
 		ast_channel_make_compatible(outgoing->chan, in);
 	}




More information about the svn-commits mailing list