In the following example Vector Routing table includes the country codes for countries in South America, including the US international CPN prefix.
VECTOR ROUTING TABLE
Number: 10 Name: South America Sort? n
1: 01154 17:
2: 011591 18:
3: 01155 19:
4: 01156 20:
5: 01157 21:
6: 011593 22:
7: 011594 23:
8: 011592 24:
9: 011595 25:
10: 01151 26:
11: 011598 27:
12: 01158 28:
13: 011597 29:
14: 011500 30:
15: 31:
16: 32:
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.