Try something like this:<br>
<br>
FS1:<br>
uuid_broadcast &lt;uuid&gt;<br>
bridge:{sip_h_X-target_<div class="im">channel_id=&lt;uuid&gt;}sofia/bridging/123456@ip:port aleg<br>
<br>
FS2:<br>
&lt;condition field=&quot;destination_number&quot; expression=&quot;^(123456)$&quot;&gt;<br>
   &lt;action application=&quot;eavesdrop&quot; data=&quot;${sip_h_X-target_channel_id}&quot; /&gt;<br>
&lt;/condition&gt;<br>
<br>
-Steve</div><br><br><div class="gmail_quote">On 14 June 2011 08:40, Maciej Aniserowicz <span dir="ltr">&lt;<a href="mailto:maciej.aniserowicz@gmail.com">maciej.aniserowicz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Yes, I tried this also...<br>
3 applications are needed here:<br>
<br>
(command sent to FS1)<br>
[app1] [CallA channel] [app2]:{sip_h_X-target_channel_id=[CallB<br>
<div class="im"> channel]}sofia/bridging/123456@ip:port,park inline<br>
<br>
</div>(dialplan in FS2)<br>
<div class="im">&lt;condition field=&quot;destination_number&quot; expression=&quot;^(123456)$&quot;&gt;<br>
</div>    &amp;lt;action application=&amp;quot;&amp;lt;b&amp;gt;app3&quot;<br>
<div class="im">data=&quot;${sip_h_X-target_channel_id}&quot; /&gt;<br>
 &lt;/condition&gt;<br>
<br>
</div>app1 is uuid_transfer<br>
app3 is eavesdrop<br>
app2...? I cannot find anything that fits in here.<br>
<br>
MA<br>
<div class="im"><br>
<br>
<br>
Steven Ayre wrote:<br>
&gt;<br>
&gt; I think you want the eavesdrop app:<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop</a><br>
&gt;<br>
&gt; Intercept takes over the call. Eavesdrop just silently listens in.<br>
&gt;<br>
&gt; -Steve<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 3 June 2011 14:01, Maciej Aniserowicz<br>
</div>&gt; &amp;<a href="mailto:lt%3Bmaciej.aniserowicz@gmail.com">lt;maciej.aniserowicz@gmail.com</a>&amp;gt;wrote:<br>
<div><div></div><div class="h5">&gt;<br>
&gt;&gt; Hi Steve,<br>
&gt;&gt; Thanks for interest.<br>
&gt;&gt;<br>
&gt;&gt; Yes, i figured out that i cannot eavesdrop any &#39;easy&#39; way. I tried the<br>
&gt;&gt; approach you described (dialing into FS2 to a special context and passing<br>
&gt;&gt; sip-h_X header). In fact i use this to bridge calls on different FSes.<br>
&gt;&gt; But<br>
&gt;&gt; while i managed to get it working with bridging, i cannot find a way to<br>
&gt;&gt; do<br>
&gt;&gt; eavesdropping.<br>
&gt;&gt;<br>
&gt;&gt; With bridging I send:<br>
&gt;&gt; uuid_transfer [CallA channel] bridge:{sip_h_X-target_channel_id=[CallB<br>
&gt;&gt; channel]}sofia/bridging/123456@ip:port,park inline<br>
&gt;&gt;<br>
&gt;&gt; Then FS2 in dialplan for 123456 extracts target channel id from sip<br>
&gt;&gt; header<br>
&gt;&gt; and intercepts it:<br>
&gt;&gt; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(123456)$&quot;&gt;<br>
&gt;&gt;    &lt;action application=&quot;intercept&quot; data=&quot;${sip_h_X-target_channel_id}&quot; /&gt;<br>
&gt;&gt; &lt;/condition&gt;<br>
&gt;&gt;<br>
&gt;&gt; What actions should i define in FS2 dialplan for eavesdropping? What<br>
&gt;&gt; inline<br>
&gt;&gt; dialplan should i send in dial string? I&#39;m stuck here.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://freeswitch-users.2379917.n2.nabble.com/Eavesdrop-between-2-FS-instaces-tp6432366p6435172.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Eavesdrop-between-2-FS-instaces-tp6432366p6435172.html</a><br>


&gt;&gt; Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Eavesdrop-between-2-FS-instaces-tp6432366p6473071.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Eavesdrop-between-2-FS-instaces-tp6432366p6473071.html</a><br>


<div><div></div><div class="h5">Sent from the freeswitch-users mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>