I'm using the Netvanta UC Server and I need to block the dialing of a specific number. One of our employees is suspected of abusing our office phones, in particular having lengthy calls to the same number that do not appear to be business related. I would like to block calls to this number, originating form our system, from going through. Is this possible?
Ok, that actually does do it.
Communication Services -> Netvanta_ECS -> "Routing" -> Add a rule in Dial Plan AND a rule in Toll Restrictions to block the number.
We also have the system auto-add a 1 prefix where 9 digits are dialed (easy long distance), so I had to add a Dial Plan rule using the offending number set to skip the first digit. (1##########) That seems to have taken care of it, for anyone else that may have the same question.
Edit: I think I can achieve this through Toll Restrictions. Unless anyone knows of a better way...?
Ok, that didn't seem to do anything. If anyone knows how to block outgoing calls to a specific number, that would be great.
Ok, that actually does do it.
Communication Services -> Netvanta_ECS -> "Routing" -> Add a rule in Dial Plan AND a rule in Toll Restrictions to block the number.
We also have the system auto-add a 1 prefix where 9 digits are dialed (easy long distance), so I had to add a Dial Plan rule using the offending number set to skip the first digit. (1##########) That seems to have taken care of it, for anyone else that may have the same question.
Thanks for using ADTRAN Support Forums.
You were headed in the right direction.
Lets say in this example you want to block 2222 from dialing 111-111-1111
Go to Toll Restrictions and right click and select “Add”
Then uncheck the “Allow these types of calls:” box, then enter the following:
Calling Number: 2222
Called number: 1111111111@.+
Priority: 1
Let us know if you need anything else.
-Mark
Yes the toll restrictions are done after the match in the dial plan, so you would match on whatever pattern you have in the Digits of your Dial plan.
-Mark
Would you necessarily need the @.+ at the end of the number, or would entering it in as just 1111111111 be sufficient?
For my purposes, since we're not exactly sure who this user is, I just used .* as the calling number.
The Toll Restrictions is a very flexible feature that allows you to block calls not only on phone number but also on which gateway and port your sending call to.
If you do to the CALL ROUTER log file (C:\Program Files (x86)\ADTRAN\NetVanta UC Server\SIPPBX\logs\CALLROUTER\) and then go to bottom of the log_0 file you will see all your call history.
What you are looking for is an entry that says “…getRoutes FOUND [1111111111@ucgateway:5060(CallRoute: …..”
Ucgateway is my PSTN gateway I have configured in my network. It might be an IP address for you.
So what the Toll Restrictions is looking at is 1111111111@ucgateway:5060
So the .+ is a regular expression which means match one or more digits
So what you are matching on is 1111111111@.+
If you wanted to be very specific then you could match on 1111111111@ucgateway:5060
The 1111111111@ will match the exact number and the @ is what is after the number meaning it couldn’t have more digits the .+ matches any gateway that the UC Server is sending the call too.
Hope that makes sense.
So if you just had 1111111111 it would never match the 1111111111@ucgateway:5060 which is what the UC Server is coming it to.
-Mark