Stop musiconhold on attended transfer.

(closes issue #11872)
Reported by: gareth
Patches: 
      svn-101018.patch uploaded by gareth (license 208)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Olle Johansson 18 years ago
parent 68a44cc066
commit 5e02b0d76e

@ -13145,7 +13145,9 @@ static int sip_park(struct ast_channel *chan1, struct ast_channel *chan2, struct
static void ast_quiet_chan(struct ast_channel *chan)
{
if (chan && chan->_state == AST_STATE_UP) {
if (chan->generatordata)
if (ast_test_flag(chan, AST_FLAG_MOH))
ast_moh_stop(chan);
else if (chan->generatordata)
ast_deactivate_generator(chan);
}
}

Loading…
Cancel
Save