[Freeswitch-users] Is there a way to temporarily disable DTMF controls during an eavesdrop (or control an eavesdrop session with non-DTMF stimulus)?

Michael Jerris mike at jerris.com
Sat Jul 18 01:29:23 MSD 2015


[master e0ef319] FS-7846: [mod_dptools] add eavesdrop_whisper_aleg=true and eavesdrop_whisper_bleg=true channel variables to allow you to start eavesdrop in whisper mode of specific call leg


> On Jul 17, 2015, at 4:35 PM, Steven Szeto <steven.szeto at mitel.com> wrote:
> 
> Michael Jerris asks:
>  
> does it work if you do the set before the eavesdrop?  That set is not running until after the eavesdrop ends.
>  
> Answer:
>  
> Yes, set:eavesdrop_enable_dtmf=false, does work if it is invoked before the eavesdrop. However there are two issues:
>  
> ·         The “queue_dtmf” command is now ignored, which means the eavesdrop session starts as silent monitor instead of a whisper/coach session
> ·         The attempt to set eavesdrop_enable_dtmf=true does not seem to reopen the DTMF listening capabilities of the eavesdrop session. DTMF keystrokes 0,1,2,3 have no effect.
>  
> The solution for me would be this:
>  
> ·         Before the eavesdrop session is started, , set:eavesdrop_enable_dtmf=false
> ·         Introduce the ability to change the eavesdrop mode via the command line
> o   E.g. eavesdrop_change_mode <uuid> [0,1,2,3]
> o   Where [0,1,2,3] are the following eavesdrop modes respectively: silent monitor, coach the a-leg, coach the b-leg, barge-in conference
> From: Steven Szeto 
> Sent: Friday, July 17, 2015 4:01 PM
> To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
> Subject: Is there a way to temporarily disable DTMF controls during an eavesdrop (or control an eavesdrop session with non-DTMF stimulus)?
>  
> I can successfully create a whisper/coach eavesdrop session with the following commands issued from fs_cli:
>  
> originate sofia/internal/5401 at 10.47.41.109 <mailto:sofia/internal/5401 at 10.47.41.109> &bridge(sofia/internal/5901 at 10.47.41.109 <mailto:sofia/internal/5901 at 10.47.41.109>)
>  
> whisper/coach:
> originate sofia/internal/5902 at 10.47.41.109 <mailto:sofia/internal/5902 at 10.47.41.109> 'queue_dtmf:w2 at 500,eavesdrop:a28739d0-00f0-4a59-8c82-7a5a74ab6861' inline
>  
> I would like to temporarily disable DTMF so that the supervisor can not change the eavesdrop mode via DTMF, but this does not work:
>  
> originate sofia/internal/5902 at 10.47.41.109 <mailto:sofia/internal/5902 at 10.47.41.109> 'queue_dtmf:w2 at 500,eavesdrop:a28739d0-00f0-4a59-8c82-7a5a74ab6861, set:eavesdrop_enable_dtmf=false' inline
>  
> Moreover, I have a GUI app that presents the supervisor with the ability to change the eavesdrop mode. When he presses the appropriate icon in the GUI, I would then like to reenable DTMF and change the eavesdrop mode on the session:
>  
> Uuid_setvar a28739d0-00f0-4a59-8c82-7a5a74ab6861 eavesdrop_enable_dtmf true;
> Uuid_recv_dtmf a28739d0-00f0-4a59-8c82-7a5a74ab6861 w3 at 500
>  
> Is there another way to change the mode of an eavesdrop session?
>  
>  
> 
> NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.
> 
> _________________________________________________________________________
> 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/20150717/5040d393/attachment-0001.html 


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