Routing calls between multiple Kerio Operators and the PSTN

NOTE

Redesigned in Kerio Operator 2.4!

Learn how to:

NOTE

For more information about connecting multiple Kerio Operator servers, see Connecting multiple Kerio Operators.

The sections below use the following example:

  • Two connected Kerio Operator servers up and running:
  • The main server, which has internal extensions 100 — 199
  • The branch server, which has internal extensions 300 — 399

Calling to the PSTN through the main server

To call to the PSTN via the interface of the main server:

  • Configure the interface on the main server.
  • Create an outgoing route on the branch server.

In the administration interface of the main server:

  1. Go to Configuration > Call Routing > Interfaces and routing of incoming calls.
  2. Double-click the interface for the branch server.
  3. Go to the Advanced tab.
  4. Select the Allow incoming calls to use outgoing routes option.
  5. Click OK.

In the administration interface of the branch server:

  1. Go to Configuration > Call Routing > Routing of outgoing calls.
  2. Click Add.
  3. Type the prefix for outgoing calls of the main server (0 in our example)
  4. Select the interface of the main server.
  5. Click OK.

Make a test call to reach a number in the PSTN from the branch server.

Example of a test call

Call 555-9999 from extension 305:

  1. The user with an extension 305 dials the number 0-555-9999.
  2. Kerio Operator on the branch server recognizes the prefix 0 and routes the call to the main server.
  3. The call arrives at the main server.
  4. Kerio Operator on the main server recognizes the prefix 0 and strips the prefix off.
  5. The main server routes the call to the SIP provider.

Routing incoming calls from the PSTN to the branch server

To route incoming calls to the branch server:

  • If you have separate numbers, use speed dial extensions
  • If you have a trunk of numbers, rewrite called numbers to match the internal extensions of the branch server

Using speed dial extensions

To use speed dial extensions:

  1. Create a speed dial extension (9305 in the example) that dials an extension of the branch server (305 in the example). For more details, see Creating and using speed dial.
  2. Go to Call Routing and double-click the interface for the branch server.
  3. Go to the Advanced tab.
  4. (Optional) To enable users to return calls, select Do not substitute the calling number when forwarding calls and click OK. This option also displays the caller ID of the caller instead of the number of the speed dial extension.
  5. Double-click the number from your provider that you want to map.

  1. In the Route incoming calls to field, select the speed dial extension and click OK.
  2. Repeat steps 1—6 for all extensions you want to map to the branch server.

From now on, Kerio Operator uses the speed dial extension for all incoming calls that reach the external number and routes the call to extension 305 of the branch server.

Make a test call to reach an extension on the branch server.

Example of a test call

Call 555-5305 from 555-9999:

  1. Caller dials the number 555-5305.
  2. The call arrives at the main server.
  3. Kerio Operator routes the call to the 9305 extension and then to 305.
  4. The main server recognizes the prefix 3 and routes the call to the branch server.
  5. The call arrives at the branch server and rings on the 305 extension.

Using number rewriting

To rewrite called numbers from your trunk and route them to the branch server:

  1. In the administration interface of the main server, go to Configuration > Call Routing > Interfaces and routing of incoming calls.
  2. Double-click the interface for the branch server.
  3. Go to the Advanced tab.
  4. (Optional) To enable users to return calls, select Do not substitute the calling number when forwarding calls and click OK. This option also displays the caller ID of the caller instead of the number of the speed dial extension.
  5. Double-click the interface for your provider.
  6. Go to the Advanced tab.
  7. Enable the Allow incoming calls to use outgoing routes option.
  8. Double-click the trunk of numbers to verify that Kerio Operator rewrites the called number correctly.

  1. Click OK.

After configuring the interface, make a test call to reach an extension on the branch server from the PSTN.

Example of a test call

Call 555-5310 from 555-9999:

  1. Caller dials the number 555-5310.
  2. The call arrives at the main server.
  3. Kerio Operator matches the call to a SIP interfaceAn external interface used for connecting to SIP providers. and strips off the first four digits of the number.
  4. The call automatically uses the outgoing route with the prefix 3 and arrives to the branch server.
  5. The call rings on the 310 extension.