Cloud PBX services

Link copied to clipboard

This handbook demonstrates how to configure cloud PBX services so that your customers will be able to communicate within the PBX environment. It will also assist you in creating phone lines, adding extensions and hunt groups, and finally configuring different call forwarding scenarios.

Please refer to the PBX feature summary section in the PortaSIP Administrator Guide to read more about hosted cloud PBX features available in PortaSwitch.

For more information about available fields, click image004 at the top-right corner.

Initial configuration of PortaBilling

Link copied to clipboard

If you have just installed the PortaBilling software or dedicated a new billing environment to configure the services described in this handbook, make sure to first perform the initial configuration of PortaBilling. To do this, use the PortaBilling Initial Configuration handbook.

Checklist

Link copied to clipboard

Use this checklist to check off the operations you have completed while performing the system setup according to the instructions in this chapter. Please be sure to perform all of the operations in the order designated (all of the boxes should be checked), otherwise, the service will not work.

Operation

Done

Rating configuration (Customer)

Create a tariff (referred to below as tariff A) which will be used to calculate the charges for outgoing calls from the customer’s PBX environment

Enter rates in tariff A, covering the destinations where the accounts can call. A zero cost rate for the special VOICEONNETRX destination should also be added to this tariff

Create a tariff (referred to below as tariff B) that will be used to calculate the charges for incoming calls

Enter a zero cost rate for the special ‘|’ (pipe) destination in tariff B. This rate will be used to calculate the charges for incoming calls

Create a subscription plan and configure it as described in the Charging for Value-added Services section

Create a cloud PBX product

Create a rating entry for this product, associating the Voice calls service and tariff A with the PortaSIP node and empty Access code

Create one more rating entry for this product, associating the Voice calls service and tariff B with the PortaSIP node and INCOMING Access code

Assign a subscription plan to your cloud PBX product

Account provisioning

Create a retail customer who will use the PBX service

Upload phone numbers

Create phone lines

Add new extensions

Create hunt groups

Create customer tariffs

Link copied to clipboard

To provide cloud PBX services successfully, you should create two customer tariffs. These tariffs will be used for separate charging of outgoing and incoming calls.

Follow the steps below to create the tariff that will be applied to customers for making outgoing calls:

  1. On the navigation menu, select Service catalog and click Tariffs.
  2. On the Create tariff panel, fill in the tariff details:
    • Name – type a short name for the tariff object; this is the name you will see in the select menus, (for example, Cloud PBX – outgoing).
    • Currency – this indicates the currency in which you charge your customers.
      The currency for the tariff is chosen only once, and cannot be changed later.
    • Service – select Voice calls.
    • Applied to – select Customer as this tariff will be used to charge your customers.
    • Managed by – select Administrator only here, since we are setting up a service without the involvement of resellers.
  3. Click Save.

    Tariff for outgoing calls.

  4. Repeat these steps to create the tariff that will be used to calculate the charges for making incoming calls.

    Create the tariffs

Enter rates

Link copied to clipboard

You should specify the rates for the two tariffs created in the previous section.

  • Rates for the tariff that will be applied to customers for making outgoing calls should cover the destinations where the accounts of one customer can call. These are used to calculate the charges for outgoing calls. Additionally, a zero rate for the special VOICEONNETRX destination should also be added to this tariff. This rate will be used to produce zero charges for outgoing calls between accounts within the same IP Centrex environment.
  • For the tariff that will be applied to customers for making incoming calls, only a zero rate for the ‘|’ (pipe) destination should be added. This rate will be used to produce zero charges for all incoming calls.

Managing rates online

