[Freeswitch-users] post record processing for mod_callcenter module

Jayesh Nambiar jayesh1017 at gmail.com
Fri Feb 15 18:04:40 MSK 2013


Hi All,
I have been using this variable record_post_process_exec_app in my dialplan
for post-processing of recordings where I actually convert the WAV files
into an MP3 using Lame. I earlier used to record it in mp3 directly using
the mod_shout module, but it was very CPU extensive. I wish to do the same
for calls that are recorded using the mod_callcenter module. In callcenter
groups, I can define record_template, but I dont find a place where I can
do post record processing.
One way I figured to do this, was in the dialplan do this:

<action application="set" data="record_post_process_exec_app=system:lame
file.wav file.mp3"/>
<action application="set" data="cc_export_vars=record_post_process_exec_app
"/>
<action application="callcenter" data="group1"/>

The above works but the challenge is when you want the agent name in the
recording filename; because there is no way the agent name is known while
we are in the dialplan. Basically the record template in groups is defined
as follows:
<param name="record-template"
value="/recordings/${strftime(%Y%m%d%H%M%S)}_${caller_id_number}_${cc_agent}.mp3"/>

Can we also have a record-post-parameter config parameter for callcenter
module calls.

Thanks for any suggestions in getting this done using a different approach
!!

--- Jayesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130215/06a820c6/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list