Try something like this:<br>
<br>
FS1:<br>
uuid_broadcast <uuid><br>
bridge:{sip_h_X-target_<div class="im">channel_id=<uuid>}sofia/bridging/123456@ip:port aleg<br>
<br>
FS2:<br>
<condition field="destination_number" expression="^(123456)$"><br>
<action application="eavesdrop" data="${sip_h_X-target_channel_id}" /><br>
</condition><br>
<br>
-Steve</div><br><br><div class="gmail_quote">On 14 June 2011 08:40, Maciej Aniserowicz <span dir="ltr"><<a href="mailto:maciej.aniserowicz@gmail.com">maciej.aniserowicz@gmail.com</a>></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"><condition field="destination_number" expression="^(123456)$"><br>
</div> &lt;action application=&quot;&lt;b&gt;app3"<br>
<div class="im">data="${sip_h_X-target_channel_id}" /><br>
</condition><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>
><br>
> I think you want the eavesdrop app:<br>
> <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop</a><br>
><br>
> Intercept takes over the call. Eavesdrop just silently listens in.<br>
><br>
> -Steve<br>
><br>
><br>
><br>
> On 3 June 2011 14:01, Maciej Aniserowicz<br>
</div>> &<a href="mailto:lt%3Bmaciej.aniserowicz@gmail.com">lt;maciej.aniserowicz@gmail.com</a>&gt;wrote:<br>
<div><div></div><div class="h5">><br>
>> Hi Steve,<br>
>> Thanks for interest.<br>
>><br>
>> Yes, i figured out that i cannot eavesdrop any 'easy' way. I tried the<br>
>> approach you described (dialing into FS2 to a special context and passing<br>
>> sip-h_X header). In fact i use this to bridge calls on different FSes.<br>
>> But<br>
>> while i managed to get it working with bridging, i cannot find a way to<br>
>> do<br>
>> eavesdropping.<br>
>><br>
>> With bridging I send:<br>
>> uuid_transfer [CallA channel] bridge:{sip_h_X-target_channel_id=[CallB<br>
>> channel]}sofia/bridging/123456@ip:port,park inline<br>
>><br>
>> Then FS2 in dialplan for 123456 extracts target channel id from sip<br>
>> header<br>
>> and intercepts it:<br>
>> <condition field="destination_number" expression="^(123456)$"><br>
>> <action application="intercept" data="${sip_h_X-target_channel_id}" /><br>
>> </condition><br>
>><br>
>> What actions should i define in FS2 dialplan for eavesdropping? What<br>
>> inline<br>
>> dialplan should i send in dial string? I'm stuck here.<br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <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>
>> 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>
>><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>
><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>