Link copied to clipboard
  1. On the navigation menu, select Service catalog and click Tariffs.
  2. Use the Tariff search panel to locate the tariff you created for outgoing calls (Cloud PBX – outgoing). Specify one or more of the search criteria listed there and click Apply filters.
  3. On the Results panel, click your customer tariff name, which is also a link that redirects you to the edit tariff panel.
  4. On your customer tariff’s panel (Cloud PBX – outgoing), click Rates.
  5. On the Add rate panel, select VOICEONNETRX in the Destination field. Set the First price and Next price fields to zero if you are not going to charge for calls between extensions in the same PBX environment. Leave the other fields as they are.
  6. Click Save.

    Add the VOICEONNET rate.

  7. On the navigation menu, select Service catalog and click Tariffs.
  8. Use the Tariff search panel to locate the tariff you created for incoming calls (Cloud PBX – Incoming). Specify one or more of the search criteria listed there and click Apply filters.
  9. On the Results panel, click your customer tariff name, which is also a link that redirects you to the edit tariff panel.
  10. On your customer tariff’s panel (Cloud PBX – Incoming), click Rates.
  11. On the Add rate panel, select | (pipe) in the Destination field. Set the First price and Next price fields to zero if you are not going to charge customers for incoming calls. Leave the other fields as they are.
  12. Click Save.

    Add | (pipe) rate.

Create subscription plans

Link copied to clipboard

In order to charge your customers for additional services, create subscription plans and perform their configuration as described in the Charging for Value-added Services handbook.

Create a product

Link copied to clipboard
  1. On the navigation menu, select Service catalog and click Products.
  2. On the Create product panel, fill in the product details:
    • Name – type an internal product name that will be shown on the administrator interface.
    • Name visible to end users – type a name of the product that will be shown to end users on their self-care interfaces.
    • Product type – select Main product here.
    • Currency – choose a currency the product will be priced in.
    • Managed by – select Administrator only here, since we are setting up a service without the involvement of resellers.
    • Account default ACL – choose an Access Control List (ACL) for accounts with this product assigned. ACLs control which objects end users can access to and which actions they can perform.
    • Account role – select Phone line since this product is intended for making and receiving calls.
  3. Click Save.

    Create a new product.

Included services

Link copied to clipboard

Define which service types are included in the product. A service type is a description of the physical service provided to end users.

To add a service type:

  1. On your product’s panel, click Services.
  2. On the Services panel, click Add a service.
  3. In the Select services to add dialog box, select Voice calls and click Add.

    Add a service.

Create rating entries for the cloud PBX product

Link copied to clipboard

The product rating list has two functions: it defines permitted access points (nodes and access numbers) and specifies which tariff should be used for billing for each of these points. The rating list consists of rating entries.

  1. On your product’s panel, click Charges, then click Usage charges.
  2. On the Usage charges panel, click Add.
  3. Fill in the required information:
    • Service – select Voice calls.
    • Node – select the PortaSIP node.
    • Access code – leave this field empty for the basic SIP service.
    • Tariff – choose the tariff that will be used to calculate the charges for outgoing calls.
    • Overdraft protection – to configure overdraft protection for this product, consult the Configure Overdraft Protection Section within the Product section in the Overdraft Protection Configuration handbook.
  4. Click Save.

    Rating entry for outgoing calls.

  5. On the Usage charges panel, click Add to add the second rating entry.
  6. Fill in the required information:
    • Service – select Voice calls.
    • Node – select the PortaSIP node.
    • Access code – type INCOMING in this field.
    • Tariff – choose the tariff that will be used to calculate the charges for incoming calls.
    • Overdraft protection – to configure overdraft protection for this product, consult the Configure Overdraft Protection Section within the Product section in the Overdraft Protection Configuration handbook.
  7. Click Save.

Assign a subscription plan to the cloud PBX product

Link copied to clipboard

With subscription plans, you can charge customers recurring (e.g., monthly) fees for using the service. The chosen subscription will be applied to every account with this product assigned. On your product’s panel, click Charges, then click General info.

  1. On the Charges panel, choose a subscription plan from the Subscription list.
  2. Click Save.

    Assign a subscription to a product

Create a customer class

Link copied to clipboard

Customer class provides the ability to define a business model and a group of parameters in a centralized way, and then apply those parameters to many customers at once.

  1. On the navigation menu, select Sales, then select Customer classes.
  2. On the Create a customer class panel, fill in the customer class details:
    • Name – type a short name for this customer class.
    • Currency – specify in which currency you charge the customers of this customer class. When specified, this customer class can only be assigned to customers with the same currency. Note that you can define the currency only when you create the customer class and can’t change it later.
    • Business model – select which customers this customer class will apply. Select Cloud PBX from the list.
    • Description – type your comments about the intended use of this customer class.
  3. Click Save.

