Using vector/VDN variables with route-to number ~r to activate NCR

Last Updated : Sep 08, 2012 |

The number field of the route-to number ~r vector command can be administered with a global vector variable A-Z or AA-ZZ instead of a PSTN endpoint number after the leading ~r characters. The number field of the route-to number ~r vector command can also be administered with a VDN variable V1-V9 instead of a PSTN endpoint number after the leading ~r characters.

An example of using the route-to number ~r vector command with a vector variable in the number field is shown in the following example. For this example, it is required in the Variables for Vectors screen that the following administration is done:

  • Vector variable A is defined as of type collect for digit-buffer and L for local

  • Vector variable T as of type tod to contain the current system clock time-of-day value


1.  goto step 5 if T < 0700      [if time-of-day is less than 7:00 a.m., set up NCR
                                   call-redirection to out of hours PSTN endpoint]
2.  goto step 5 if T > 1800      [if time-of-day is after 6:00 p.m., set up NCR
                                  call-redirection to out of hours PSTN endpoint]
3. set A = none CATR 18005555555   [set digit-buffer to in-office
                                                 hours PSTN endpoint number]
4. goto step 6 if unconditionally [jump to step 6 to do NCR call-redirection ]
5. set A = none CATR 18661111111 [set digit buffer to out-of-office hours
                                               PSTN endpoint number]
6. route-to number ~rA [initiate NCR call-redirection operation]