[Freeswitch-users] record_session with fifo stops after transfer

Yuriy Ivzhenko yivzhenko at mksat.net
Fri Oct 22 02:16:11 PDT 2010


I route incoming calls to fifo.
And i want to record all conversation of incoming caller.

I call record_session just before fifo.
All works, but if the fifo agent transfer the call to another extension, record 
stops in a transfer point.
uuid_record give the same results.

If i call record_session after transfer (on A-leg) - nothing recordings, 
If i call record_session after transfer (on B-leg) - recording works, but this 
is not-so-good decision.
I want to record all A-leg conversation. Is this possible, or i do not 
understand something?


<extension name="ffCallCenter">
          <condition field="destination_number" expression="^ffCallCenter$"/>
          <condition field="${fifo(list)}" expression='<fifo 
name="fifo_CallCenter_WP at default[\s\S]*<member[\s\S]
*/fifo>[\s\S]*<fifo name="manual_calls'>
        <action application="answer"/>
	<action application="record_session" 
data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination
_number}_${caller_id_number}.wav"/> 

<!--    <action application="set" data="api_result=${uuid_record(${uuid} start 
$${base_dir}/recordings/${strftime(%Y-%m-%d-
%H-%M-%S)}_${destination_number}_${caller_id_number}_${uuid}.wav)}"/> -->

            <action application="set" data="fifo_orbit_exten=ffGirls:17"/>
            <action application="set" data="fifo_orbit_dialplan=XML"/>
            <action application="set" data="fifo_orbit_context=default"/>
            <action application="set" data="fifo_caller_exit_key=#"/>
            <action application="set" data="fifo_caller_exit_to_orbit=true"/>
            <action application="fifo" data="fifo_CallCenter_WP at default in undef 
local_stream://moh"/>

          </condition>
</extension>



More information about the FreeSWITCH-users mailing list