此Twilio运行时功能创建了一个会议,但我无法弄清楚如何激活记录。
exports.handler = function(context, event, callback) {
let twiml = new Twilio.twiml.VoiceResponse();
twiml.say("You have joined my conference bridge");
let conferenceName = "My Conference Bridge";
twiml.dial().conference(conferenceName);
callback(null, twiml);
};
答案 0 :(得分:1)
如何?
exports.handler = function(context, event, callback) {
let twiml = new Twilio.twiml.VoiceResponse();
twiml.say("You will now be entered into your confernece");
twiml.dial().conference({record: 'record-from-start'}, 'myconference');
callback(null, twiml);
};