Assistant says an additional "Good Bye" while ending the call after customer.speech.timeout
I have the following JSON which I use for triggering the assistant to say some phrases after inactivity from the caller. After 30 seconds it says the last sentence correctly and adds a Good Bye before ending the call. how do I get rid of the Good Bye.
"hooks": [
{
"do": [
{
"type": "say",
"exact": "Können Sie es bitte wiederholen?"
}
],
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 8,
"triggerMaxCount": 1,
"triggerResetMode": "onUserSpeech"
}
},
{
"do": [
{
"type": "say",
"exact": "Sind Sie noch da?"
}
],
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 15,
"triggerMaxCount": 1,
"triggerResetMode": "onUserSpeech"
}
},
{
"do": [
{
"type": "say",
"exact": "Da ich Sie nicht mehr höre, beende ich nun das Gespräch. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut. Vielen Dank für Ihren Anruf."
},
{
"tool": {
"type": "endCall"
},
"type": "tool"
}
],
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 30,
"triggerMaxCount": 1,
"triggerResetMode": "onUserSpeech"
}
}
],
"hooks": [
{
"do": [
{
"type": "say",
"exact": "Können Sie es bitte wiederholen?"
}
],
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 8,
"triggerMaxCount": 1,
"triggerResetMode": "onUserSpeech"
}
},
{
"do": [
{
"type": "say",
"exact": "Sind Sie noch da?"
}
],
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 15,
"triggerMaxCount": 1,
"triggerResetMode": "onUserSpeech"
}
},
{
"do": [
{
"type": "say",
"exact": "Da ich Sie nicht mehr höre, beende ich nun das Gespräch. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut. Vielen Dank für Ihren Anruf."
},
{
"tool": {
"type": "endCall"
},
"type": "tool"
}
],
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 30,
"triggerMaxCount": 1,
"triggerResetMode": "onUserSpeech"
}
}
],