Hello,
The IVR code you posted should be working, however, without the full source or at least a list of active IVR grammars it is difficult to determine exactly what the problem is. Below is a working IVR example of using two global
<link> that will detect the difference between 11 and 111. Also, it is not necessary to provide a '#' at the end of an IVR grammar, the match will still occur without it. Keep in mind that local grammars take precedence over globally linked grammars, so you must not have a local grammar that can match the same value as your global link.
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<link dtmf="^11$" next="#pressed11"/>
<link dtmf="^111$" next="#pressed111"/>
<form id="form1">
<field name="field1">
<prompt>Please enter 2, 11, or 111</prompt>
<grammar>2</grammar>
<filled>
You pressed 2.
<goto next="#form1"/>
</filled>
</field>
</form>
<form id="pressed11">
<block>
You pressed 11.
<goto next="#form1"/>
</block>
</form>
<form id="pressed111">
<block>
You pressed 111.
<goto next="#form1"/>
</block>
</form>
</vxml>
Hope This Helps!
Plum Support