[asterisk-commits] file: trunk r121444 - in /trunk: ./ main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 10 07:54:39 CDT 2008
Author: file
Date: Tue Jun 10 07:54:39 2008
New Revision: 121444
URL: http://svn.digium.com/view/asterisk?view=rev&rev=121444
Log:
Merged revisions 121442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r121442 | file | 2008-06-10 09:52:06 -0300 (Tue, 10 Jun 2008) | 4 lines
Update BRIDGEPEER variable before we do a generic bridge in case we just broke out of a native bridge and fell through to generic.
(closes issue #12815)
Reported by: ramonpeek
........
Modified:
trunk/ (props changed)
trunk/main/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=121444&r1=121443&r2=121444
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Tue Jun 10 07:54:39 2008
@@ -4551,6 +4551,12 @@
o0nativeformats = c0->nativeformats;
o1nativeformats = c1->nativeformats;
}
+
+ if (!ast_strlen_zero(pbx_builtin_getvar_helper(c0, "BRIDGEPEER")))
+ pbx_builtin_setvar_helper(c0, "BRIDGEPEER", c1->name);
+ if (!ast_strlen_zero(pbx_builtin_getvar_helper(c1, "BRIDGEPEER")))
+ pbx_builtin_setvar_helper(c1, "BRIDGEPEER", c0->name);
+
res = ast_generic_bridge(c0, c1, config, fo, rc, nexteventts);
if (res != AST_BRIDGE_RETRY)
break;
More information about the asterisk-commits
mailing list