[svn-commits] mmichelson: branch 1.4 r186832 - /branches/1.4/main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Apr 7 18:49:56 CDT 2009


Author: mmichelson
Date: Tue Apr  7 18:49:49 2009
New Revision: 186832

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=186832
Log:
Set the AST_FEATURE_WARNING_ACTIVE flag when a p2p bridge returns AST_BRIDGE_RETRY.

Without this flag set, warning sounds will not be properly played to either party
of the bridge.

(closes issue #14845)
Reported by: adomjan

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/main/channel.c?view=diff&rev=186832&r1=186831&r2=186832
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Tue Apr  7 18:49:49 2009
@@ -4293,6 +4293,9 @@
 			}
 			switch (res) {
 			case AST_BRIDGE_RETRY:
+				if (config->play_warning) {
+					ast_set_flag(config, AST_FEATURE_WARNING_ACTIVE);
+				}
 				continue;
 			default:
 				if (option_verbose > 2)




More information about the svn-commits mailing list