diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-05 20:53:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-05 20:53:49 +0000 |
commit | 76c431dd6512462a69edb030d9ddb257d36bc493 (patch) | |
tree | 294352345aaf892655e595ff91a93d5039c3487b /apps/app_dial.c | |
parent | ff6b880777743717f83666da1b7b9a7059dc8ddb (diff) |
WHen making compatible for bridge, stop generators, etc.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1697 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-x | apps/app_dial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 62838cd8e..7b50bb2db 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -128,6 +128,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu single = (outgoing && !outgoing->next && !outgoing->musiconhold && !outgoing->ringbackonly); if (single) { + /* Turn off hold music, etc */ + ast_indicate(in, -1); /* If we are calling a single channel, make them compatible for in-band tone purpose */ ast_channel_make_compatible(outgoing->chan, in); } |