freeswitch silence audio on mute for dialogflow

Status
Not open for further replies.

mazhagiah

New Member
Jul 12, 2022
1
0
1
34
Hi All,

I have an issue with muted calls to dialogflow

Call flow:
User calls -> SBC -> FS with ESL -> UniMRCP -> Dialogflow

We have no-input-timeout (50 seconds - for some other reasons) higher than the no-input-timeout value (5 seconds) of dialogflow. So, alway dialogflow's timer takes precedence and when there is no input and the next prompt plays from dialogflow.

When user calls in to SBC, connects to dialogflow. Welcome prompts plays. After a no-input-timeout next prompt plays, user responds and call works fine.

However, the issue is when the user is on mute, after the welcome prompt google doesn't fire its no-input-timer rather unimrcp waits for 50 seconds of no-input-timeout. When checked with google, their response is if there is no audio we do not start the no-input-timer and asks us to send silent audio when there is no activity.

I have tried send_silence_when_idle and bridge_generate_comfort_noise but it doesn't work on MRCP channel.

Could you help if there is a way to send silence when the user is on mute / no voice activity on mrcp channel?

Thank you for your help in advance.
 
Status
Not open for further replies.