[Asterisk-Users] Filenaming for Incoming Queue Call Recordings (Reposted from "changing the filename of incoming call recordings")

Lenz lenz-ml at loway.it
Sat Oct 22 07:07:44 MST 2005


Hello,
I usually use

exten =>  
s,1,SetVar(MONITOR_FILENAME=/var/spool/asterisk/q/QSAMPLE-${UNIQUEID})
exten => s,2,Queue(q-sample|nt|||60)

and it seems to work, then use QueueMetrics to keep track of who was  
talking to whom, instead of using the Agents monitoring.
Bye
l.



On Sat, 22 Oct 2005 12:19:42 +0200, KRTorio <krtorio at gmail.com> wrote:

> Regarding my previous post:
>  >"Is there an easy way to modify the filename of an incoming call's
>> recording, or are we stuck to agent-xxxx-<unix timestamp> format given  
>> to
> us by Asterisk?
>>
>> There seems to be neither an equivalent ChangeMonitor() application for
> incoming, nor you can tweak the recording's filename in agents.conf."
>  It seems that the only way to change the filenaming incoming queue call
> recordings is by modifying this line here in chan_agent.c :
>   snprintf(filename, sizeof(filename), "agent-%s-%s",p->agent,
> ast->uniqueid);
>  But before I do that, is there a better way to do this, one that doesn't
> require modifying the source code?



-- 
Loway Research - Home of QueueMetrics
http://queuemetrics.loway.it




More information about the asterisk-users mailing list