[Freeswitch-users] Record Session

Avi Marcus avi at avimarcus.net
Fri Mar 16 04:33:56 MSK 2012


A workaround would be setting a hangup hook for a script to copy (or
hardlink) the files when the call is over.
Or have your CDR handler find a channel variable set and do it after the
call.
-Avi


On Fri, Mar 16, 2012 at 3:26 AM, Joe Flemmings <joe.jflemmings at gmail.com>wrote:

>
> Comment sense dictates that I should have thought of that before asking
> the question but the short answer is that this should only occur in some
> recordings (NOT ALL) and is decided during routing.
>
>
> On Thu, Mar 15, 2012 at 4:35 PM, Michael Collins <msc at freeswitch.org>wrote:
>
>> What possible advantage is there to recording to two separate directories
>> at the same time? Would it not be better just to copy the recording once
>> the call is over?
>>
>> -MC
>>
>> On Thu, Mar 15, 2012 at 2:57 PM, Joe Flemmings <joe.jflemmings at gmail.com>wrote:
>>
>>> How can i record a call in two seperate directories at the same time
>>>
>>> the following does not work
>>>
>>> <action application="record_session"
>>> data="$${base_dir}/recordings/admin/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
>>> <action application="record_session"
>>> data="$${base_dir}/recordings/users/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
>>>
>>> Joe
>>>
>>> _________________________________________________________________________
>>> 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
>>
>>
>
> _________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120316/5fc713af/attachment-0001.html 


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