[Asterisk-Users] recording queue calls

Tom Lynn tom at tomlynn.com
Sat Dec 24 11:35:43 MST 2005


Faris,
Is there a way to have * send save these in an off-server location?  Or
have * e-mail them via smtp and then delete them from the server
automatically?


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Faris
Raouf
Sent: Saturday, December 24, 2005 10:18 AM
To: Dov Bigio; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] recording queue calls


Dov Bigio wrote:
> Hi,
>  
> When I set "monitor-format=wav49" on file queues.conf for a queue,
> Asterisk records calls at /var/spool/asterisk/monitor. But the file 
> names it users are the call-ids of the calls.
>  
> Is there a way to change that, and use information such as date, time,
> agent and queue to "build" the filename?
> It would make the localization of such files much more easy.
>  
> Other useful that I miss is the capability to to allow the files to be
> stored in different directories, such as 
> /var/spool/asterisk/monitor/queue1,
/var/spool/asterisk/monitor/queue2, 
> and so on, based on the queuename. Is this possible by any means?
>  


Hi,


Yes. All you need to do is use the following in your extension.conf at 
the point before you call the queue

SetVar(MONITOR_FILENAME=foo)

or, if you are using 1.2.x

Set(MONITOR_FILENAME=foo)


For example, I have:

Set(MONITOR_FILENAME=${TIMESTAMP}-${CALLERIDNUM}-to-SALES-${UNIQUEID})

and then a little later on:

Queue(salesqueue|t|||60)

in my extensions.conf

Which sets the monitor filename to start with a timestamp, then the CID 
of the caller, then the "to-SALES" is what I use to differentiate 
between queues (I'd have a different Set command for a different queue).

I then add the UNIQUEID as a "just in case" to make absolutely sure 
there's no way I'd ever have two files of the same name.

I hope this helps,

Faris.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date:
12/23/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date:
12/23/2005
 




More information about the asterisk-users mailing list