如何在 Twilio 运行时函数中录制电话会议?

How to record a conference call within a Twilio runtime function?

这个 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);
};

screenshot of the runtime function

这个怎么样。

    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);
};