mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
Merged revisions 314068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r314068 | rmudgett | 2011-04-18 11:02:12 -0500 (Mon, 18 Apr 2011) | 7 lines Unclear code in app_dial.c. Make code formatting clear. (closes issue #19134) Reported by: oej ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@314079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1244,12 +1244,15 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
|
|||||||
/* Setup early media if appropriate */
|
/* Setup early media if appropriate */
|
||||||
if (single && CAN_EARLY_BRIDGE(peerflags, in, c))
|
if (single && CAN_EARLY_BRIDGE(peerflags, in, c))
|
||||||
ast_channel_early_bridge(in, c);
|
ast_channel_early_bridge(in, c);
|
||||||
if (!ast_test_flag64(outgoing, OPT_RINGBACK))
|
if (!ast_test_flag64(outgoing, OPT_RINGBACK)) {
|
||||||
if (single || (!single && !pa->sentringing)) {
|
if (single || (!single && !pa->sentringing)) {
|
||||||
ast_indicate(in, AST_CONTROL_PROGRESS);
|
ast_indicate(in, AST_CONTROL_PROGRESS);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!ast_strlen_zero(dtmf_progress)) {
|
if (!ast_strlen_zero(dtmf_progress)) {
|
||||||
ast_verb(3, "Sending DTMF '%s' to the called party as result of receiving a PROGRESS message.\n", dtmf_progress);
|
ast_verb(3,
|
||||||
|
"Sending DTMF '%s' to the called party as result of receiving a PROGRESS message.\n",
|
||||||
|
dtmf_progress);
|
||||||
ast_dtmf_stream(c, in, dtmf_progress, 250, 0);
|
ast_dtmf_stream(c, in, dtmf_progress, 250, 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user