Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
test: Comment for a Snyk false positive error
Clémence Lesné56b1ce2f8cdc
diff --git a/function_app.py b/function_app.pyindex 091dda2..a73ef0d 100644--- a/function_app.py+++ b/function_app.py@@ -270,6 +270,7 @@ async def call_post(req: func.HttpRequest) -> func.HttpResponse:callback_url=url,cognitive_services_endpoint=CONFIG.cognitive_service.endpoint,source_caller_id_number=_source_caller,+ # deepcode ignore AttributeLoadOnNone: Phone number is validated with Pydantictarget_participant=PhoneNumberIdentifier(initiate.phone_number), # type: ignore)logger.info(