【发布时间】:2020-12-16 05:29:16
【问题描述】:
根据文档 here 和 github 源代码 here,我已经克隆了应用程序,它运行良好。
假设如果我的销售人员有一些扩展名,那么我如何在这个脚本中提供该扩展名。通常,使用 senddigit 我可以在 twilio 中传递扩展名,但我不知道如何使用这个 salesNumber 来实现。
twilioClient.createCall(salesNumber, phoneNumber, headersHost)
.then((result) => {
response.send({message: result});
})
.catch((error) => {
response.status(500).send(error);
});
请有人帮忙。
【问题讨论】:
标签: node.js twilio twilio-click-to-call twilio-programmable-voice