[Asterisk-cvs] asterisk/apps app_dial.c,1.94,1.94.2.1

russell at lists.digium.com russell at lists.digium.com
Thu Oct 7 22:49:07 CDT 2004


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

Modified Files:
      Tag: v1-0
	app_dial.c 
Log Message:
Do not send progress when "ringing" only flag is set (bug #2553)


Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.94
retrieving revision 1.94.2.1
diff -u -d -r1.94 -r1.94.2.1
--- app_dial.c	22 Sep 2004 05:19:06 -0000	1.94
+++ app_dial.c	8 Oct 2004 02:50:22 -0000	1.94.2.1
@@ -336,7 +336,8 @@
 						case AST_CONTROL_PROGRESS:
 							if (option_verbose > 2)
 								ast_verbose ( VERBOSE_PREFIX_3 "%s is making progress passing it to %s\n", o->chan->name,in->name);
-							ast_indicate(in, AST_CONTROL_PROGRESS);
+							if (!outgoing->ringbackonly)
+								ast_indicate(in, AST_CONTROL_PROGRESS);
 							break;
 						case AST_CONTROL_OFFHOOK:
 							/* Ignore going off hook */




More information about the svn-commits mailing list