[asterisk-commits] russell: branch russell/issue_13747 r163757 - /team/russell/issue_13747/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 12 15:36:04 CST 2008


Author: russell
Date: Fri Dec 12 15:36:03 2008
New Revision: 163757

URL: http://svn.digium.com/view/asterisk?view=rev&rev=163757
Log:
If the "calling" side of the bridge is still ringing, indicate it to the other side

Modified:
    team/russell/issue_13747/res/res_features.c

Modified: team/russell/issue_13747/res/res_features.c
URL: http://svn.digium.com/view/asterisk/team/russell/issue_13747/res/res_features.c?view=diff&rev=163757&r1=163756&r2=163757
==============================================================================
--- team/russell/issue_13747/res/res_features.c (original)
+++ team/russell/issue_13747/res/res_features.c Fri Dec 12 15:36:03 2008
@@ -1474,8 +1474,13 @@
 	if (chan && peer) {
 		pbx_builtin_setvar_helper(chan, "BRIDGEPEER", peer->name);
 		pbx_builtin_setvar_helper(peer, "BRIDGEPEER", chan->name);
-	} else if (chan)
+	} else if (chan) {
 		pbx_builtin_setvar_helper(chan, "BLINDTRANSFER", NULL);
+	}
+
+	if (chan->_state == AST_STATE_RINGING && peer->visible_indication != AST_CONTROL_RINGING) {
+		ast_indicate(peer, AST_CONTROL_RINGING);
+	}
 
 	if (monitor_ok) {
 		const char *monitor_exec;




More information about the asterisk-commits mailing list