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:
Mark Spencer
2003-11-04 21:21:49 +00:00
parent 1e95c3a4ac
commit e255fe1685

View File

@@ -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 {