I'm assuming that you are saying these are 2 boxes .... if the protocol is a sip you can append a sip header ... _sip_h_X- .... This should be available as a channel variable on FS A.
SDR

On Fri, Feb 13, 2009 at 6:10 AM, Evgeniy Zolotov <zolotov@altron.ua> wrote:
       Hello!

I'm trying to make such scheme:

---> FS_A --> FS_B --> record

Incoming calls to FS_A are redirected to FS_B with the help of this
context:

<extension name="redirect">
 <condition field="destination_number" expression="^(2000\d)$" >
   <action application="answer" />
   <action application="set" data="continue_on_true=false" />
       <action application="bridge"
       data="sofia/outbound/$1@1.2.3.4:5080" />
   <action application="hangup" />
 </condition>
</extension>

FS_B records them to the file:

<extension name="30xxx-wr-wav">
 <condition field="destination_number" expression="^20001">
     <action application="answer" />
     <action application="set" data="hangup_after_bridge=true" />
     <action application="record"
data="$${base_dir}/recordings/test/testrec.wav" />
 </condition>
</extension>

This works good. But I have a question - in what manner I can send back
(from FS_B to FS_A) some channel variables?

  Thanks, Evgeniy.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org