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. <br>SDR<br><br><div class="gmail_quote">
On Fri, Feb 13, 2009 at 6:10 AM, Evgeniy Zolotov <span dir="ltr"><<a href="mailto:zolotov@altron.ua">zolotov@altron.ua</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello!<br>
<br>
I'm trying to make such scheme:<br>
<br>
---> FS_A --> FS_B --> record<br>
<br>
Incoming calls to FS_A are redirected to FS_B with the help of this<br>
context:<br>
<br>
<extension name="redirect"><br>
<condition field="destination_number" expression="^(2000\d)$" ><br>
<action application="answer" /><br>
<action application="set" data="continue_on_true=false" /><br>
<action application="bridge"<br>
data="sofia/outbound/$<a href="http://1@1.2.3.4:5080" target="_blank">1@1.2.3.4:5080</a>" /><br>
<action application="hangup" /><br>
</condition><br>
</extension><br>
<br>
FS_B records them to the file:<br>
<br>
<extension name="30xxx-wr-wav"><br>
<condition field="destination_number" expression="^20001"><br>
<action application="answer" /><br>
<action application="set" data="hangup_after_bridge=true" /><br>
<action application="record"<br>
data="$${base_dir}/recordings/test/testrec.wav" /><br>
</condition><br>
</extension><br>
<br>
This works good. But I have a question - in what manner I can send back<br>
(from FS_B to FS_A) some channel variables?<br>
<br>
Thanks, Evgeniy.<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>