I've just tested this myself, using the command:
api originate {sip_secure_media=true}user/$ext &eavesdrop($uid)
Eavesdrop is by default in silent mode, so neither the caller or callee can hear the microphone of the person listening in.
It should actually be w0@500 (not @ext) which I've tested and does work but you will need to adjust your command as follows:
api originate {sip_secure_media=true}user/$ext 'queue_dtmf:w0@500,eavesdrop:$uid inline
We use a LUA script for Eavesdrop and never had this issue.
Looking at the FS documentation, you can use w1@ext to speak with the callee or w2@ext to speak with the caller.
Here are the DTMF signals during eavesdrop
2 to speak with the uuid
1 to speak with the other half3 to engage a three way0 to restore eavesdrop.* to next channel.
Is it possible you pressed any DTMF key during the call? If not, you could perhaps you could try w0@ext ?
From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Francesco Facco de Lagarda <francesco@delagarda.com>
Sent: 08 May 2018 13:46
To: 'FreeSWITCH Users Help'
Subject: [Freeswitch-users] eavesdropI need to enable client to eavesdrop on certain calls. The fs is in a penitentiary institute and certain types of criminals (i..e mafia related) must be listened.
I am trying to implement eavesdropping like so:
api originate {sip_secure_media=true}user/$ext &eavesdrop($uid)
(where, I hope, $ext and $uid are self-explicatory)
Is there ANY way to mute the microphone of the eavesdropper? It’s a bit of a give-away if the criminal can hear the background noise
Thanks
Francesco
______________________________________________________________________
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.
______________________________________________________________________
______________________________________________________________________
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.
______________________________________________________________________
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org