Ich versuche, einen Anruf mit einer benutzerdefinierten Variablen zu initialisieren.Twilio Anruf erstellen - Posten params?
Als Twilio Staaten, the call is initiated by making a post request to the url provided
var client = require('twilio')(accountSid, authToken);
client.calls.create({
url: "http://demo.twilio.com/docs/voice.xml",
to: "+14155551212",
from: "+1544444444"
}, function(err, call) {
process.stdout.write(call.sid);
});
, wenn die Datei voice.xml
eine Variable {{firstName}}
hat, wie schreibe ich body.firstName
? und was ist der geeignete Weg, das auf der XML-Seite zu formatieren? danke