[Freeswitch-users] Is there a way to temporarily disable DTMF controls during an eavesdrop (or control an eavesdrop session with non-DTMF stimulus)?
Steven Szeto
steven.szeto at mitel.com
Sat Jul 18 00:35:06 MSD 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150717/917109e5/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list