mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
Turn off music on hold when doing *0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4302,6 +4302,8 @@ static void *ss_thread(void *data)
|
||||
swap_subs(p, SUB_REAL, SUB_THREEWAY);
|
||||
unalloc_sub(p, SUB_THREEWAY);
|
||||
p->owner = p->subs[SUB_REAL].owner;
|
||||
if (p->subs[SUB_REAL].owner->bridge)
|
||||
ast_moh_stop(p->subs[SUB_REAL].owner->bridge);
|
||||
ast_hangup(chan);
|
||||
return NULL;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user