This page describes a very basic configuration for calls to the PSTN. It sends outbound calls to a single SIP termination provider at one rate.

Configuring an outbound group

An outbound group is a set of external numbers that are billed at the same rate. For example, if calls to UK land lines are all billed at the same rate, then "UK land lines" could be an outbound group.

  1. Using the top-right selection box ensure you're working as your system level user, not a sub-customer.
  2. Click on Global » Routing » Outbound groups.
  3. Leave the "Name contains" field empty and click on Search.
  4. You will see a "Default" outbound group. In this example you're going to bill all calls at one rate so don't need more than one outbound group, and can leave this unchanged.

Configuring a peer and peer cost

A peer is a service used to reach the PSTN, for example a SIP termination provider.

This example assumes you have signed up for service with a SIP termination provider.

  1. Click on Global » Routing » Peers.
  2. Click on "New" in the bottom-right corner and you'll get a form for this peer's details to be entered. Most settings do not need changed.
  3. In the "Name" field put "Primary SIP termination provider".
  4. In the "Destination(s)" field enter the service IP address provided by your termination provider.
  5. Multiple dial plan formats are supported. There are dial plans for each country, "North America" for the North America Numbering Plan, and the "E.164" international number format. Check your termination provider's requirements and set the "Send called number in dial plan" and "Send callerid in dial plan" fields appropriately.
  6. Save the peer.

Configuring a peer cost

  1. After the peer has been saved click on "Edit outbound costs".
  2. Click on "New" in the bottom-right corner and you'll get a form to enter the price for this peer to call the Default outbound group.
  3. In the "Cost per minute once billing starts" field enter 0.60.
  4. Save the peer cost.
  5. Return to the list of costs and view the price that you've set. Now all you need to do is tell the system to send all calls to this peer and use the Default price.

Configuring a route

A route has a number prefix so that any outbound call to a number starting with that prefix will be sent to the peer specified in the route, and charged at the rate of the outbound group specified in the route.

  1. Click on Global » Routing » Routes.
  2. Leave the "Called prefix starts with" field empty and click on Search.
  3. Click on "New" in the bottom-right corner and you'll get a form for this route's details to be entered. Most settings do not need changed.
  4. Leave the "Called number prefix" field empty so that it matches all outbound calls from the system.
  5. In the "Outbound group" field select "Default".
  6. In the "Route calls to peer" field select "Primary SIP termination provider".
  7. Save the route.
  8. Make a call from one of your registered telephones to a PSTN number that you own. It should be sent to the "Primary SIP termination provider" peer by the route you created and the destination phone should ring.
  9. If the call to the PSTN number does not work have a look at taking traces. Taking a trace using Billing and analysis » Analysis » Traces will give you a detailed record of what exactly happened with the call.
  10. Click on Calls and messages » Calls » Call history to view the calls made and what was charged.
  11. Remember that back when you set up the rate plans markups of 100% and 50% were applied, resulting in a price three times the system level. So although the price is 0.60 per minute in the peer costs, the reseller customer should be charged 1.20 per minute, and the end-user customer 1.80 per minute.