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:
5d6ede1
)
Fix music on hold on park
author
Mark Spencer
<markster@digium.com>
Sat, 14 Jun 2003 16:01:32 +0000
(16:01 +0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 14 Jun 2003 16:01:32 +0000
(16:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1090
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_queue.c
patch
|
blob
|
history
diff --git
a/apps/app_queue.c
b/apps/app_queue.c
index
ae47553
..
9d451d1
100755
(executable)
--- a/
apps/app_queue.c
+++ b/
apps/app_queue.c
@@
-718,9
+718,10
@@
static int queue_exec(struct ast_channel *chan, void *data)
}
}
/* Don't allow return code > 0 */
- if (res > 0 && res != AST_PBX_KEEPALIVE)
+ if (res > 0 && res != AST_PBX_KEEPALIVE) {
res = 0;
- ast_moh_stop(chan);
+ ast_moh_stop(chan);
+ }
leave_queue(&qe);
} else {
ast_log(LOG_WARNING, "Unable to join queue '%s'\n", queuename);