Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's assume our SIP trunk contains the following block of numbers:

0891234567[0-9]

And we choose follwowing internal numberblock with 3-digit numbers:

67[0-9]

Gateway Group

In the Gigaset PBX go to "Administration" - "Routes" - "Gateway groups" enter a name for the new group and click on: Create new group

...

Section
Column
width40%

 

Example of Deutsche Telefon Standard Trunk gateway group settings.

Column
width60%

Outbound caller ID

As just the last digit of the trunk number block is changing, you can select just the last digit (in brackets) and put it into the variable $1. As the provider wants the signalling number in the format +(country-code)(city-code)(number), you have to enter this number into the next line (here: +49891234567$1, where the $1 represents the changing part).

The provider will take care about the number representation to the called party. He will present e.g. 08912345678 to the calling party.

Info
titleModifications

In case you are using not 3-digit extensions like 123, but 2- or 4-digits, you have to change the Search/replace pattern.

In our example we are using 3-digits, where only the last digit (inside the brackets) is taken into account.

For 2-digits it can look like this:

^(\d\d)

+4989123456$1

Now we're using the complete range from 10 to 99 as extensions, because \d\d is inside the bracket. Therefore we also have to remove the '7' from the 2nd line.

When extension 34 is dialing out, the resulting number would be +498912345634

 

Asserted Identity

These fields are used specially for external forwardings. Some providers need special settings in order to present the correct number at the receiving party. For Deutsche Telefon Standard Trunk, you can the entries from the outbound caller ID fields e.g. ^\d\d(\d) and +49891234567$1

Inbound DIDs

For incoming calls, you can use the regular expression, generated by the setup assistant. In your case you would have to adjust the city-code and the pilot-number, according to your line-settings.

^(?:(?:(?:0049|\+49|49|0)?89)?12345)?(.*)

This expression cuts all possibly available country- and city-codes and the pilot-number from the incoming number and only the extension is remaining (here: 678). This will be forwarded to the Inbound Routes.

Inbound caller ID

For incoming calls, we will add an additional 0 in front of the external number of the caller, in order to use the callback-feature of the phone (e.g. 0089987654321). During the call-setup the additional 0 will be automatically removed.

Gateways

This field will be empty when you create this Gateway group. It will show later the assigned SIP gateways.

...