projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6463533
)
Fix music on hold to quitat hangup rather than during channel destruction (bug #3035)
author
Mark Spencer
<markster@digium.com>
Thu, 6 Jan 2005 04:18:15 +0000
(
04:18
+0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 6 Jan 2005 04:18:15 +0000
(
04:18
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4691
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_musiconhold.c
patch
|
blob
|
history
diff --git
a/res/res_musiconhold.c
b/res/res_musiconhold.c
index
aecfeb0
..
6040be1
100755
(executable)
--- 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));
return -1;
}
while(!ast_safe_sleep(chan, 10000));
+ ast_moh_stop(chan);
return -1;
}
return -1;
}