Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
security: Call get API should return a CallGetModel
Clémence Lesné635abc7371bd
diff --git a/function_app.py b/function_app.pyindex c688042..2e58b1a 100644--- a/function_app.py+++ b/function_app.py@@ -347,7 +347,7 @@ async def call_id_get(req: func.HttpRequest) -> func.HttpResponse:status_code=HTTPStatus.NOT_FOUND,)return func.HttpResponse(- body=call.model_dump_json(exclude_none=True),+ body=CallGetModel.model_validate(call).model_dump_json(exclude_none=True),mimetype="application/json",status_code=HTTPStatus.OK,)