Yes, I tried this also... 3 applications are needed here: (command sent to FS1) [app1] [CallA channel] [app2]:{sip_h_X-target_channel_id=[CallB channel]}sofia/bridging/123456@ip:port,park inline (dialplan in FS2) <condition field="destination_number" expression="^(123456)$"> <action application="<b>app3" data="${sip_h_X-target_channel_id}" /> </condition> app1 is uuid_transfer app3 is eavesdrop app2...? I cannot find anything that fits in here. MA Steven Ayre wrote:
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@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@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-instace... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Eavesdrop-between-2-FS-instace... Sent from the freeswitch-users mailing list archive at Nabble.com.