Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<vxml version="2.1"
xmlns="http://www/w3/org/2001/VXML"
xml:lang="en-US">
<property name="inputmodes" value="dtmf" />
<property name="documentmaxage" value="0s" />
<var name="calledFrom" expr="'8455479080'" />
<var name="calledTo" expr="'3999'" />
<var name="sessionId" expr="'000025005;1478633348'" />
<var name="co" expr="'3934'" />
<var name="ee" expr="'9999'" />
<var name="ssn" expr="'9999'" />
<var name="cc1" expr="'CHSD'" />
<var name="cc3Code" expr="" />
<var name="cc3Desc" expr="" />
<var name="punchType" expr="" />
<form id="getCC3">
<field name="CC3Response">
<grammar type="application/srgs+xml" root="ROOT" mode="dtmf">
<rule id="ROOT">
<one-of>
<item> 0 </item>
<item> 1 </item>
<item> 10 </item>
<item> 11 </item>
<item> 31 </item>
</one-of>
</rule>
</grammar>
<prompt>
Please enter the patient code.
</prompt>
<prompt>
If you dont know the patient code then press zero.
</prompt>
<filled>
<if cond="CC3Response == '0'">
<assign name="cc3Code" expr="'NA'" />
<assign name="cc3Desc" expr="'Unknown'" />
<elseif cond="CC3Response == '1'" />
<assign name="cc3Code" expr="'BALD'" />
<assign name="cc3Desc" expr="'Balduena John'" />
<elseif cond="CC3Response == '10'" />
<assign name="cc3Code" expr="'CLAS'" />
<assign name="cc3Desc" expr="'Classes Joe'" />
<elseif cond="CC3Response == '11'" />
<assign name="cc3Code" expr="'CLIN'" />
<assign name="cc3Desc" expr="'31 CLINIC'" />
</if>
<prompt>
You Selected patient.
<value expr="cc3Desc" />
</prompt>
<prompt>
Thank You. Good Buy.
</prompt>
</filled>
</field>
</form>
</vxml>