We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

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

Answers to common Plum DEV questions

Moderators: admin, support

Locked
support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

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

Post by support »

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.

Locked