vxml

Optional param in VXML subdialog


For our product we have to use a VXML subdialog to another external file, but this given subdialog have less var elements than the param elements we are sending.

Here is an example

<subdialog ...>
<param name="Param1" expr="'1'"/>
<param name="Param2" expr="'2'"/>
...
</subdialog>

In the caller, and

<form ...>
<var name="Param1"/>
...
</form>

Is there a way to declare a param as optional in a subdialog ?

Many thanks,


Solution

  • As an answer to myself, sadly there is no possibility you can pass more parameters to a subdialog than it expects.

    Thus, we have to pass the exact same amount of parameters as the numbers of variables that are declared in the form.