Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Add Bicep to the upgrade step

Clémence Lesné60c3c551f2c2
diff --git a/Makefile b/Makefile
index 62e6ecc..223bc22 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,9 @@ upgrade:
@echo "➡️ Upgrading Python dev dependencies..."
python3 -m pur -r requirements-dev.txt
+ @echo "➡️ Upgrading Bicep CLI..."
+ az bicep upgrade
+
test:
@echo "➡️ Running Black..."
python3 -m black --check .
@@ -183,7 +186,7 @@ eventgrid-register:
--event-ttl 3 \
--included-event-types Microsoft.Communication.IncomingCall \
--max-delivery-attempts 8 \
- --name $(name) \
+ --name $(shell echo '$(name)-$(bot_phone_number)' | tr -dc '[:alnum:]-') \
--source-resource-id $(source)
copy-resources: