This chapter provides instructions for how to provision DID numbers from DID suppliers – other PortaSwitch owners on-demand.
When Owl Telecom provisions DID numbers to their customers, they apply the following charges for DID number usage:
- Activation: EasyDID's fee + additional $5
- Recurring fee: EasyDID's fee + additional $8
Preparation
Before you proceed with the configuration steps, make sure to obtain from your DID supplier:
- Per-minute prices applied to you that will be specified in the tariff.
- Credentials that will be specified in the vendor settings:
- Host – the IP address of the server, where your account is created.
- User name – your login to the self-care interface to connect to the DID provider’s server via API.
- Password – the password to the self-care interface to connect to the DID provider’s server via API.
Configuration overview
1. Configure the PortaSwitch owner as a vendor
In the PortaBilling system, the DID supplier must be configured as a “vendor.” The per-minute rates negotiated with the supplier should be put in the vendor tariff. The system will then calculate the cost for incoming calls, and this information can be used for reconciliation.
1.1 Create a tariff for incoming DID costs
- On the navigation menu on the left, select Service catalog and click Tariffs.
- On the Create tariff panel, fill in the tariff details:
- Name – a short name for the tariff, e.g., EasyDIDs tariff.
- Currency – choose the currency in which the vendor charges you.
The currency for the tariff may be chosen only once and cannot be changed later.
- Service – select Voice calls.
- Applied to – select Vendor.
- Routing – leave this option disabled, since the calls will not be routed to this vendor, i.e., the vendor will be sending calls to your network.
- Click Save.
- Open the Rates tab and enter the rates applied to you by the EasyDIDs provider.
1.2 Create a DID supplier vendor
- Navigate to Infrastructure, then select Vendors.
- Click Add and fill in the vendor details. Please refer to the instructions provided in the Create Vendors chapter of the Basic Residential VoIP Service section for a detailed description.
- Click Save & Edit details.
- Go to the General configuration panel and select DID provisioning to configure on-demand provisioning of phone numbers.
- On the DID provisioning panel, turn on the On-demand provisioning toggle to enable on-demand provisioning and fill in the information obtained from your DID supplier (EasyDIDs in our example):
- DID provider – select Another PortaSwitch carrier from the list.
- Host – specify the hostname and port of the DID provider’s server, e.g., the IP address of the server, where your account is created;
- User name – specify the login to connect to the DID provider’s server via API, e.g., your login to the self-care interface provided by EasyDIDs;
- Password – specify the password to connect to the DID provider’s server via API, e.g., the password to the self-care interface provided by EasyDIDs.
- Vendor DID batch – either select one of the existing ones or provide a name for a new vendor batch. It will be automatically created in your DID inventory.
- Incoming costs tariff – select the tariff created in the Create a tariff for incoming DID costs step to describe your incoming DID costs, e.g., EasyDIDs tariff.
- Vendor should send calls to – select your PortaSIP node here, where the DID supplier should send calls to.
- Click Save.
1.3 Define a vendor connection
To create a connection:
- Open the Connections tab.
- Click Add and fill in the connection details:
- Description – type in a short description for this connection (e.g., “Voice calls”).
- Service type – select “Voice calls”.
- Type of connections – select “PSTN”.
- Direction – select “From vendor.”
- Tariff – select the vendor tariff that you created at step 1.1.
- Active – leave this toggle enabled.
- Node – select “PortaSIP”.
- Capacity – this mandatory field is used to indicate the maximum number of concurrent calls. Specify a reasonable value expected in the near future to monitor the number of concurrent calls made by your subscribers.
2. Configure the DID pricing parameters
2.1 Create pricing DID batch
To provision DID numbers to your customers and charge for their usage, it is necessary to create a pricing DID batch and define your DID markup within.
- On the DID inventory panel, select Pricing batches.
- On the Create a pricing batch panel, fill in the pricing batch details:
- Name – type in a short name for the pricing DID batch object.
- Applied to – select Customer, since this is the batch that will be used for charging customers.
- Type of DIDs – select On-demand from external vendor option.
- Vendor – select the vendor providing DID numbers for this batch (EasyDIDs in this example).
- Pricing – select Fee-paying.
- Pricing parameters:
- Currency – select the currency to be charged for DID usage. Note that this batch can only be assigned to customers who use the same currency.
- Additional activation fee – type in 5 here.
- Additional recurring fee – type in 8 here.
- Recurring fee markup – specify a configurable increase of the DID cost (charged by the DID provider) included in the recurring charge in addition to the actual DID cost.
- Decimal places, number – specify the rounding pattern to obtain “marketable” figures. This will specify the last “pre-set” digits in the figure.
- Click Save.
2.2 Assign the pricing DID batch to a customer
To assign DID numbers to your customers, do the following:
- On the Customer panel, select Personal, then General and go to Additional info panel.
- On the Additional info panel, select a previously created pricing DID batch in the Auto-provision DIDs via batch field. Click Save.
3. Provision a number
Similar to on-demand DID provisioning from external providers like DIDWW or DIDX, a DID number can be provisioned as an alias to an existing account.
Please refer to the How to handbook for instructions on how to add a DID number as an account alias from the administrator web interface.
3.1 Add an alias on the customer self-care interface
Alternatively, you can add a DID number as an account alias on behalf of a customer using the customer self-care interface.
- Log in with the customer’s web access login and password.
- On the Cloud PBX tab, select DIDs.
- Click the Add DID button.
- In the Add new DID number dialog box, filter the DIDs by country and area and select a number. Click OK.
- Associate the DID number with the phone line:







