尝试拨打无效号码时,我发现当我们正常使用Dial拨打以下号码时:
<Response>
<Dial>
<Number>3134610537</Number>
</Dial>
</Response>
或者
<Response>
<Dial>
3134610537
</Dial>
</Response>
我们可以听到来自提供商的错误消息,告知该号码无效或不再提供服务。
但是当我们在Number标记中使用url参数时,我们不会收到该消息:
<Response>
<Dial>
<Number url="http://a.url.here/">3134610537</Number>
</Dial>
</Response>
我使用 REST API 看到了同样的问题。
这是为什么?什么时候发生?
拨号应该与 REST API 调用一致,我想。