[Asterisk-cvs] asterisk/apps app_dial.c,1.96,1.97

markster at lists.digium.com markster at lists.digium.com
Thu Oct 7 14:27:32 CDT 2004


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

Modified Files:
	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.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- app_dial.c	2 Oct 2004 01:05:11 -0000	1.96
+++ app_dial.c	7 Oct 2004 18:28:49 -0000	1.97
@@ -343,7 +343,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