[asterisk-users] MixMonitor and Queues

Jay Moore jaymoore at accu-com.com
Thu Dec 28 15:45:49 MST 2006


Well I'll be.  That fixed it nicely.  I was adding the .gsm extension 
myself not realizing that Asterisk did it as well.  Removing my addition 
fixed the problem.

Thanks a ton!

Jay

Ex Vitorino wrote:
>  Jay,
> 
>  I had a similar issue recently... My filename had more than one "."
> (dot / period)
>  and the sox version I was using failed to mix files in such conditions...
> 
>  If that is your case, try:
> 
>  - Using a filename with no "."
>  - Upgrade sox to the latest version which fixes the funny behaviour
> 
>  Cheers,
> -- 
>  Ex Vito
> 
> On 12/28/06, Jay Moore <jaymoore at accu-com.com> wrote:
>> Recompiled Asterisk after installing sox and it's still not merging the
>> two streams into a single recorded file.  What am I doing wrong?
>>
>> Jay
>>
>> Jay Moore wrote:
>> > Ed,
>> >
>> > Thanks for the help.  One more question, however.  Everything is 
>> working
>> > fine with the exception of sox joining the calls.  I have sox installed
>> > and monitor-join set to yes in both queues.conf and agents.conf
>> >
>> > I installed sox after I installed Asterisk.  Do I need to recompile
>> > Asterisk for it to work with sox?
>> >
>> > This is the last hurdle I need to overcome (I hope) before I can use my
>> > Asterisk box in a live situation.  Any help would be much appreciated.
>> >
>> > Regards,
>> > Jay
>> >
>> > Ed Nuñez wrote:
>> >> In queues.conf you must have the following under the queues you want
>> >> to record.
>> >>
>> >> monitor-format=wav49         ; you may also use wav or gsm formats
>> >> monitor-join=yes            ; if you have the latest sox installed,
>> >> this                     will join the in and out files into one.
>> >>
>> >> In agents.conf
>> >>
>> >> recordagencalls=yes
>> >> monitor-join = yes
>> >> recordformat=wav49
>> >> savecallsin=/var/www/html/calls        ;this is the path where call
>> >> will be recorded.
>> >>
>> >> That's all
>> >>
>> >> If you want to change the file name place this in your extensions.conf
>> >> on a line prior to sending the call to the queue.
>> >>
>> >> exten=> 1097,4,Set(MONITOR_FILENAME=QUEUE-${CALLERID}-${TIMESTAMP})
>> >>
>> >>
>> >> Ed Nuñez
>> >> IT/Telecom Engineer
>> >>
>> >> 4037 Metric Drive
>> >> Winter Park, FL
>> >>
>> >> (o) 407-384-4200 x 1656
>> >> (f) 407-384-4222
>> >> (c) 732-925-0730
>> >> -----Original Message-----
>> >> From: asterisk-users-bounces at lists.digium.com
>> >> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jay 
>> Moore
>> >> Sent: Wednesday, December 13, 2006 10:15 AM
>> >> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> >> Subject: [asterisk-users] MixMonitor and Queues
>> >>
>> >> Greetings, all.
>> >>
>> >> I would like to record calls that are entered into queues and I'm not
>> >> quite sure how to do it.  Here's how I'm currently set up:
>> >>
>> >> - Call comes in and is placed into Queue #1 (which rings all phones
>> >> for 15 sec).
>> >> - If call drops out of this queue, it is placed into Queue #2 (which
>> >> plays MoH until the call is picked up).
>> >>
>> >> I've tinkered with MixMonitor and I have my queues set up, but I'm not
>> >> sure how to combine the two.  Ideally, I'd like to only record once
>> >> the call comes out of queue (no point in recording hold music, unless
>> >> I want to hear people mumble about how lousy a company we are for
>> >> placing them on hold ;)  )
>> >>
>> >> On a semi-related note, is it possible to determine the extension that
>> >> pull the call out of queue before the call is bridged?  The reason I
>> >> ask is that I'd like to put the receiving extension in the name of the
>> >> file that MixMonitor creates.  If not, no biggie.
>> >>
>> >> Recap:
>> >>
>> >> Two queues.  First rings for 15 seconds then drops into the second.
>> >> Second plays music on hold till the call is answered.  I want to
>> >> record the call when it's pulled out of either queue using
>> >> MixMonitor.  Bonus points if I can determine the answering extension
>> >> before MixMonitor starts (if possible).
>> >>
>> >> Any help would be greatly appreciated.
>> >>
>> >> Thanks,
>> >> Jay
>> >> _______________________________________________
>> >> --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
>> >>
>> >>
>> >> _______________________________________________
>> >> --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
>> >>
>> >>
>> >>
>> > _______________________________________________
>> > --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
>> >
>> >
>> >
>> _______________________________________________
>> --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
>>
> _______________________________________________
> --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
> 
> 
> 


More information about the asterisk-users mailing list