How do I call a <subdialog> tag in VXML, and how do I
Posted: Wed Aug 27, 2003 4:41 pm
Am I able to call another vxml script using the <subdialog> tag. The end goal is to call a log_call.vxml script when I am ending a call and pass if some information about this call. This is an example of what I am trying to do:
If I look at the call log, this is throwing an error.semantic when it hits the <form> tag in the log_call.vxml. However, it does seem to initialize all of the variable declared outside of the <form> tag:
Code: Select all
<subdialog name="oResult" src="../global/log_call.vxml">
<param name="doc_appname" expr="app_appname"/>
<param name="doc_origdate" expr="app_origdate"/>
</subdialog>
If I look at the call log, this is throwing an error.semantic when it hits the <form> tag in the log_call.vxml. However, it does seem to initialize all of the variable declared outside of the <form> tag:
(name="sqlMethod" expr = "'NEW'")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="dbName" expr = "'plum'")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="sqlQuery" expr = "")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="dbHost" expr = "")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_origdate" expr = "")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_appname" expr = "")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_dnis" expr = "session.telephone.dnis")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_ani" expr = "session.telephone.ani")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_id" expr = "session.id")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_invalid_dnis" expr = "0")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: VXI::var_element(name="doc_enddate" expr = "")
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] DEBUG: VXI::ProcessRootScripts - done
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] DEBUG: VXI::RunOuterLoop - new document
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] DEBUG: VXI::RunInnerLoop()
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] DEBUG: VXI::FormInit()
Wed 27 Aug 2003 05:39:44 PM EDT (000000;000;1062019949) [vxi] EVENT: received event: error.semantic