From 1147ed1e8c965e9e8851fa6b7a58e124897b851d Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Tue, 25 May 2004 15:37:30 +0000 Subject: [PATCH] Fix record option to take from the right channel git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3072 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 7c7d65ff44..1e0c67d744 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1065,7 +1065,7 @@ static int try_calling(struct queue_ent *qe, char *options, char *announceoverri } /* Begin Monitoring */ if (qe->parent->monfmt && *qe->parent->monfmt) { - monitorfilename = pbx_builtin_getvar_helper( peer, "MONITOR_FILENAME"); + monitorfilename = pbx_builtin_getvar_helper( qe->chan, "MONITOR_FILENAME"); if(monitorfilename) { ast_monitor_start( peer, qe->parent->monfmt, monitorfilename, 1 ); } else { -- GitLab