State of knowledge

January 2024

Basics and further practical examples: Location settings – advanced configuration

A numbering plan must be considered on a very customer-specific basis.
The practical example described here shows a possible approach, is for illustrative purposes only and is not a ready-made solution that can be adopted 1-to-1 in the customer environment.

Challenge

Prefix per location – a location prefix has been added to internal phone numbers

In this scenario, a location-dependent prefix was added internally to the external extensions as a special feature.

Without a corresponding location configuration, problems would occur with internal dialing.

Location-dependent prefix

  • Berlin 91 (+ extension)
  • Hamburg 92 (+ extension)
  • Munich93 (+ extension)

Location

Phone number

DuWa ext. from

DuWa ext. to

DuWa int. from

DuWa int. to

Berlin

+49 30 123 - 0

100

999

91100

91999

Hamburg

+49 40 456 - 0

100

999

92100

92999

Munich

+49 89 789 - 0

100

999

93100

93999


Here you must also ensure that the lines are formatted correctly, as the user has the super-canonical number. 
For example, if the user has the telephone number (extension) +49 30 123 - 154, the internal telephone number of the corresponding line is 91154.

Therefore, in this example, the configuration is also necessary for only one location.

Procedure/implementation

Erkennung interner Rufnummern

The appropriate rules must be entered for each location in the UCServer administration under Telephone system → Internal rules using regular expressions.

Example screenshots: Location – Telephone system – Internal rules – Regular expression

The regular expressions under "Telephone system >> Internal rules" are intended to ensure that the correct E.164 number is determined from the respective internal number, for example for display in the call window.

TypeSearch for:Replace with:Comment
Regular expression^91([1-9][0-9][0-9])$+4930123\1RegEx for formatting the phone numbers from Berlin
Regular expression^92([1-9][0-9][0-9])$+4940456\1RegEx for formatting the phone numbers from Hamburg
Regular expression^93([1-9][0-9][0-9])$+4989789\1

RegEx for formatting the phone numbers from Munich


Formatting the line numbers

The appropriate rules for formatting must be entered for each location in the UCServer administration under Telephone system → Line numbers using regular expressions.

Example screenshots: Location – Telephone system – Line numbers – Regular expression


The regular expressions under "Telephone system >> Line numbers" should ensure that the correct E.164 number is determined from the respective internal number.

It is important that only the RegEx for the phone numbers of your own location is stored.

LocationTypeSearch for:Replace with:
BerlinRegular expression^91([1-9][0-9][0-9])$+4930123\1
HamburgRegular expression^92([1-9][0-9][0-9])$+4940456\1
MunichRegular expression^93([1-9][0-9][0-9])$+4989789\1

Formatting for outgoing dialing via ProCall

For each location, the appropriate rules for formatting must be entered in the UCServer administration under Rules formatting → PC selection via regular expressions.

Example Screenshots: Location – Rules Formatting – PC choice – Regular expression


The regular expressions under "Telephone system >> PC dialing" should ensure that the correct internal telephone number is determined from the respective E.164 telephone number.

TypeSearch for:Replace with:Comments
Regular expression^\+4930123([1-9][0-9][0-9])$91\1So that colleagues in Berlin are dialed internally
Regular expression^\+4940456([1-9][0-9][0-9])$92\1So that colleagues in Hamburg are dialed internally
Regular expression^\+4989789([1-9][0-9][0-9])$93\1

So that colleagues in Munich are dialed internally

Line groups

The location of the line groups can then be set to <Automatic>.

The RegEx in the locations under "Line numbers" automatically recognize which lines belong to which location, assign them to the corresponding location and determine the E.164 phone numbers.

Example screenshots: Properties for line group – Location settings – Location of the group – <Automatic>

Users

The phone number is then entered in the users in the format e.164 – this automatically assigns the line.

Example screenshot: Settings for users – Phone numbers – Select line – Phone number

Further information

Praxisbeispiel 2: Präfix pro Standort - Interne Rufnummern um Standort-Präfix erweitert

Location settings – advanced configuration