So I currently have an IVR written in some dodgy old code which is confusing and goes way over the top for some things.
I'm wanting to re-write one of my basic IVRs with VXML.
So a little bit of research is that I can call perl scripts which I can use to run data past databases, that part isnt to bad.
My question is how, or what is the syntax to use to "hold" or save the dtmf input for a menu, and then pass it to the perl script.
Question two.
Hosting of the VXML IVR. Are there any guides to setting up a test service? I have a PABX, and a few servers I can play around with.
To specifically answer your DTMF question, just use
<submit>
to send the DTMF input to the perl script, using the attributenamelist
(which is just a list of variables that you need to send).Also, from the VXML 2.0 specification:
"The
<submit>
element is used to submit information to the origin Web server and then transition to the document sent back in the response. Unlike<goto>
, it lets you submit a list of variables to the document server via an HTTP GET or POST request. For example, to submit a set of form items to the server you might have:"