From 8a0a9809f1af71cdbd5e6622215396a7d3fe5f30 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Mon, 6 Mar 2023 22:29:43 -0800 Subject: [PATCH] assert inbound call response is ok --- pyproject.toml | 2 +- vocode/telephony/inbound_call_server.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 82115b4..6d1bae6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "vocode" -version = "0.1.17" +version = "0.1.22" description = "The all-in-one voice SDK" authors = ["Ajay Raj "] license = "MIT License" diff --git a/vocode/telephony/inbound_call_server.py b/vocode/telephony/inbound_call_server.py index cee19ec..1ca082e 100644 --- a/vocode/telephony/inbound_call_server.py +++ b/vocode/telephony/inbound_call_server.py @@ -26,6 +26,7 @@ class InboundCallServer(): twilio_sid=twilio_sid ).dict() ) + assert response.ok return Response( response.text, media_type="application/xml",