[Asterisk-cvs] asterisk/apps app_dial.c,1.94.2.9,1.94.2.10

russell russell
Thu Aug 4 16:22:32 CDT 2005


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

Modified Files:
      Tag: v1-0
	app_dial.c 
Log Message:
fix broken logic (bug #4879)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.94.2.9
retrieving revision 1.94.2.10
diff -u -d -r1.94.2.9 -r1.94.2.10
--- app_dial.c	3 Aug 2005 20:22:27 -0000	1.94.2.9
+++ app_dial.c	4 Aug 2005 20:26:36 -0000	1.94.2.10
@@ -346,7 +346,7 @@
 							/* Ignore going off hook */
 							break;
 						case -1:
-							if (!outgoing->ringbackonly || !outgoing->musiconhold) {
+							if (!(outgoing->ringbackonly || outgoing->musiconhold)) {
 								if (option_verbose > 2)
 									ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", o->chan->name);
 								ast_indicate(in, -1);




More information about the svn-commits mailing list