Hello to all I'm trying to record the calls going to my queues, but asterisk creates 2 files, one with the inbound and another with the outbound sound. I know Sox should mix the 2 files automatically in the end, but this isn't happening. I have sox installed in my server. How can I force Sox to mix the files? Here is my config: queues.conf----------------------------- [general] persistentmembers = no monitor-format=wav monitor-join=yes monitor-type=mixmonitor [queue_1] persistentmembers = no monitor-format=wav monitor-join=yes monitor-type=mixmonitor wrapuptime=3 timeout=15 strategy=roundrobin retry=5 member => Agent/600 member => Agent/601 agents.conf----------------------------- [general] persistentagents=no [agents] updatecdr=no recordagentcalls=yes recordformat=wav monitor-join=yes savecallsin=/var/www/html/recordings/ custom_beep=beep group=1 wrapuptime=19 ackcall=no group=1 agent => 600,1234,Jose agent => 601,1234,Maria Thanks Regards Joao Pereira -- StarTel - A Rede Livre Joao Gomes Pereira www.startel.pt +351 304500650 sip: gomespereira at startel.pt
Hi, I had similar issue which happened when record option was mentioned in both agents.conf and queues.conf. When I commented the recordagentcalls option in agents.conf, it started to work. Mention the monitor option only in the queues.conf file. Do try. Regards, Kurian Thayil. On Sun, 2009-06-07 at 17:51 +0100, Joao Gomes Pereira wrote:> Hello to all > I'm trying to record the calls going to my queues, but asterisk creates > 2 files, one with the inbound and another with the outbound sound. > I know Sox should mix the 2 files automatically in the end, but this > isn't happening. > I have sox installed in my server. > > How can I force Sox to mix the files? > Here is my config: > > > queues.conf----------------------------- > > [general] > persistentmembers = no > monitor-format=wav > monitor-join=yes > monitor-type=mixmonitor > > > > [queue_1] > > persistentmembers = no > monitor-format=wav > monitor-join=yes > monitor-type=mixmonitor > > > wrapuptime=3 > timeout=15 > strategy=roundrobin > retry=5 > member => Agent/600 > member => Agent/601 > > agents.conf----------------------------- > > > [general] > persistentagents=no > > [agents] > > updatecdr=no > > recordagentcalls=yes > recordformat=wav > monitor-join=yes > savecallsin=/var/www/html/recordings/ > > custom_beep=beep > group=1 > wrapuptime=19 > ackcall=no > group=1 > > agent => 600,1234,Jose > agent => 601,1234,Maria > > > > Thanks > Regards > Joao Pereira >-- Kurian Mathew Thayil. (GPG KeyID: E232394F) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090607/9da0edd5/attachment.pgp
On Sun, Jun 7, 2009 at 12:51 PM, Joao Gomes Pereira<gomespereira at startel.pt> wrote:> > Hello to all > I'm trying to record the calls going to my queues, but asterisk creates > 2 files, one with the inbound and another with the outbound sound. > I know Sox should mix the 2 files automatically in the end, but this > isn't happening. > I have sox installed in my server. > > How can I force Sox to mix the files?On the Hangup context, you can invoke sox directly from the dialplan, feeding it the names of the files to mix and the name of the output file. Or you can use MixMonitor(), which mixes the recording on the fly into a single common file, but I don't know whether that works in 1.2. I'm using 1.6