Should PBX know a call is internal?

Status
Not open for further replies.

i3ioi-iazard

Member
Mar 14, 2018
52
0
6
36
Should FusionPBX know that a call is internal by default?

When we dial our 4 digit extension obviously that is internal and all is well. What about if you dial their 10 or 11 digit number? (234-456-8900 or 1-234-456-8900) Should Fusion know to treat that as internal or does a dial plan need to be set so that it recognizes that the number is internal? Cant seem to logically think this out.

The issue we are having is when i dial for example extension 2104 the correct CID and my extension is passed. When i dial the full number (still internal) the CallerID shows as Calgary, AB (where the number is from) for Name and the full +1234568900 for the number. This leads me to believe that this call is not being treated as internal.

How can i make it so that even if someone dials the full internal number from their internal phone, the calls will be treated as internal?
 

ad5ou

Active Member
Jun 12, 2018
892
204
43
By default, no the system will route the call via outbound route assuming there is a valid match. The call would be sent to your gateway then routed back in as an external call.

There is a dialplan called “is_local” that can be enabled to keep calls on your system only. The only problem is the script is_local calls expects an exact match.
For example if your inbound route is +12125550000 and your users only dial 2125550000 it will not be considered “local”

You can generate custom dial plans to get around the issue but will quickly become a hassle if you have a lot of numbers especially in a multi tenant environment
 

i3ioi-iazard

Member
Mar 14, 2018
52
0
6
36
Thanks for the information.

Right now i have the inbound route as 11234567891. Our users always typically always dial either the extension, 4 digits in our case which of course is working internally or they dial 1234567891

I don't want to make changes that would mess anything up. How can I set this up so that it checks for the below to be local?

+11234567891
11234567891
1234567891

Does this have impact on calls that are external at all? What happens if someone is spoofing their number to appear from our internal domain?

By default, no the system will route the call via outbound route assuming there is a valid match. The call would be sent to your gateway then routed back in as an external call.

There is a dialplan called “is_local” that can be enabled to keep calls on your system only. The only problem is the script is_local calls expects an exact match.
For example if your inbound route is +12125550000 and your users only dial 2125550000 it will not be considered “local”

You can generate custom dial plans to get around the issue but will quickly become a hassle if you have a lot of numbers especially in a multi tenant environment
 
Last edited:
Status
Not open for further replies.