Jump to content

Rewrite global numbers


natedev

Recommended Posts

Regarding the "Rewrite global numbers" dropdown on the Trunk Settings, I read this in the Wiki:

"When you are using a trunk, you might have to represent the telephone number is a specific format. For example, in the NANPA area, you might want to use 10 or 11 digits to represent a national number. If you are using several trunks, you can represent the same number in different styles depending on the trunk"

 

The documentation doesn't spell out what this setting really does. Can anyone provide an example of how this setting affects users? Does it just reformat the caller ID? I've tried changing it but haven't seen any effects.

Link to comment
Share on other sites

Regarding the "Rewrite global numbers" dropdown on the Trunk Settings, I read this in the Wiki:

"When you are using a trunk, you might have to represent the telephone number is a specific format. For example, in the NANPA area, you might want to use 10 or 11 digits to represent a national number. If you are using several trunks, you can represent the same number in different styles depending on the trunk"

 

The documentation doesn't spell out what this setting really does. Can anyone provide an example of how this setting affects users? Does it just reformat the caller ID? I've tried changing it but haven't seen any effects.

 

When the domain has the area code set, the PBX convers the incoming numbers into the +xxx format. You see that when you look at the call log from the system admin level. Then when calls are leaving the PBX, it converts the numbers back into human-readable format, or "carrier-readable" format. That's it.

 

The dial plan also processes the numbers in human-readable format. No more worrying about numbers 1xxxxxxxxxx format or xxxxxxxxxx, or even +1xxxxxxxxxx (it is always xxxxxxxxxx, just like you have it on your cell phone if you are in the USA/Canada).

 

There is a big difference between the "1" area code and all other area codes. Because the "1" area code means that numbers usually have 10 digits (exceptions being x11, 011 and 555 numbers). The PBX tries to be tolerant against different ways of representing regular 10-digit numbers, e.g. starting eith "1" and having 11 digits or 7-digits for local calls.

 

For non-"1" area codes, the PBX assumes that international numbers start with 00, national numbers with 0 and local numbers 1-9. Extensions have less than 6 digits.

 

If you don't want all the magic, you can leave the country code field empty. Then the PBX treats numbers just as strings without trying to be smart.

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...