Earlier I used to connect to Zoom calls as follows:
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#',
});
However, now, if a call also has a meeting password as well, for example:
Meeting ID: 9_digit_number
Password: Some_alphanumeric_string
How should I modify my function for that?
Twilio developer evangelist here.
According to 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.
So you can use your code, you just need to find the phone-specific password.