[Seaside] IVR VXML raw output
Bob N.
bobn at rogers.com
Wed Apr 14 14:06:17 UTC 2010
We're looking at providing a simple VXML interface to an IVR system
(Interactive Voice Response).
The interface uses VXML data, of the form...
<?xml version="1.0"?>
<vxml ...>
<form>...some content...</form>
</vxml>
...which we can test easily with PHP scripts.
The IVR system requests a VXML file for the telephone dialog from a defined
URL.
The VXML includes a response parameter which passes the answer a URL
parameters, like:
http://somehostname:7079/IVR?EmpNum=1234&Phone=person@4165551212<http://hostname:7079/IVR?EmpNum=1234&Phone=person@4167987948>
Consuming the answer is easy enough. We then need to answer a confirmation
VXML to terminate the call.
If I use something as simple as...
renderXmlAnswerOn: html
self requestContext respond: [:response |
response
nextPutAll: self xmlAnswerString ;
yourself]
I end up with a response that is very close: it has the VXML content, but it
also has the '<!DOCTYPE html ... body onload="onLoad()">' header.
Is there a simple way to answer raw XML from Seaside without the
'<!DOCTYPE...' header?
>From searching previous posts, no simple solution was obvious. Hopefully
that's not the case.
Thanks for any help,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100414/1c331590/attachment.htm
More information about the seaside
mailing list