Skip to content

Commit 7b63c9e

Browse files
authored
Merge pull request #629 from twilio-labs/fix-voice-ivr-env-vars
fix(voice-ivr): correct env variable names to match deployment config
2 parents 04af4c6 + eed4b1e commit 7b63c9e

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

env-variables.manifest.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,14 +904,24 @@
904904
],
905905
"voice-ivr": [
906906
{
907-
"key": "MY_PHONE_NUMBER",
907+
"key": "TWILIO_PHONE_NUMBER",
908908
"required": true,
909909
"format": "text",
910910
"description": "Your phone number for call forwarding (Sales option)\nEnter in E.164 format: https://www.twilio.com/docs/glossary/what-e164\nUse a test phone number during development",
911911
"link": null,
912912
"default": "+15551234567",
913913
"configurable": true,
914914
"contentKey": null
915+
},
916+
{
917+
"key": "TWILIO_VOICE_WEBHOOK_URL",
918+
"required": true,
919+
"format": "text",
920+
"description": "The path to the webhook",
921+
"link": null,
922+
"default": "/voice-ivr",
923+
"configurable": false,
924+
"contentKey": null
915925
}
916926
],
917927
"magic-links": [

voice-ivr/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# description: Your phone number
22
# format: phone_number
33
# required: true
4-
MY_PHONE_NUMBER=+12223334444
4+
TWILIO_PHONE_NUMBER=+12223334444
55

66
# description: The path to the webhook
77
# configurable: false

voice-ivr/.env.example

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)