aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-12 21:44:57 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-12 21:44:57 +0000
commit5c15642c48af707af23113c3774f3359eee8cd72 (patch)
tree2f1bfb8046f0b14de85278e6b46ef1bcc9d7cbb0
parent08b69edd9a0735ed756d80115eb660cde4e3a866 (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.0@181848 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 89221459f..cb5b12644 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3790,7 +3790,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
app = pbx_findapp("Macro");
if (app) {
- res = pbx_exec(qe->chan, app, macroexec);
+ res = pbx_exec(peer, app, macroexec);
ast_debug(1, "Macro exited with status %d\n", res);
res = 0;
} else {