【发布时间】:2016-02-10 10:52:47
【问题描述】:
我的 VIOP 通话正在进行中,但我突然接到 GSM 电话或其他电话,所以我需要暂停 VOIP 通话。
所以现在我认为我需要使用twiml 来保持呼叫者
<Response>
<Say> Thank you for calling, a representative will be with you shortly</Say>
<Play loop="100">mymp3link</Play>
</Response>
然后通过以下方式取消呼叫者:
POST https://api.twilio.com/2008-08-01/Account/{YourAccountSid}/Calls/{WaitingCallersCallSid}
CurrentUrl=http://www.example.com/dial-representitive
但主要问题是这些请求是否可以帮助解决我的问题?
如果它可以帮助我如何使用我的 Android 客户端发送这个 twiml 请求? (使用 twilio 库还是使用常见的 HTTP 请求??)
附:这里似乎需要 Twilio 传道者。
【问题讨论】:
标签: android twilio twilio-twiml