aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-12 21:45:48 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-12 21:45:48 +0000
commit0c78ac7fc45d24911f77059d433e68b7e8105295 (patch)
tree0e3c9feb0c9aeb88bc4bd8472b3e44428f4cb6df
parentc40d3bfa7ae13a6ce6fff28b15c6a9a240d04615 (diff)
Merged revisions 181846 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r181846 | mmichelson | 2009-03-12 16:43:51 -0500 (Thu, 12 Mar 2009) | 3 lines Run the macro on the queue member's channel when he answers, not the caller's channel. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@181849 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 2b014c769..2bb8be3e2 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3851,7 +3851,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
application = pbx_findapp("Macro");
if (application) {
- res = pbx_exec(qe->chan, application, macroexec);
+ res = pbx_exec(peer, application, macroexec);
ast_debug(1, "Macro exited with status %d\n", res);
res = 0;
} else {