Node.js 如何在twilio中添加分机号码使用node js点击呼叫
根据文档和github源代码,我已经克隆了这个应用程序,它工作得非常好 假设我的销售人员有一些扩展,那么我如何在这个脚本中提供扩展。通常,使用senddigit我可以在twilio中传递扩展名,但我不知道如何用这个salesNumber实现Node.js 如何在twilio中添加分机号码使用node js点击呼叫,node.js,twilio,twilio-click-to-call,twilio-programmable-voice,Node.js,Twilio,Twilio Click To Call,Twilio Programmable Voice,根据文档和github源代码,我已经克隆了这个应用程序,它工作得非常好 假设我的销售人员有一些扩展,那么我如何在这个脚本中提供扩展。通常,使用senddigit我可以在twilio中传递扩展名,但我不知道如何用这个salesNumber实现 twilioClient.createCall(salesNumber, phoneNumber, headersHost) .then((result) => { response.send({message: result});
twilioClient.createCall(salesNumber, phoneNumber, headersHost)
.then((result) => {
response.send({message: result});
})
.catch((error) => {
response.status(500).send(error);
});
请找个人帮忙