Twilio Voice with ngrok webhook responding 404 Not Found

Hi, I am trying to use Rasa (3.4) with Twilio Voice and ngrok.

After starting:

ngrok http 5005
rasa run -m models --enable-api --log-file out.log --cors "" --credentials credentials.yml --debug*
rasa run actions

I am able to reach the ngrok-url on the browser locally and get the message “Hello from Rasa: 3.4.0”.

Wenn calling my Twilio-number I get the message (after the trial info) that my service is not available. ngrok shows “POST /webhooks/twilio_voice/webhook 404 Not Found” under http requests. (Same from browser with https://xyz.ngrok.io/webhooks/twilio_voice/webhook)

my credentials.yml:

twilio:
account_sid: “xyz-mysid”
auth_token: “xyz-mytoken”
twilio_number: “+17654321”
twilio_voice:
initial_prompt: “Guten Tag”
language: “de-DE”
assistant_voice: “Polly.Marlene”
reprompt_fallback_phrase: “Können Sie das bitte wiederholen?”
speech_timeout: “1”
speech_model: “default”
enhanced: “false”

my endpoints.yml:
action_endpoint:
url: “http://localhost:5055/webhook

Am I missing anything?

Hi @to-schi ,

You can follow this article for better understanding and check if you missed any step in between Rasa-Twilio Voice

Thank you, that helped! I had made a mistake while copying the webhook-url.

There is a follow-up error now. I can pass the language of the TTS-voice in the credentials.yml (“de-DE”), but the STT language seems to remain “en-US”, as I can see in the Twilio call logs.

Any idea how I can change that?