Callfire IVR XML: number over flow to the next menu..

16 views
Skip to first unread message

Natraj

unread,
Sep 15, 2011, 5:32:51 AM9/15/11
to CallFire
Hi,

In a callfire IVR menu, when a define two menu options.. say Dat of
Birth(DOB), and Social Security Number( SSN) :
In the DOB menu, I specify maxDigits=8, and SSN has maxDigits=9

But if the user enters 9 digits for DOB, that extra digit overflows to
the SSN option. Is there any way I can clear the lastinput before a
menu executes?

thanks,
Natraj

William Hughes

unread,
Sep 15, 2011, 12:06:36 PM9/15/11
to call...@googlegroups.com
Natraj,

First collect them and store them as variables in separate menus. Then  there will be no overflow. Second, always use the pound sign, or hash mark (#), to end input. So for the DateOfBirth, ask for 9 digits, "Please enter your Date of Birth as month-month, day-day, year-year, followed by the pound sign." and set the maxDigits in the menu to 9.

For SSN, set the maxDigits to 10 and say "Please enter your 9-digit Social Security Number, followed by the pound sign."

Hope this helps,

Bill
CallFire
--
Bill Hughes
CallFire Solutions Team
bi...@callfire.com
Direct: 213.221.2219
Sales: 877.897.FIRE

Natraj

unread,
Sep 19, 2011, 5:18:27 AM9/19/11
to CallFire
Hi Bill,
I'm currently storing each menu input into variables. That isn't
stopping the overflow.
Secondly what you're suggesting (asking the user to end with a '#' )
also will not work.
For eg: in the case of an SSN, I can set the maxDigits as 10, and take
the first 9 as my data.
Now we have one extra check where we're checking if the 10th digit is
a #. But a user that enters <9 digits>#<1 digit> that will still
overflow.

Natraj


On Sep 15, 9:06 pm, William Hughes <b...@callfire.com> wrote:
> Natraj,
>
> First collect them and store them as variables in separate menus. Then
> there will be no overflow. Second, always use the pound sign, or hash mark
> (#), to end input. So for the DateOfBirth, ask for 9 digits, "Please enter
> your Date of Birth as month-month, day-day, year-year, followed by the pound
> sign." and set the maxDigits in the menu to 9.
>
> For SSN, set the maxDigits to 10 and say "Please enter your 9-digit Social
> Security Number, followed by the pound sign."
>
> Hope this helps,
>
> Bill
> CallFire
>
> On Thu, Sep 15, 2011 at 2:32 AM, Natraj <natraj.guj...@gmail.com> wrote:
> > Hi,
>
> > In a callfire IVR menu, when a define two menu options.. say Dat of
> > Birth(DOB), and Social Security Number( SSN) :
> > In the DOB menu, I specify maxDigits=8, and SSN has maxDigits=9
>
> > But if the user enters 9 digits for DOB, that extra digit overflows to
> > the SSN option. Is there any way I can clear the lastinput before a
> > menu executes?
>
> > thanks,
> > Natraj
>
> --
> Bill Hughes
> CallFire Solutions Team
> b...@callfire.com
> Direct: 213.221.2219
> Sales: 877.897.FIRE

Punit Shah

unread,
Sep 19, 2011, 5:14:04 PM9/19/11
to CallFire
Actually Natraj,

Bill's solution should work. The # sign is never interpreted as a
digit. It just signals to the system that the input is over.

Another possibility is setting the maxDigits="" This will allow the
user to enter any number of digits before pressing # to end the
input.

Thanks,
Pete

Natraj

unread,
Sep 19, 2011, 9:17:21 PM9/19/11
to CallFire
Thanks, Bill & Punit. That clarifies it.
So, a '#' is always an end to the input.
Stating a corollary here.. I can never get a user to input something
like #1234 as data, right?

Natraj
Reply all
Reply to author
Forward
0 new messages