diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-12 23:48:09 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-12 23:48:09 +0000 |
commit | a29053887d2c712d3e67361ff10219b085194817 (patch) | |
tree | 74fe9630a55e6a9419d440e88dea5f0711b2a0c9 /apps | |
parent | e2dedd0917803a880b27c55219a8b42d0bf3c09c (diff) |
Merged revisions 223804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r223804 | jpeeler | 2009-10-12 18:12:50 -0500 (Mon, 12 Oct 2009) | 8 lines
Ensure ringing continues for branched calls after progress is received
While waiting for an answer, don't send progress for branched calls
for which ringing was sent.
(closes issue #15028)
Reported by: fnordian
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@223832 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 19e1148bc..f901639b0 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1068,7 +1068,9 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, if (single && CAN_EARLY_BRIDGE(peerflags, in, c)) ast_channel_early_bridge(in, c); if (!ast_test_flag64(outgoing, OPT_RINGBACK)) - ast_indicate(in, AST_CONTROL_PROGRESS); + if (single || (!single && !pa->sentringing)) { + ast_indicate(in, AST_CONTROL_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_dtmf_stream(c, in, dtmf_progress, 250, 0); |