diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-01 23:30:59 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-01 23:30:59 +0000 |
commit | ba64a955081bb62acde697c61204c455e457a6a3 (patch) | |
tree | 4a5008f3aaed4f738fd4bf5bcc228b7355520853 | |
parent | d73ca1d8ef8613454ff8ed9b59a0399f09c9c226 (diff) |
if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48192 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_dial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 1d414bc30..662a2142a 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1197,6 +1197,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags strcpy(status, "NOANSWER"); if (ast_test_flag(outgoing, OPT_MUSICBACK)) { moh=1; + ast_indicate(chan, AST_CONTROL_PROGRESS); ast_moh_start(chan, opt_args[OPT_ARG_MUSICBACK]); } else if (ast_test_flag(outgoing, OPT_RINGBACK)) { ast_indicate(chan, AST_CONTROL_RINGING); |