Refer to the Create a Customer Class section of the Basic Residential VoIP Service handbook and complete the customer class creation.

Create a customer class.

Create a customer

Link copied to clipboard

A customer is your client (an individual or a company) to whom you provide services.

To create a new customer:

  1. On the navigation menu, select Sales, then select Customers.
  2. On the Create customer panel, fill in the customer details:
    • Name – type a short name for the customer object; this will be used on the web interface.
    • Balance control – specify the way the customer will pay for the service: Postpaid – after consuming the services; Prepaid – prior to consuming the services. Select Postpaid in this field.
    • Currency – choose the currency in which this customer will be billed.
    • Credit limit – assign a credit limit for the customer.
    • Business model ­– a business model defines what type of service is to be provided to the customer. Select Cloud PBX for this customer.
    • Customer class – customer class allows you to define a policy for automated payment collection. By choosing a specific class here the customer will automatically inherit all of the class properties (grace period, invoice template, etc.). Select the previously created customer class.
    • Billing period – choose a billing period for the customer. A billing period defines the frequency of invoicing for this customer.
    • Billing period time zone – choose a time zone in which customer’s billing period will be closed and invoices will be generated.

      Add a new customer.

  3. Click Save.

Personal info

Link copied to clipboard

Define the customer’s personal information (such as name, email address, and etc.).

  1. On your customer’s panel, click Personal, then click General info.
  2. On the General info panel, fill in the customer’s personal information and an email address for the receipt of accounting information. After the billing period is over, a list of xDRs and other statistics will be sent to this address.

Web self-care

Link copied to clipboard

Define credentials and preferred settings (such as language, time zone, date input and output formats) for this customer’s self-care interface.

  1. On your customer’s panel, click Personal, click General info, then click Web self-care.
  2. On the Web self-care panel, define credentials for the customer self-care interface (such as login, password, time zone, etc.) and other preferred settings.

Credit limit

Link copied to clipboard
  1. On your customer’s panel, click Finances, click General info, then click Credit limit.
  2. On the Credit limit panel, define the Credit limit warning threshold parameter. The customer can be notified by email when his balance is dangerously close to the credit limit and service will soon be blocked. The threshold can be specified:
    • As a percentage (e.g., 90%). The warning will be sent when the customer’s balance exceeds that percentage of his credit limit. So, if the credit limit is USD 1000.00 and the threshold is 90%, a warning will be sent as soon as the balance exceeds USD 900.00. This is only applicable when the customer has a positive credit limit.
    • As an absolute value. The warning will be sent as soon as the balance goes above the specified value.

Invoices and taxation

Link copied to clipboard

Define whether to send this customer their statistics and invoices by email.

  1. On your customer’s panel, click Finances, and then click Invoices and taxation.
  2. On the Invoices and taxation panel, set the Send Statistics via email option to Summary only. This delivers a call summary only and do not attach a details file; this could be useful in the case of a large number of calls. Other options are Full Statistics (attach a complete list of xDRs) or Do not send (this option prevents the delivery of event statistics to this customer via email).

Services

Link copied to clipboard
  1. On your customer’s panel, click Services.

    The Services panel provides an access to a group of panels where you can activate/deactivate various features of the voice calls service provided to the customer.

    This is a convenient way for managing parameters which are the same for a whole set of accounts. Instead of trying to configure them for each individual account, you can define them once at the customer level, then specify in the account configuration that the value in the customer’s configuration be used. Should you wish to change this value later, you need only modify it once for the change to be automatically propagated to all accounts.

    Please consult the PortaBilling help for a description of parameters available here. For now, you may leave these with their default values. If you change them later, these changes will automatically affect all accounts created under this customer.

  2. Click Save.

Upload phone numbers in DID inventory

Link copied to clipboard

Perform the configuration of the DID Inventory according to the instructions provided in the Managing Available Phone Numbers (DID Inventory) handbook.

Create phone lines

Link copied to clipboard

