Discarding dial-ahead digits

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • nickhenderson
    Aspiring Member
    • Jul 2012
    • 1

    Discarding dial-ahead digits

    Hi,

    Does anyone know a way of discarding dial-ahead digits in a vector?

    Currently I have a vector that routes to other vectors depending on digits dialed by the caller. At the first vector the caller presses 2 and then goes to a second vector for the next related options. The vectors are below.

    It seems callers are pressing 2 several times which gets stored in the dial-ahead digits. So at the second vector the 'collect digits' command collects the dial ahead digits and the caller never hears the announcements and gets put straight through to option 2 of the second vector.

    The ideal would be to clear the dial ahead digits at the beginning of the second vector or possibly to disable dial ahead digits completely. I've looked through the vectoring documentation but can't seem to work it out.

    Many thanks!

    Nick


    Vector 1
    01 wait-time 2 secs hearing ringback
    02 collect 1 digits after announcement 1101 for none
    03 goto vector 11 @step 1 if digits = 1
    04 goto vector 12 @step 1 if digits = 2
    05 stop

    Vector 11
    01 wait-time 2 secs hearing ringback
    02 collect 1 digits after announcement 1111 for none
    03 goto step 07 if digits = 1
    04 goto step 08 if digits = 2
    05 goto step 09 if digits = 3
    06 stop
    07 route-to number 1000 with cov y if unconditionally
    08 route-to number 1050 with cov y if unconditionally
    09 route-to number 1055 with cov y if unconditionally
    10 stop
  • rapplin
    Aspiring Member
    • Aug 2013
    • 1

    #2
    Try This...

    Not sure if you ever got a response for this, however you just need to do

    set digits = none add none

    after you've dealt with the entered digits

    01 Collect 1 digits after announcement 1234
    02 goto step 13 if digits = 1
    03 goto step 23 if digits = 2
    04 goto step 33 if digits = 3
    05 goto step 43 if digits = 4
    06 set digits = none add none
    07 collect 1 digits after announcement 1235
    08 goto step 13 if digits = 1
    .
    .
    13 set digits = none add none
    14 route to 1001 with coverage y if unconditionally
    15 busy
    16 stop
    .
    .

    Comment

    Loading