0

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

运行时函数截图

4

1 回答 1

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);
};
于 2018-09-26T09:12:09.040 回答