当我将操作属性添加到拨号动词时,我得到“我们很抱歉发生了应用程序错误”,并且在没有操作属性的情况下它可以正常工作
以下是工作代码:
<?php
header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<Response>
<Say voice="alice">Hello Client, your Call will forwarded to Psychic, Please Wait ..</Say>
<Dial>
+91-8086699702
</Dial>
<Say>I am unreachable</Say>
下面是我收到错误的代码,
<?php
header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<Response>
<Say voice="alice">Hello Client, your Call will forwarded to Psychic, Please Wait ..</Say>
<Dial action='http://demo.wdstech.com/wds5/psychicwiz/dialcallback.php' >
+91-8086699702
</Dial>
<Say>I am unreachable</Say>
我不知道为什么添加 action 属性时会发生错误,请帮助我的代码有什么问题..?