I&#39;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">&lt;<a href="mailto:zolotov@altron.ua">zolotov@altron.ua</a>&gt;</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;">
 &nbsp; &nbsp; &nbsp; &nbsp;Hello!<br>
<br>
I&#39;m trying to make such scheme:<br>
<br>
---&gt; FS_A --&gt; FS_B --&gt; record<br>
<br>
Incoming calls to FS_A are redirected to FS_B with the help of this<br>
context:<br>
<br>
&lt;extension name=&quot;redirect&quot;&gt;<br>
 &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^(2000\d)$&quot; &gt;<br>
 &nbsp; &nbsp;&lt;action application=&quot;answer&quot; /&gt;<br>
 &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;continue_on_true=false&quot; /&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;data=&quot;sofia/outbound/$<a href="http://1@1.2.3.4:5080" target="_blank">1@1.2.3.4:5080</a>&quot; /&gt;<br>
 &nbsp; &nbsp;&lt;action application=&quot;hangup&quot; /&gt;<br>
 &nbsp;&lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
FS_B records them to the file:<br>
<br>
&lt;extension name=&quot;30xxx-wr-wav&quot;&gt;<br>
 &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^20001&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;action application=&quot;answer&quot; /&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot; /&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;action application=&quot;record&quot;<br>
data=&quot;$${base_dir}/recordings/test/testrec.wav&quot; /&gt;<br>
 &nbsp;&lt;/condition&gt;<br>
&lt;/extension&gt;<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>
 &nbsp; 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>