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
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
Comment