mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
WHen making compatible for bridge, stop generators, etc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
single = (outgoing && !outgoing->next && !outgoing->musiconhold && !outgoing->ringbackonly);
|
||||||
|
|
||||||
if (single) {
|
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 */
|
/* If we are calling a single channel, make them compatible for in-band tone purpose */
|
||||||
ast_channel_make_compatible(outgoing->chan, in);
|
ast_channel_make_compatible(outgoing->chan, in);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user