help • 15 Numbers and Number Mappings • Number concept
15.2 Number concept
Every user is assigned a public number.
Conversely, each user and each trunk group is assigned one location as a property. The location property also defines information relating to the number, e.g., country code and area code, as well as the public line access number. Each source of a call (user or trunk) and each destination of a call (user or trunk) can then be related to a location and thus to information about the composition of the number (e.g. country code, local area code, public line access).
Example of a number concept
The following example shows that every SwyxWare user can have several different numbers in different public networks. Each public number can be assigned to exactly one user.
User
 
Number
Tom
internal
323
Tom is identified internally by his internal number
external
4430555 55666-323
Tom's "London" external number
44151 89 00 -99
Tom's "Liverpool" external number
For outgoing calls, both numbers are signaled as CallerID, depending on which trunk is in use.
Uwe
internal
222
Uwe is identified internally by his internal number
external
4430555 55666-222
Uwe's "London" external number
sip:uwe.jones@company.com
sip:uwe.jones@company.com
sip:jones@company.com
Uwe's further external SIP addresses
Jane
internal
410
Jane is identified internally by her internal number
external
4430555 55666-410
Jane's "London" external number
44151 2 00 -99
Jane's German office
The following image shows the installed trunk groups (TG1-6) and the associated routings (WL) in diagram form.
Fig. 15-1: Configuration example for a number plan, trunk groups (TG) and routing (WL)
To call another SwyxWare user, only the internal number can be dialed, even if these users are based at different locations. Calls to external numbers that cannot be routed within SwyxWare are forwarded to the outside world according to the routing records (WL) that were specified on the trunk groups.
Routing
Outgoing calls from SwyxWare are forwarded via the ISDN trunk group TG3 in London into the public network.
Calls to Germany (+49*) are also forwarded via the ISDN trunk group TG1 in Berlin into the public network. The calls going directly to Munich (+4989*) use the ISDN trunk group TG2. It is the priority or the call permission of the user (e.g. local calls only) which determines whether a call to Munich is forwarded via the trunk in Munich (TG2), the trunk in Berlin (TG1) or the trunk in Dortmund (TG3).
Calls going to England are forwarded via the SwyxLink trunk TG4 to England, and handled there according to the prevailing routing there.
Calls going to the USA (+1*) and Switzerland (+41*) are forwarded via the SIP trunk group TG6.
Calls directed to URLs, which are in the domain of a SIP provider (here freecall.com), are forwarded via the SIP trunk group TG5.