Page 1 of 1

response from php

Posted: Mon Oct 30, 2006 8:12 pm
by brent.russell
when I call a php script, it will respond with something like failed or success.

I am calling this php script with a <submit>. I can make the php script respond with just plain text or with vxml. does anyone have an example of a vxml file that shows a submit to a php script and then the vxml script saying the response? I have the php side... I just need to know how to deal with the response on the vxml side.

Posted: Thu Nov 02, 2006 2:50 pm
by brent.russell
I figured it out. The php needs to echo back vxml. When it does it needs to be complete with the open and end <vxml> tags. If you are not finished with your vxml program you can add in a <goto next="anotherFile.vxml"/>