[Freeswitch-users] how to set the recording behavior in session:recordFile()?
Vincent Xia
gmangudai at gmail.com
Tue Jun 11 05:09:55 MSD 2013
got it, thanks a lot!
2013/6/10 Peter Olsson <peter at olssononline.se>
> RecordFile is not the same as record_session - it's for one-legged
> recording only. I think you will need to execute record_session instead,
> using session:execute();
>
> /Peter
>
>
> 2013/6/10 Vincent Xia <gmangudai at gmail.com>
>
>> is it possible to set the recording behavior(record a-leg, b-leg, or
>> both) in session:recordFile(), like we do in the dialplan:
>> <action application="bind_meta_app" data="2 b s
>> record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M
>>
>> -%S)}.wav"/>
>>
>> in my point of view, session is a handle of one call leg, so by
>> session:recordFile along it may not work out, any clue?
>>
>> BR
>>
>> _________________________________________________________________________
>> 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/20130611/be24a68c/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list