The following vector example shows how calls are routed based on the administered international CPN prefix, country codes, and the information provided in the Vector Routing Table shown above.
1. wait-time 0 seconds hearing ringback 2. goto step 11 if ani = none 3. goto vector 1910 @step 1 if ani = 01149+ 4. goto vector 1912 @step 1 if ani in table 10 5. goto vector 1915 @step 1 if ani = 01152+ 6. goto vector 1920 @step 1 if ani = 011+ 7. queue-to split 16 pri m 8. wait-time 60 seconds hearing 32567 then music 9. announcement 32456 10. goto step 8 if unconditionally 11. route-to number 0 with cov n if unconditionally 12. busy
In the above example:
Step 2 checks for calls that do not have an associated ANI, and routes such calls to an operator.
Step 3 routes calls from Germany to a vector 1910.
Step 4 routes calls from South American countries, where the country codes are listed in the Vector Routing Table 10, to vector 1912.
Step 5 routes calls from Mexico to vector 1915.
Step 6 routes all other international calls to vector 1920. Calls that are not rerouted by the previous steps are then queued.