Turn off music on hold when doing *0

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent 1e95c3a4ac
commit e255fe1685

@ -4302,6 +4302,8 @@ static void *ss_thread(void *data)
swap_subs(p, SUB_REAL, SUB_THREEWAY); swap_subs(p, SUB_REAL, SUB_THREEWAY);
unalloc_sub(p, SUB_THREEWAY); unalloc_sub(p, SUB_THREEWAY);
p->owner = p->subs[SUB_REAL].owner; 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); ast_hangup(chan);
return NULL; return NULL;
} else { } else {

Loading…
Cancel
Save