How is the # key treated differently from the other DTMF key

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

How is the # key treated differently from the other DTMF key

PostFri Jun 13, 2003 2:12 pm

The # key is the default key for terminating DTMF input. The # key itself can be captured if it is specified within a grammar:

Code: Select all
<form id="pound_test">
  <field name="foo">
    <grammar>1|2|"#"</grammar>
    <prompt>Please press one, two or the pound key</prompt>
    <filled>
      <if cond="foo == '#'">
        You pressed the pound key.
        <else />
          You did not press the pound key.
      </if>
    </filled>
  </field>
</form>


If the # key is not specified in grammar, it is ignored.

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron