<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I want to spy on the user as the incoming call may be coming from SIP trunk or could be coming from PSTN<div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">From:&nbsp;</b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Abaci B &lt;<a href="mailto:abaci64@gmail.com" style="color: purple;" class="">abaci64@gmail.com</a>&gt;<br class=""></span></div><div style="margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Subject:&nbsp;</b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Re: [Freeswitch-users] Spy a call</b><br class=""></span></div><div style="margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Date:&nbsp;</b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">March 29, 2016 at 5:40:43 PM GMT+3<br class=""></span></div><div style="margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">To:&nbsp;</b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: purple;" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""></span></div><div style="margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Reply-To:&nbsp;</b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: purple;" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""></span></div><br class=""><br class=""><div dir="ltr" class="">why don't you spy based on the uuid of the aleg?</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 29, 2016 at 10:15 AM, Ahmed habiba&nbsp;<span dir="ltr" class="">&lt;<a href="mailto:ahabiba@gmail.com" target="_blank" style="color: purple;" class="">ahabiba@gmail.com</a>&gt;</span>&nbsp;wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><p dir="ltr" class="">Hi,</p><p dir="ltr" class="">I have an issue where I want to spy on a call to agent considering that the call was not direct to the agent it is to a short code which then try to bridge to a hunt group any of them can catch the call</p><p dir="ltr" class="">I.e a call to 5005 in extension definition it try to bridge to user/1000,user/2000,user/3000</p><p dir="ltr" class="">Any of the agents can catch the call and because eavesdrop depend on uuid stored in some hash map it is not working as in my scenario I don't know before issuing the bridge who will catch the call and accordingly I can not use it as a hash key for the uuid</p><p dir="ltr" class="">I used userspy but it work only if I was spying before the call start</p><p dir="ltr" class="">Any idea will be appreciated.</p><p dir="ltr" class="">Thanks,</p><p dir="ltr" class="">Ahmed Habiba.</p><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" style="color: purple;" class="">consulting@freeswitch.org</a><br class=""><a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer" style="color: purple;" class="">http://www.freeswitchsolutions.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="http://www.freeswitch.org" target="_blank" rel="noreferrer" style="color: purple;" class="">http://www.freeswitch.org</a><br class=""><a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer" style="color: purple;" class="">http://confluence.freeswitch.org</a><br class=""><a href="http://www.cluecon.com" target="_blank" rel="noreferrer" style="color: purple;" class="">http://www.cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: purple;" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer" style="color: purple;" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer" style="color: purple;" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class=""><a href="http://www.freeswitch.org" target="_blank" rel="noreferrer" style="color: purple;" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""></div></div></body></html>