[Freeswitch-users] Problems with record_stereo

Helmut Kuper helmut.kuper at ewetel.de
Fri Feb 27 06:07:15 PST 2009


Hello,

I play around with record_session and would like to have caller and
callee separated on left and right channel. I found record_stereo is
used for this. Unfortunately it doesn't work. A and B leg are still
mixed. Additionally I found that B leg is significant louder than A leg,
but both legs were local extensions.
 

My Dialplan looks like this:

<extension name="Local_Extension">
        <condition field="destination_number" expression="^(1234)$">
        <action application="set" data="dialed_extension=$1"/>
        <action application="export" data="dialed_extension=$1"/>
        <x-action application="ring_ready"/>
        <x-action application="set" data="ringback=${de-ring}"/>
        <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s]
<app> -->
        <action application="export" data="RECORD_STEREO=true"/>
        <action application="bind_meta_app" data="9 b s
record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
         <action application="bridge"
data="user/${dialed_extension}@$${domain}"/>
      </condition>
    </extension>

regards
helmut





More information about the FreeSWITCH-users mailing list