mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user