[Freeswitch-users] Spy a call

Abaci B abaci64 at gmail.com
Tue Mar 29 19:22:10 MSD 2016


you can either spy on the call based on the uuid of the a leg (save it in
hash or db) or if you want to spy based on a specific user you can try
something execute_on_answer to sabe the call to the users hash

On Tue, Mar 29, 2016 at 11:03 AM, Ahmed habiba <ahabiba at gmail.com> wrote:

> I want to spy on the user as the incoming call may be coming from SIP
> trunk or could be coming from PSTN
>
>
>
> *From: *Abaci B <abaci64 at gmail.com>
> *Subject: **Re: [Freeswitch-users] Spy a call*
> *Date: *March 29, 2016 at 5:40:43 PM GMT+3
> *To: *FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Reply-To: *FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>
>
> why don't you spy based on the uuid of the aleg?
>
> On Tue, Mar 29, 2016 at 10:15 AM, Ahmed habiba <ahabiba at gmail.com> wrote:
>
>> Hi,
>>
>> 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
>>
>> I.e a call to 5005 in extension definition it try to bridge to
>> user/1000,user/2000,user/3000
>>
>> 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
>>
>> I used userspy but it work only if I was spying before the call start
>>
>> Any idea will be appreciated.
>>
>> Thanks,
>>
>> Ahmed Habiba.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.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/20160329/23b434b7/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list