I got'we are sorry an application error has occurred' when I add a action attribute to dial verb, and it's working fine without the action attribute
Below is the working code :
<?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>
And below is the code I got the error,
<?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>
I don't know why the error is occured when I add the action attribute, Pls help what's wrong in my code ..?