KRTorio
2005-Oct-22 03:19 UTC
[Asterisk-Users] Filenaming for Incoming Queue Call Recordings (Reposted from "changing the filename of incoming call recordings")
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 tous by Asterisk?> > There seems to be neither an equivalent ChangeMonitor() application forincoming, 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051022/2a1a8f64/attachment.htm
Lenz
2005-Oct-22 07:07 UTC
[Asterisk-Users] Filenaming for Incoming Queue Call Recordings (Reposted from "changing the filename of incoming call recordings")
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@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
Kevin Bockman
2005-Oct-22 08:43 UTC
[Asterisk-Users] Filenaming for Incoming Queue Call Recordings (Reposted from "changing the filename of incoming call recordings")
KRTorio wrote:> >"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?Your answer was in queues.conf that's why you only got 1 reply. Kevin