[Home]

Summary:ASTERISK-10715: MIX monitor file name and Agent Name that pickup call
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2007-11-08 08:24:11.000-0600Date Closed:2007-11-08 10:28:57.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:hello.

Sorry if this configuration issue, but i not find what i can do this.

I need get name of member that receive call. Like %AGENT_NAME. MONITOR_FILENAME generated before channel bridge with agent.

AEL example:
0 => {
Set(MONITOR_FILENAME=/home/rec/${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}-callcenter-${CALLERID(name)}-${CALLERID(num)}-agent_%AGENT_NAME);
Queue(bt-callcenter);
};

Thaks!
Comments:By: Jason Parker (jparker) 2007-11-08 10:28:57.000-0600

The name would be parsed when you do the Set.  This would be non-trivial to do.  I would recommend either renaming the file after the recording is complete, or change how you lookup recordings.