Clearing the digits buffer

Last Updated : Jan 26, 2017 |

Once all necessary processing for the collected digits buffer has completed, this example describes how to use the set command to clear the collected digits buffer. This prevents the answering agent from viewing the data in the digits buffer. When the agent answers the call, the Info: display will be blank. The dial-ahead-digits buffer is not cleared by the set command.

									CALL VECTOR
Number: 9                Name: Clearing Digits Buffer Example
Multimedia? n      Attendant Vectoring? n    Meet-me Conf? n           Lock? n
     Basic? y   EAS? y   G3V4 Enhanced? y   ANI/II-Digits? y   ASAI Routing? y
Prompting? y   LAI? y  G3V4 Adv Route? y   CINFO? y   BSR? y   Holidays? y
Variables? y   3.0 Enhanced? y

01 collect   9    digits after announcement 1110500  for none
02 #  Assume the user typed in ten digits: 1234567896 (account number + 1)
03 #  Place the account number into the persistent variable GL
04 set       GL     = digits CATR  none
05 #  Remove digits from collected digits buffer so agents cannot see them
06 set       digits = none   CATR  none
07 queue-to     skill 5    pri h
08
09 #  Step 8 did not clear the dial-ahead digits, so digit 6 remains there
10 collect      1    digits after announcement 1115000  for none
11 #  collected digits is now 6, use that to route the call
12 goto step    20            if digits           =      6