Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Body of Root.xml:
- <?xml version="1.0"?>
- <vxml version="2.0">
- <var name="ichipnumber"/>
- <var name="ssnlastfour"/>
- <var name="dob"/>
- </vxml>
- ===================================================================
- Body of FirstGreeting.xml
- <?xml version="1.0"?>
- <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
- <form>
- <block>
- <prompt>
- Welcome to the Amerigroup Identification Card Activation Line.
- </prompt>
- <goto next="http://66.196.252.10/plum/GeneralForms/LanguageSplit.xml"/>
- </block>
- </form>
- </vxml>
- ==================================================================
- Body of LanguageSplit.xml
- <?xml version="1.0"?>
- <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
- <menu id="languagesplit">
- <prompt>
- For English, press 1 or say English.
- For Spanish press 2 or say Spanish.
- </prompt>
- <choice dtmf="1" next="http://66.196.252.10/plum/EnglishForms/English_Start.xml">English</choice>
- <choice dtmf="2" next="http://66.196.252.10/plum/SpanishForms/Spanish_Start.xml">Spanish</choice>
- </menu>
- </vxml>
- ===================================================================
- Body of English_Start.xml
- <?xml version="1.0"?>
- <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
- <form>
- <block>
- <prompt>
- To activate your card we will need to collect some information from you.
- During this process, please have your card in hand to refer to.
- You can press zero at any time in the activation process to speak to a customer
- care representative or press the star key to start over.
- </prompt>
- <goto next="http://66.196.252.10/plum/EnglishForms/English_GetiChipNumberPt1.xml"/>
- </block>
- </form>
- </vxml>
- ====================================================================
- Body of English_GetiChipNumberPt1.xml
- <?xml version="1.0"?>
- <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
- <form>
- <subdialog name="info" src="http://66.196.252.10/plum/EnglishForms/English_CollectiChipNumber.xml"/>
- <block>
- <assign name="ichipnumber" val="'squeak'"/>
- <prompt>
- we're back.
- You entered <value expr="info.chipnumber"/>.
- And the value of eye chip number in root is <value expr="ichipnumber"/>.
- Goodbye.
- </prompt>
- </block>
- </form>
- </vxml>
- ====================================================================
- Body of English_CollectiChipNumber.xml
- <?xml version="1.0"?>
- <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
- <form>
- <property name="completetimeout" value="30s"/>
- <property name="termchar" value="#"/>
- <field name="chipnumber">
- <grammar type="application/x-jsgf" mode="voice">
- ( one | two | three | four | five | six | seven | eight | nine | zero )+
- </grammar>
- <grammar type="application/x-jsgf" mode="dtmf">
- ( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
- </grammar>
- <prompt>
- First we need to verify your identity.
- <!--By using the telephone keypad or by speaking, please enter or say
- the sixteen digit eye Chip number located on the back of your Card
- followed by the pound sign.-->
- </prompt>
- <filled>
- <prompt>
- You entered <say-as interpret-as="vxml:digits">
- <value expr="chipnumber"/>
- </say-as>
- </prompt>
- </filled>
- </field>
- <block>
- <!--<prompt>
- One moment while we process your information.
- <break time="1s"/>
- </prompt>-->
- <!-- check if number is a valid card number before returning -->
- <return namelist="chipnumber"/>
- </block>
- </form>
- </vxml>
- ====================================================================
- Body of English_GetiChipNumberPt2.xml
- <?xml version="1.0"?>
- <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
- <menu>
- <prompt>
- You entered <value expr="ichipnumber"/>
- Is this correct? If so press 1 or say yes.
- Otherwise press 2 or say no.
- </prompt>
- <choice dtmf="1" next="http://66.196.252.10/plum/EnglishForms/English_GetSSNLastFour.xml">
- Yes
- </choice>
- <choice dtmf="2" next="http://66.196.252.10/plum/EnglishForms/English_WrongiChipNumber.xml">
- No
- </choice>
- </menu>
- </vxml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement