What if I want to post data to a php script and then continue on with the vxml without waiting for the php script to finish.
Basicaly I want someone to post their phone number to my php script, have the vxml say "thank you, goodbye" Then it hangs up on them. But even though the user has been disconnected.... the php script is still doing something with that phonenumber that was posted to it.
By default, I think the vxml script is waiting for a response from the php.
Any ideas on what i can do?
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
continue even though php script takes a long time.
-
- Posts: 50
- Joined: Wed Oct 04, 2006 1:34 pm
- Location: SOCAL
- Contact:
on IVR platform, all PHP and VXML code is executed serially
Hi,
Unfortunately, using the IVR platform, there is no way to do what you describe on it. All PHP and VXML code is executed serially. There is no convenient method of "threading" in either PHP or the VXML interpreter.
You could always just say "thank you, goodbye" before any POSTing happens. If, on the other hand, it is important to properly inform the caller of the outcome of the submit/POST, they will just to wait until the POST succeeds, or some timeout value is reached.
Regards,
Plum Support
Unfortunately, using the IVR platform, there is no way to do what you describe on it. All PHP and VXML code is executed serially. There is no convenient method of "threading" in either PHP or the VXML interpreter.
You could always just say "thank you, goodbye" before any POSTing happens. If, on the other hand, it is important to properly inform the caller of the outcome of the submit/POST, they will just to wait until the POST succeeds, or some timeout value is reached.
Regards,
Plum Support