[Freeswitch-users] Switch on/off call recording

Michael Collins msc at freeswitch.org
Wed May 22 10:44:45 MSD 2013


You could have your web app set a channel variable and then only turn on
recording if that channel variable was set to true:

<condition field="${recording_enabled}" expression="^true$">
  <action application="record_session" data="/path/to/file.wav"/>
</condition>

Just be sure to use continue="true" on that extension. ;)

-MC



On Tue, May 21, 2013 at 11:29 PM, Ashish gautam <ashish at nms.co.in> wrote:

> I am doing it through dialplan app record_session. And it records for all
> the calls. Now I want it for selected calls only.
>
>
> On Wed, May 22, 2013 at 11:50 AM, Michael Collins <msc at freeswitch.org>wrote:
>
>> Are you currently recording calls now? If so, how are you doing that?
>> -MC
>>
>>
>> On Tue, May 21, 2013 at 10:04 PM, Ashish gautam <ashish at nms.co.in> wrote:
>>
>>> Hi,
>>>
>>> I have setup a little call center application using mod_callcenter. Now
>>> what I want is to record all the calls based on the click of an ON?OFF
>>> button on the web app. Is there any variable or something like that which I
>>> can set like True or False to switch the call recording on or off?
>>>
>>> Also I want to know if the recording is possible per agent or not i.e.
>>> the call session to be recorded for a particular agent.
>>>
>>> Please throw some light on this.
>>>
>>> Thanks in advance.
>>>
>>> Regards
>>> -Ashish
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> Michael S Collins
>> Twitter: @mercutioviz
>> http://www.FreeSWITCH.org
>> http://www.ClueCon.com
>> http://www.OSTAG.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130521/bf27e266/attachment-0001.html 


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