PDA

View Full Version : digits entry for menu and direct ext dial?


savadmin
05-03-2010, 04:25 PM
Hi all,
I have a 2 level auto attendant with the possibility of dialing a single digit for a group, or dialing the extension directly in each level.

In my case the extensions are in the 1000 - 1999 number range. when calling into the AA the caller can never get beyond entering the first digit. As soon as the first digit is dialed the AA interprets it as input to the single digit menu and then attempts to transfer the call.

Is there a way to tell the AA to wait and see if there are more digits before interpreting the single digit menu entry?

Here's an excerpt of the xml code:

<block>
<prompt bargein="true"> <audio src="mainwelcome.wav" /> </prompt>
<goto nextitem="field1"/>
</block>
<field name="field1" type="digits?length=4" modal="false">
<!-- link dtmf="*0" next="#vmform" /-->
<!-- link dtmf="*1" next="#loginform" /-->
<!-- link dtmf="*2" next="#loginform" /-->
<!-- link dtmf="*4" next="#fwform0" /-->
<!-- link dtmf="#" next="#dirspell" /-->

<link dtmf="1" next="#vrshipping" />

<prompt timeout="5s" bargein="true">
<audio src="mainmenu.wav" />
</prompt>

<option dtmf="2" value="1201" />

<option dtmf="3" value="1063" />

<option dtmf="4" value="1004" />

<option dtmf="5" value="1007" />

<option dtmf="0" value="1001" />

<filled>
<goto nextitem="field2" />
</filled>
</field>
<object name="field2" classid="dial">
<param name="pattern" expr="field1" />
<filled>
<prompt> <audio src="timeover.wav" /> </prompt>
<exit/>
</filled>
<nomatch>
<prompt> <audio src="attinvext.wav" /> </prompt>
<goto nextitem="field1" />
</nomatch>
</object>

any help or insight is appreciated.

Majid

arsen
05-04-2010, 07:38 AM
Hi Majid,

As you probably have noticed, the problem is in the following link
<link dtmf="1" next="#vrshipping" />

As soon as you press 1, input is indeed completed and there is no way to wait for additional digits. I'd suggest to use * codes for the links. Of course, you can use other DTMFs as well, which are not correlated with your extensions. Given the range of the extensions 1000 -1999, an arbitrary digit (for example: 2,3,4 and everything else but 1) can be used there.
<link dtmf="2" next="#vrshipping" />

Please let me know in case of any questions.
________
LovelyWendie99 (http://www.lovelywendie99.com/)
________
Laguna Heights Condo Wong Amat (http://pattayaluxurycondos.com)

savadmin
05-04-2010, 07:04 PM
Hi Arsen
thanks for the suggestion. I will try and work it through to see what can be done.

Brgds