A phone line is a PortaSwitch account provisioned on a port on an IP phone/ATA so that it allows the sending and receiving of calls via PortaSwitch.

  1. On your customer’s panel, click Accounts.
  2. On the Create an account panel, fill in the account information:
    • ID – SIP ID, e.g., the phone number which will be used to log in to the SIP server and receive incoming calls. Click the image026 button to select a DID number from the available DID numbers list:
      • When the Define the search filters dialogue window opens, specify whether to search through DIDs available in DID pool or among the DIDs assigned to this customer. Also, you can specify the geographical location and DID number pattern (e.g., specify 120 to search for DIDs with the prefix 120). Click the Next button.
      • On the Choose number panel that opens, you will see a list of available DID numbers that matches your search query and the charges associated with them. The charges for DIDs from the DID pool are pre-populated from the customer’s pricing batch. Select a DID number and click the Assign button.

        Create an account

        Define search filters

        image031

    • Account role – select Phone line from the list.
    • Product – choose the main product, which you would like your account to have.
    • Activation date – choose the date from which the account is usable. By default, the account is activated immediately upon creation.
    • Service password – together with the account ID, this password will be used to authenticate registrations and call attempts on the SIP server. It is very important to assign a secure (difficult to guess) password to prevent the account from being wrongfully entered and used to inject fraudulent calls to your network.
    • Type – select Credit in this field.
    • Balance control – define the way the balance of the account is controlled. Subordinate – the balance will directly depend on the customer’s balance (only the customer tops up the balance); Individual credit limit – this account may have its own balance and credit limit (the customer credit limit still applies.) Select Subordinate in this field.

      Create an account.

  3. Click Save.

Account info

Link copied to clipboard
  1. On your account’s panel, click Personal info, then click General info.
  2. On the General info panel, fill in the account owner’s email address in the Email field. If the account owner ever forgets the password for the web self-care pages, they will be able to reset it, and a new password will be sent to this email address.

Web self-care

Link copied to clipboard
  1. On your account’s panel, click Personal info, click General info, then click Web self-care.
  2. On the Web self-care panel, define credentials for the account self-care interface (such as login, password, time zone, etc.).

Additional info

Link copied to clipboard
  1. On your account’s panel, click Personal info, and click General info.
  2. On the General info panel, click Additional info, then click Auto-provisioning. On this panel you can assign a device to an account for automatic provisioning. Leave this option disabled for now.

Life cycle

Link copied to clipboard
  1. On your account’s panel, click Personal info, click General info, then click Life cycle.
  2. On the Life cycle panel, fill in the account information:
    • Use an expiration date – this identifies the date when the account expires. Since we are setting up a postpaid service, which should function for a long time, leave this option disabled.
    • Availability period after first usage, days – this defines the number of days the account remains active after its first use or recharge. Since we are setting up a postpaid service, which should function for a long time, leave this field blank.
    • Availability period after last usage, days – this defines the number of days the account remains active after its last use or recharge. Since we are setting up a postpaid service, which should function for a long time, leave this field blank.

Service configuration

Link copied to clipboard
  1. On your account’s panel, click Services.

    On this panel, you can activate/deactivate various features of the voice calls service provided to this account.

    Please consult the PortaBilling help for a description of parameters available here. For now, you may leave these with their default values.

  2. Click Save.

Repeat these steps if the customer has more than one phone line (extension).

To create many accounts at once and allocate proper DID numbers to all of them, use the Account generator. Please refer to the Create a Group of Accounts subsection of the Create an Account section in the Managing Available Phone Numbers (DID Inventory) handbook.

Add new extensions

Link copied to clipboard

Once accounts have been created, they can be assigned to individual extensions. This is done by an end user. Please consult the Create Extensions subsection of The Auto Attendant Configuration section in the Configuring the Auto Attendant Functionality handbook for more information about creating new extensions.

Add hunt groups

Link copied to clipboard

Adding hunt groups is done by an end user. Please consult the Create Hunt groups subsection of The Auto Attendant Configuration section in the Configuring the Auto Attendant Functionality handbook for more information about creating new hunt groups.

Call forwarding

Link copied to clipboard

You can choose the desired forwarding mode for an account from the Forward Mode list on the Service Configuration panel. Configuring call forwarding is usually performed by an end user on the account self‑care interface. Please consult the Phone Lines section of the PortaBilling help for more information. If you would like to configure call forwarding from the admin interface, please refer to the ... configure call forwarding? section of the How to... handbook.

On this page

Release
What's new
Admin manuals
Handbooks
Developers documentation
UI help