Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's possible to barge in using * even if barge-in is deactivated. #389

Closed
paulotelles opened this issue Jul 6, 2023 · 3 comments
Closed
Assignees

Comments

@paulotelles
Copy link
Contributor

I'm sending some configurations and even with barge-in disable I can always barge-in with * character:

[ { "config":{ "bargeIn":{ "enable":false, "actionHook":"voice", "dtmfBargein":false, "sticky":false }, "recognizer":{ "punctuation":true, "vad":{ "enable":false }, "vendor":"microsoft", "language":"en-US" } } }, { "play":{ "loop":1, "url":"https://www2.cs.uic.edu/~i101/SoundFiles/PinkPanther30.wav" } } ],

@xquanluu
Copy link
Contributor

xquanluu commented Jul 6, 2023

Freeswitch log:

bc0e0efa-9742-47b0-9881-99f3cf6acbc1 2023-07-06 23:51:25.450895 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF *:2080
bc0e0efa-9742-47b0-9881-99f3cf6acbc1 2023-07-06 23:51:25.450895 [INFO] switch_channel.c:522 RECV DTMF *:2080
bc0e0efa-9742-47b0-9881-99f3cf6acbc1 2023-07-06 23:51:25.450895 [DEBUG] mod_dptools.c:2376 Digit *
bc0e0efa-9742-47b0-9881-99f3cf6acbc1 2023-07-06 23:51:25.450895 [DEBUG] switch_ivr_play_say.c:1933 done playing file https://www2.cs.uic.edu/~i101/SoundFiles/PinkPanther30.wav
bc0e0efa-9742-47b0-9881-99f3cf6acbc1 2023-07-06 23:51:25.510899 [DEBUG] switch_ivr.c:632 sofia/drachtio_mrf/[email protected]:5070 Command Execute [depth=1] hangup()
bc0e0efa-9742-47b0-9881-99f3cf6acbc1 EXECUTE [depth=1] sofia/drachtio_mrf/[email protected]:5070 hangup()

@xquanluu
Copy link
Contributor

xquanluu commented Jul 7, 2023

https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod-dptools/6586776/

2.1 Play a file, and don't allow it to be interrupted

The playback_terminators channel variable is set to none to disable stopping the playback on DTMF input. (The default terminator is *.)

We have to update drachtio msrf

@xquanluu
Copy link
Contributor

Please review the final changes in infrag:
jambonz/jambonz-infrastructure#54

@paulotelles here is the quick fix. On freeswitch machine, please edit :
/usr/local/freeswitch/conf/dialplan/mrf_dialplan.xml to add this line <action application="set" data="playback_terminators=none"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants