limit phone usage for an extension

Status
Not open for further replies.

mrjoli021

Member
Jul 20, 2017
133
2
18
47
Hello,

I have an extension that is in a common area. We would like to limit that extension to only internal dialing and 911. Not sure how to do this. Could someone please point me in the right direction.

Thanks,
 

mrjoli021

Member
Jul 20, 2017
133
2
18
47
I found this online, but it does not seem to work. What am I missing? The extensions are three digit extensions starting with 2XX.

1693429011274.jpeg
 

mrjoli021

Member
Jul 20, 2017
133
2
18
47
I have several domains on this box and this particular domain has about 25 extensions. If I set the condition to ${toll_allow} Outbound on my Global Outbound route, then no one can make calls except if I add Outbound to each extension. Is there a way to that I can only change one extension? So all calls are good except if they have a restriction on them
 

dcitelecom

Member
Oct 20, 2021
153
3
18
61
- you need to create 2 outbound routes e.g. internal and 911 (911 should not be in the same outbound route)
- use regex to define the numbers each route can call.
e.g. internal = ^[2][0-9](\d{1
and 911 = (^911$|^933$)
- allow the 2 routes in extensions toll allow.
 

mrjoli021

Member
Jul 20, 2017
133
2
18
47
The Extensions for this domain are 3 digit extensions. I created a local gateway and added a route for the 3 digits under the local GW. In the local route I named the toll Local. I know I would still need to add another route specific for 911.
I then tested my extension and was still able to dial out to the PSTN. From there I went into the extension I am trying to restrict from making PSTN calls and added the toll "Local" to it. After saving the extension, I dialed my 10 and 11 digit PSTN call and it still went through. What am I missing? The Global calls Dont have the ${toll_allow} set just the Local.d3 route does.


CapturFiles-202309264_190962.jpg1695340982670.jpeg
 
Status
Not open for further replies.