[Freeswitch-users] Recording a bridge call

Caragea Silviu silviu.cpp at gmail.com
Thu Jun 9 22:11:27 MSD 2016


So basically what I have is :

Leg A is answered and I play some ivr message inside then I'm bridging this
leg by calling another number (and this is the call I want to record). Once
the other side is closing the call I want to stop the recording.

media_bug_answer_req I don't think will work as time the call is already
answered.

Silviu

On Thu, Jun 9, 2016 at 6:35 PM, Joshua Gigg <giggsey at gmail.com> wrote:

> If you are using uuid_record, you can use the 'media_bug_answer_req=true'
>  variable to start recording once the channel has been answered.
>
> On Thu, 9 Jun 2016 at 16:33 Callum Guy <guy.callum at gmail.com> wrote:
>
>> You'll want a little something like this (on your B-leg):
>>
>> <action application=”set”
>> data=”record_file_name={recordings_dir}/${strftime(%Y-%m-%d-%H-%M-%S)}_${uuid}.wav”
>> inline=”true”/><action application=”export”
>> data=”execute_on_answer=record_session {record_file_name}”/>
>>
>> Trusty "execute on answer"!
>>
>> On Thu, 9 Jun 2016 at 16:29 Caragea Silviu <silviu.cpp at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I want to start recording a call once it's bridged (the other party
>>> answered). And stop recording once the other party closed the call.
>>>
>>> I'm currently using uuid_record but It's recording everything including
>>> the ringtone and also after the other party closed the call all other
>>> messages I'm playing to the caller.
>>>
>>> Silviu
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.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://confluence.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://confluence.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/20160609/d513ac19/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list