[svn-commits] oej: branch group/rana-early-media-is-gone-1.8 r389479 - /team/group/rana-ear...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed May 22 08:44:14 CDT 2013
Author: oej
Date: Wed May 22 08:44:11 2013
New Revision: 389479
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389479
Log:
...and open up the gates for Loreen or Abba!
Modified:
team/group/rana-early-media-is-gone-1.8/apps/app_dial.c
Modified: team/group/rana-early-media-is-gone-1.8/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/team/group/rana-early-media-is-gone-1.8/apps/app_dial.c?view=diff&rev=389479&r1=389478&r2=389479
==============================================================================
--- team/group/rana-early-media-is-gone-1.8/apps/app_dial.c (original)
+++ team/group/rana-early-media-is-gone-1.8/apps/app_dial.c Wed May 22 08:44:11 2013
@@ -1350,6 +1350,7 @@
if (!earlymedia && !caller_entertained
&& CAN_EARLY_BRIDGE(peerflags, in, c)) {
ast_channel_early_bridge(in, c);
+ ast_debug(4, "======> Enabled early bridge \n");
earlymedia = 1;
}
if (!ast_test_flag64(outgoing, OPT_RINGBACK)) {
@@ -1473,7 +1474,7 @@
}
/* Fall through */
case AST_FRAME_TEXT:
- if (single && ast_write(in, f)) {
+ if ((single || earlymedia) && ast_write(in, f)) {
ast_log(LOG_WARNING, "Unable to write frametype: %d\n",
f->frametype);
}
More information about the svn-commits
mailing list