From: Mark Spencer Date: Tue, 25 May 2004 15:37:30 +0000 (+0000) Subject: Fix record option to take from the right channel X-Git-Tag: 1.0.0-rc1~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1147ed1e8c965e9e8851fa6b7a58e124897b851d;p=thirdparty%2Fasterisk.git 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 --- 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 {