iris
iris copied to clipboard
Getting "Application error" voice message
Hi ,
We are trying IRIS & Oncall in our office environment. Whenever I create a test incident (Using Plans) with urgent priority, I get a call from iris. But the voice message says "application error". I expect the voice call to read the incident. It is not working. I have opened the externalip:16649 to the world, Below is my twilio config in IRIS,
vendors:
- type: iris_twilio name: twilio_1 account_sid: XXXXXXXXXXXXXXXXXXXXXXXXX auth_token: XXXXXXXXXXXXXXXXXXXXXXXXX twilio_number: +XXXXXXXXXXXXXXXXXXXXXX relay_base_url: http://External-IP:16649/
I get the following error,
web.1 | 54.158.131.187 - - [24/Jan/2018:05:24:26 +0000] "POST /api/v0/twilio/calls/gather?content=188.+test_call&source=Autoalerts&instruction=Press+2+to+claim.&message_id=188&loop=3 HTTP/1.1" 404 - "-" "TwilioProxy/1.1" web.1 | 54.82.193.204 - - [24/Jan/2018:05:24:28 +0000] "POST /api/v0/twilio/status HTTP/1.1" 404 - "-" "TwilioProxy/1.1" web.1 | 54.165.215.242 - - [24/Jan/2018:05:24:30 +0000] "POST /api/v0/twilio/status HTTP/1.1" 404 - "-" "TwilioProxy/1.1"
Please help me fix it.
Thanks, Gani
To integrate with Twilio, you'll need to set up Iris relay(https://github.com/linkedin/iris-relay), which is by default hosted on port 16648. This should allow Twilio to hit the proper endpoints and deliver your call.
Thanks dwang159