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

chore: Remove dead code

Clémence Lesnéaf852c6b7bc8
diff --git a/Makefile b/Makefile
index 802d80b..716d506 100644
--- a/Makefile
+++ b/Makefile
@@ -13,17 +13,13 @@ search_location := francecentral
# Sanitize variables
name_sanitized := $(shell echo $(name) | tr '[:upper:]' '[:lower:]')
# App configuration
-bot_phone_number ?= $(shell cat config.yaml | yq '.communication_services.phone_number')
-event_subscription_name ?= $(shell echo '$(name_sanitized)-$(bot_phone_number)' | tr -dc '[:alnum:]-')
twilio_phone_number ?= $(shell cat config.yaml | yq '.sms.twilio.phone_number')
# Bicep inputs
prompt_content_filter ?= true
# Bicep outputs
app_url ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["appUrl"].value')
blob_storage_public_name ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["blobStoragePublicName"].value')
-communication_id ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["communicationId"].value')
function_app_name ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["functionAppName"].value')
-log_analytics_workspace_customer_id ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["logAnalyticsWorkspaceName"].value')
version:
@bash ./cicd/version/version.sh -g . -c
diff --git a/bicep/app.bicep b/bicep/app.bicep
index 65c9ceb..8e8d35f 100644
--- a/bicep/app.bicep
+++ b/bicep/app.bicep
@@ -114,7 +114,6 @@ var config = {
output appUrl string = appUrl
output blobStoragePublicName string = storageAccount.name
-output communicationId string = communicationServices.id
output functionAppName string = functionAppName
output logAnalyticsCustomerId string = logAnalytics.properties.customerId
diff --git a/bicep/main.bicep b/bicep/main.bicep
index 2162b04..6e266f8 100644
--- a/bicep/main.bicep
+++ b/bicep/main.bicep
@@ -25,7 +25,6 @@ targetScope = 'subscription'
output appUrl string = app.outputs.appUrl
output blobStoragePublicName string = app.outputs.blobStoragePublicName
-output communicationId string = app.outputs.communicationId
output functionAppName string = app.outputs.functionAppName
output logAnalyticsCustomerId string = app.outputs.logAnalyticsCustomerId