diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-25 15:37:30 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-25 15:37:30 +0000 |
commit | 330d0a41ba1cbca1cfb157260aabb00ee89dc913 (patch) | |
tree | c0bc1f8966674ae1deee3dc266a150b386fd6831 /apps | |
parent | fc25b90e0b7d64471cd3f09622b93a100b902f33 (diff) |
Fix record option to take from the right channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3072 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 7c7d65ff4..1e0c67d74 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 { |