[Freeswitch-users] how should I use "recording_follow_transfer=false"

Babak Yakhchali babak.freeswitch at gmail.com
Thu Dec 8 08:45:01 MSK 2016


Hi
I'm using a simple extension to bridge and record calls to local extensions:
<extension name="simple_bridge">
      <condition field="destination_number" expression="(....)$">
<action application="set" data="recording_follow_transfer=false"/>
<action application="export" data="RECORD_STEREO=false"/>
   <action application="set"
data="current_record_path=$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
<action application="record_session" data="${current_record_path}"/>
<action application="bridge" data="user/$1"/>
      </condition>
</extension>

I need the recording to stop after each transfer, but after transfer,
recording will not stop and there will be two recorded files and the first
one records the second call too!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161208/8aa7fc13/attachment.html 


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