diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-06 04:18:15 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-06 04:18:15 +0000 |
commit | c75f5c50b5b3142674644e14891c1d8ba6f7b58b (patch) | |
tree | 594bff34c87501c8079a60fffe8f92b24d0ddbee /res | |
parent | 043f9e3c186843be4c078e68b61d582ca7256634 (diff) |
Fix music on hold to quitat hangup rather than during channel destruction (bug #3035)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4691 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_musiconhold.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index aecfeb0d0..6040be1c6 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -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; } |