Advertisement
Guest User

Plum-LN IVR forms

a guest
Jul 2nd, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. Body of Root.xml:
  2.  
  3. <?xml version="1.0"?>
  4. <vxml version="2.0">
  5. <var name="ichipnumber"/>
  6. <var name="ssnlastfour"/>
  7. <var name="dob"/>
  8. </vxml>
  9.  
  10. ===================================================================
  11.  
  12. Body of FirstGreeting.xml
  13.  
  14. <?xml version="1.0"?>
  15. <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
  16. <form>
  17. <block>
  18. <prompt>
  19. Welcome to the Amerigroup Identification Card Activation Line.
  20. </prompt>
  21. <goto next="http://66.196.252.10/plum/GeneralForms/LanguageSplit.xml"/>
  22. </block>
  23. </form>
  24. </vxml>
  25.  
  26. ==================================================================
  27.  
  28. Body of LanguageSplit.xml
  29.  
  30. <?xml version="1.0"?>
  31. <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
  32. <menu id="languagesplit">
  33. <prompt>
  34. For English, press 1 or say English.
  35. For Spanish press 2 or say Spanish.
  36. </prompt>
  37. <choice dtmf="1" next="http://66.196.252.10/plum/EnglishForms/English_Start.xml">English</choice>
  38. <choice dtmf="2" next="http://66.196.252.10/plum/SpanishForms/Spanish_Start.xml">Spanish</choice>
  39. </menu>
  40. </vxml>
  41.  
  42. ===================================================================
  43.  
  44. Body of English_Start.xml
  45.  
  46. <?xml version="1.0"?>
  47. <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
  48. <form>
  49. <block>
  50. <prompt>
  51. To activate your card we will need to collect some information from you.
  52. During this process, please have your card in hand to refer to.
  53. You can press zero at any time in the activation process to speak to a customer
  54. care representative or press the star key to start over.
  55. </prompt>
  56. <goto next="http://66.196.252.10/plum/EnglishForms/English_GetiChipNumberPt1.xml"/>
  57. </block>
  58. </form>
  59. </vxml>
  60.  
  61. ====================================================================
  62.  
  63. Body of English_GetiChipNumberPt1.xml
  64.  
  65. <?xml version="1.0"?>
  66. <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
  67. <form>
  68. <subdialog name="info" src="http://66.196.252.10/plum/EnglishForms/English_CollectiChipNumber.xml"/>
  69. <block>
  70. <assign name="ichipnumber" val="'squeak'"/>
  71. <prompt>
  72. we're back.
  73. You entered <value expr="info.chipnumber"/>.
  74. And the value of eye chip number in root is <value expr="ichipnumber"/>.
  75. Goodbye.
  76. </prompt>
  77.  
  78. </block>
  79. </form>
  80. </vxml>
  81.  
  82. ====================================================================
  83.  
  84. Body of English_CollectiChipNumber.xml
  85.  
  86. <?xml version="1.0"?>
  87. <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
  88. <form>
  89. <property name="completetimeout" value="30s"/>
  90. <property name="termchar" value="#"/>
  91. <field name="chipnumber">
  92. <grammar type="application/x-jsgf" mode="voice">
  93. ( one | two | three | four | five | six | seven | eight | nine | zero )+
  94. </grammar>
  95. <grammar type="application/x-jsgf" mode="dtmf">
  96. ( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
  97. </grammar>
  98. <prompt>
  99. First we need to verify your identity.
  100.  
  101. <!--By using the telephone keypad or by speaking, please enter or say
  102. the sixteen digit eye Chip number located on the back of your Card
  103. followed by the pound sign.-->
  104. </prompt>
  105. <filled>
  106. <prompt>
  107. You entered <say-as interpret-as="vxml:digits">
  108. <value expr="chipnumber"/>
  109. </say-as>
  110. </prompt>
  111. </filled>
  112. </field>
  113. <block>
  114. <!--<prompt>
  115. One moment while we process your information.
  116. <break time="1s"/>
  117. </prompt>-->
  118. <!-- check if number is a valid card number before returning -->
  119. <return namelist="chipnumber"/>
  120. </block>
  121. </form>
  122. </vxml>
  123.  
  124. ====================================================================
  125.  
  126. Body of English_GetiChipNumberPt2.xml
  127.  
  128. <?xml version="1.0"?>
  129. <vxml version="2.0" application="http://66.196.252.10/plum/GeneralForms/Root.xml">
  130. <menu>
  131. <prompt>
  132. You entered <value expr="ichipnumber"/>
  133. Is this correct? If so press 1 or say yes.
  134. Otherwise press 2 or say no.
  135. </prompt>
  136. <choice dtmf="1" next="http://66.196.252.10/plum/EnglishForms/English_GetSSNLastFour.xml">
  137. Yes
  138. </choice>
  139. <choice dtmf="2" next="http://66.196.252.10/plum/EnglishForms/English_WrongiChipNumber.xml">
  140. No
  141. </choice>
  142. </menu>
  143. </vxml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement