Twilio 加入 Google Hangouts 电话会议 [英] Twilio Join Google Hangouts Conference Call
问题描述
我正在使用 G Suite 附带的 Google Hangouts for Enterprise.当 Google Hangouts 会议开始时,它会提供一个带有 PIN 的拨入号码.
I'm using Google Hangouts for Enterprise that comes with GSuite. When a Google Hangouts meet starts, It gives a dial-in number with a pin.
+1 xxxx-xxxx-3235 , 一些密码 (3495093#)
+1 xxxx-xxxx-3235 , Some PIN number (3495093#)
我正在尝试使用 Twilio Voice API 通过 Twilio 语音呼叫加入此会议.
I'm trying to join this meeting through a Twilio voice call using the Twilio Voice API.
curl 'https://api.twilio.com/2010-04-01/Accounts/AC8bc5f1756b2e10ce344333e0ec6f7acacc46/Calls.json' -X POST \
--data-urlencode 'To=+1 xxxx-xxxx-3235' \
--data-urlencode 'From=+1xxxxxxxxxx6' \
--data-urlencode 'Url=https://demo.twilio.com/welcome/voice/' \
--data-urlencode 'SendDigits=wwwww34975093##' \
-u AC8bc5f1756b2e10c824e0ec6f7acacc46:[AuthToken]
当我通过 CURL 执行调用时,我收到此响应消息
When I execute the call through CURL I get this response message
{
"code": 21206,
"message": "Invalid sendDigits: wwwww34975093#",
"more_info": "https://www.twilio.com/docs/errors/21206",
"status": 400
}
我不确定这里出了什么问题.我正在使用 wwwww 为 PIN 添加半秒等待时间.即使在没有 wwwww 的情况下传递 PIN 也会给我同样的错误.所以我的问题是,是否可以通过 Twilio 加入第三方电话会议.
I'm not sure what's wrong here. I'm adding half-a-second wait to the PIN using wwwww. Even passing the PIN without wwwww gives me the same error. So my question is, is it even possible to join a third party conference call through Twilio.
推荐答案
有一个隐藏的控制字符:
There is a hidden control character:
{"code": 21206, "message": "Invalid sendDigits: wwwww34975093#\u202c#"
{"code": 21206, "message": "Invalid sendDigits: wwwww34975093#\u202c#"
删除它,它将起作用.
这篇关于Twilio 加入 Google Hangouts 电话会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!