{
"Name": "twiliovoicesecret",
"Type": "secretdoc",
"Value": {
"AccountSid": "XXXXXXXXXXXXXXXXXXXXXX",
"AuthToken": "6XXXXXXXXXXXXXXXXXXXXXXX",
"PhoneNumber": "+44XXXXXXXXXXXX"
}
}
A call comes in
webhook to point to our conversation service:
eu1
, us1
){
"Address": "acme-TwilioVoiceAdapter",
"OutboundBotReference": "TwilioVoiceAdapter",
"InboundBotReference": "TwilioVoiceAdapter",
"Organization": "acme",
"EngagementType": "TwilioVoice",
"EngagementConfig": {
"Secret": "srn:vault::acme:secretdoc:twiliovoicesecret",
"StatusEvents": [
"answered",
"completed"
],
"MachineDetection": "DetectMessageEnd"
},
"Status": "online",
"AllowedDomains": ["*"],
"Useragent": "useragent",
"TargetBotReference": "TwilioVoiceAdapter",
"Name": "acme TwilioVoiceAdapter default endpoint",
"Srn": "srn:botnet:eu-private-3:acme:endpoint:acme-twiliovoiceadapter"
}
acme
with your org nameTwilioVoiceAdapter
with the name of your botNow, dial the Twilio number you associated with the bot above. You should hear & be interacting with your bot over voice.