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@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@10.47.41.109 &bridge(sofia/internal/5901@10.47.41.109)
whisper/coach:
originate sofia/internal/5902@10.47.41.109 'queue_dtmf:w2@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@10.47.41.109 'queue_dtmf:w2@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@500
Is there another way to change the mode of an eavesdrop session?