[Freeswitch-users] Eavesdrop between 2 FS instaces

Steven Ayre steveayre at gmail.com
Fri Jun 3 19:11:53 MSD 2011


I think you want the eavesdrop app:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop

Intercept takes over the call. Eavesdrop just silently listens in.

-Steve



On 3 June 2011 14:01, Maciej Aniserowicz <maciej.aniserowicz at gmail.com>wrote:

> Hi Steve,
> Thanks for interest.
>
> Yes, i figured out that i cannot eavesdrop any 'easy' way. I tried the
> approach you described (dialing into FS2 to a special context and passing
> sip-h_X header). In fact i use this to bridge calls on different FSes. But
> while i managed to get it working with bridging, i cannot find a way to do
> eavesdropping.
>
> With bridging I send:
> uuid_transfer [CallA channel] bridge:{sip_h_X-target_channel_id=[CallB
> channel]}sofia/bridging/123456 at ip:port,park inline
>
> Then FS2 in dialplan for 123456 extracts target channel id from sip header
> and intercepts it:
> <condition field="destination_number" expression="^(123456)$">
>    <action application="intercept" data="${sip_h_X-target_channel_id}" />
> </condition>
>
> What actions should i define in FS2 dialplan for eavesdropping? What inline
> dialplan should i send in dial string? I'm stuck here.
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/Eavesdrop-between-2-FS-instaces-tp6432366p6435172.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110603/af25c257/attachment.html 


More information about the FreeSWITCH-users mailing list