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.
- Using the top-right selection box ensure you're working as your system level user, not a sub-customer.
- Click on Global » Routing » Outbound groups.
- Leave the "Name contains" field empty and click on Search.
- 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.
- Click on Global » Routing » Peers.
- 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.
- In the "Name" field put "Primary SIP termination provider".
- In the "Destination(s)" field enter the service IP address provided by your termination provider.
- 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.
- Save the peer.
Configuring a peer cost
- After the peer has been saved click on "Edit outbound costs".
- 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.
- In the "Cost per minute once billing starts" field enter 0.60.
- Save the peer cost.
- 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.
- Click on Global » Routing » Routes.
- Leave the "Called prefix starts with" field empty and click on Search.
- 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.
- Leave the "Called number prefix" field empty so that it matches all outbound calls from the system.
- In the "Outbound group" field select "Default".
- In the "Route calls to peer" field select "Primary SIP termination provider".
- Save the route.
- 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.
- 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.
- Click on Calls and messages » Calls » Call history to view the calls made and what was charged.
- 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.