Skip to content
Snippets Groups Projects
Commit 45b4dbf2 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix music on hold to quitat hangup rather than during channel destruction (bug #3035)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 6463533f
No related branches found
No related tags found
No related merge requests found
......@@ -513,6 +513,7 @@ static int moh0_exec(struct ast_channel *chan, void *data)
return -1;
}
while(!ast_safe_sleep(chan, 10000));
ast_moh_stop(chan);
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment