使用 nexmo 拨打 phone 电话

Make an outbound phone call using nexmo

大家好,我不明白这里是什么 Make an outbound phone call using nexmo.

我确实按照这里的说明在我的 cmd 中输入了它

首先我这样做了:

npm install nexmo-cli -g

然后在我安装它之后我尝试创建和应用程序 ID:

nexmo app:create "My Voice App" http://example.com/answer http://example.com/event --keyfile private.key

但它在我的 cmd 上说:

'nexmo' is not recognized as an internal or external command, operable program or batch file.

我真的无法理解博客上的内容,请大家帮我理解一下。我想在这里使用 nexmo

进行出站呼叫

您的节点模块安装文件夹似乎不在您的 Windows 路径中。找到这个文件夹 运行

npm config get prefix

确保此文件夹在您的 Windows 路径内,您可以通过 运行ning

查看
echo %path%

如果您的路径中缺少它,请查看这些答案: