<div dir="ltr"><br>Hi All,<br><div class="gmail_quote"><div dir="ltr"><div>I have been using this variable <span style="line-height:1.1em;background-color:rgb(249,249,249)">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.</span></div>
<div><font color="#000000"><span style="line-height:14.296875px">One way I figured to do this, was in the dialplan do this:</span></font></div><div><font color="#000000"><span style="line-height:14.296875px"><br>
</span></font></div><div><font color="#000000"><span style="line-height:14.296875px"><action application="set" data="record_post_process_exec_app=system:lame file.wav file.mp3"/></span><br>
</font></div><div><font color="#000000"><span style="line-height:14.296875px"><action application="set" data="cc_export_vars=</span></font><span style="line-height:14.296875px">record_post_process_exec_app</span><span style="line-height:14.296875px">"/></span></div>
<div><span style="line-height:14.296875px"><action application="callcenter" data="group1"/></span></div><div><span style="line-height:14.296875px"><br>
</span></div><div><span style="line-height:14.296875px">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:</span></div>
<div><font color="#000000"><span style="line-height:14.296875px"><param name="record-template" value="/recordings/${strftime(%Y%m%d%H%M%S)}_${caller_id_number}_${cc_agent}.mp3"/></span></font><br>
</div><div><font color="#000000"><span style="line-height:14.296875px"><br></span></font></div><div><font color="#000000"><span style="line-height:14.296875px">Can we also have a record-post-parameter config parameter for callcenter module calls.</span></font></div>
<div><font color="#000000"><span style="line-height:14.296875px"><br></span></font></div><div><font color="#000000"><span style="line-height:14.296875px">Thanks for any suggestions in getting this done using a different approach !!</span></font></div>
<span class="HOEnZb"><font color="#888888">
<div><font color="#000000"><span style="line-height:14.296875px"><br></span></font></div><div><font color="#000000"><span style="line-height:14.296875px">--- Jayesh</span></font></div><div><br></div><div>
<br></div></font></span></div>
</div><br></div>