使用 Twilio Voice 连接到受密码保护的 Zoom Calls

Connect to Password Protected Zoom Calls with Twilio Voice

之前我是这样连接Zoom通话的:

this.twilioClient.calls.create({
    record: true,
    recordingStatusCallback: process.env.POST_RECORDING_WEBHOOK,
    url: process.env.TWILIO_HELLO_TWIML,
    recordingStatusCallbackEvent: ['initiated', 'ringing', 'answered', 'completed'],
    from: process.env.TWILIO_PHONE_NUMBER,
    statusCallback: process.env.TWILIO_STATUS_WEBHOOK,
    statusCallbackMethod: 'POST',
    to: phoneNumber,
    sendDigits: 'www' + <call_sid>+ #ww#',
});

不过,现在如果来电也有会议密码为好,例如:

会议 ID:9_digit_number

密码:Some_alphanumeric_string

我应该如何为此修改我的功能?

这里是 Twilio 开发人员布道者。

根据the Zoom documentation

If the meeting requires a password, a phone-specific numeric password will be generated. You can find this password in the invitation listed below the dial-in numbers and meeting ID.

所以您可以使用您的代码,您只需要找到 phone 专用密码。