Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vectoring with an extension ANI

Status
Not open for further replies.

medeamedea

Technical User
Oct 11, 2007
61
US
Here's what I'm trying to do:
I have an extension that I would like only a specific set of extensions to be able to dial. I know I can use CORs for this but the default is Y on all of them and I have a lot of CORs to change.

I created a VRT 1, added the allowed extensions and did this:

1 goto step 2 if ani in table 1
2 route-to number xxxx with coverage n if unconditionally
3 goto step 4 if ani not-in table 1
4 route-to number 0 with coverage n if unconditionally

When tested, extensions that are not in table 1 are still getting through to step 2. Should this work??

Thanks!!
 
The way you have this written, it works perfectly. When the call is in the vrt it goes to step 2. If it fails the call drops to the next step which is going to the same place.
To correct this replace line 1 with line 3. That way if the number is not in the vrt it will goto step 4, otherwise the call will goto step 2 and be routed as you wish.
 
That's what I thought too, but my lab rat reports that she was able to dial it from her extension (in the table) AND another extension (not in the table). So the vector was not preventing the not-in table extension from transferring to the forbidden extension.
Is there a setting somewhere that is causing the override?
 
no, the issue is the way the vector is written.

If step 1 is true then goto step 2.
if step 1 is flase then goto step 2.

Should write the vector like

1 goto step 4 if ani not-in table 1
2 route-to number xxxx with coverage n if unconditionally
3 stop
4 route-to number 0 with coverage n if unconditionally
5 stop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top