I think you want the eavesdrop app:<br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop">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><div class="gmail_quote">On 3 June 2011 14:01, 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;">
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. But<br>
while i managed to get it working with bridging, i cannot find a way to 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 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 inline<br>
dialplan should i send in dial string? I'm stuck here.<br>
<font color="#888888"><br>
--<br>
View this message in context: <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>
</font><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>