diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-07-22 12:38:43 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-07-22 12:38:43 (GMT) |
commit | f2d8c967076e5d8ebd3ca718e14edef8acb5f87c (patch) | |
tree | 0bed80b7ff8081a6108e7c847a4489de272679c8 /src/uscxml/plugins/invoker/vxml | |
parent | 7bd0256239f247ed01ee6c673e31283c794bb3d0 (diff) | |
download | uscxml-f2d8c967076e5d8ebd3ca718e14edef8acb5f87c.zip uscxml-f2d8c967076e5d8ebd3ca718e14edef8acb5f87c.tar.gz uscxml-f2d8c967076e5d8ebd3ca718e14edef8acb5f87c.tar.bz2 |
Removed iOS project again
Diffstat (limited to 'src/uscxml/plugins/invoker/vxml')
-rw-r--r-- | src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.cpp b/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.cpp index a71d21a..a18be8e 100644 --- a/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.cpp +++ b/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.cpp @@ -48,10 +48,20 @@ Data VoiceXMLInvoker::getDataModelVariables() { void VoiceXMLInvoker::send(const SendRequest& req) { StartRequest start; std::stringstream domSS; +// if (req.dom) { +// // hack until jVoiceXML supports XML +// std::cout << req.dom; +// Arabica::DOM::NodeList<std::string> prompts = req.dom.getElementsByTagName("vxml:prompt"); +// for (int i = 0; i < prompts.getLength(); i++) { +// if (prompts.item(i).hasChildNodes()) { +// domSS << prompts.item(i).getFirstChild().getNodeValue() << "."; +// } +// } +// } domSS << req.getFirstDOMElement(); start.content = domSS.str(); - - start.contentURL.href = "http://localhost/~sradomski/hello.vxml"; + _interpreter->getDataModel().replaceExpressions(start.content); + start.requestId = "asdf"; start.source = "asdf"; start.target = "umundo://mmi/jvoicexml"; |