我在用Plivo IVR。我创建了一个具有如下方法的类(如Plivo示例中所示)
def get_phone_ivr
r = Response.new()
getdigits_action_url = "https://example.com/api/v1/post_phone_ivr"
begin
params = {
'action' => getdigits_action_url,
'method' => 'POST',
'timeout' => '7',
'numDigits' => '1',
'retries' => '1'
}
getDigits = r.GetDigits(params)
r.addSpeak($IVR_MESSAGE1)
r.addSpeak($NO_INPUT_MESSAGE)
puts r.to_xml()
content_type 'text/xml'
return r.to_s()
end当我通过调用测试该方法时,我得到了状态USER_BUSY和调用完成。IVR不接电话。我试了几个例子,但没有成功。
有什么想法吗?
发布于 2017-01-17 09:15:40
这里是普利沃销售工程师。
有几件事要检查:
如果问题仍然存在,请通过写信给support@plivo.com引发支持票。
https://stackoverflow.com/questions/41135100
复制相似问题