Using the service from a mobile application

Link copied to clipboard

Overview

Link copied to clipboard

To enable customers to call any city or country using their smartphones or tablets, we recommend PortaPhone – a mobile SIP client that is powered by Acrobits and integrated with PortaSwitch. Your customers can download PortaPhone in the Apple App Store or Google Play directly from their mobile phones.

PortaPhone supports voice and video calls, instant messaging, HD sound, balance checker and customizable ringtones. Push notifications ensure that customers receive calls or messages while the app is in the background or even closed, and the app uses very little battery. To prevent service abuse and verify user data during signup and provisioning, two-factor authentication via SMS is used.

The PBX configuration (e.g., extension dialing, call transfer, call forwarding and voicemail) is unique both for PortaPhone users and owners of IP phones. This allows your business customers to use their smartphones as their PBX extensions.

You can customize PortaPhone via a configuration web portal and publish it on Google Play or in the App Store under your own name. You can upload your logo, change the graphic design and manage the feature set available to customers. With PortaPhone and PortaSwitch you have the all-in-one solution to provide services similar to WhatsApp to anyone, anywhere.

To enable customers to use the service from PortaPhone, the following must be done:

  1. Configure PortaPhone application;
  2. Configure the services in PortaBilling;
  3. Configure provisioning in PortaBilling;
  4. Publish the application on Google Play or in the Apple App Store to make it available for end users.

In this chapter we show you how to configure PortaPhone and provision it to your customers’ smartphones. Your service bundle includes voice calls and on-net messages.

Publishing the app on Google Play or in the Apple App Store is out of the scope of this document. Please refer to the Publish in the App Store and Publish an App on Google Play documents for guidelines.

Build your mobile application

Link copied to clipboard

PortaPhone configuration is done on the Acrobits Cloud Softphone web portal.

  1. On the Cloud Softphone page, click image005 Create new application.

    Cloud softphone page

  2. On the Create New Application page, select a White Label App.

    image009

  3. Fill in the form for a new application.

    image011

  4. Click Create Application, and then you can see the information about your newly created application.

    image013

  5. Click on the name of your application; four new sections now appear on the screen. You can view or edit them.

    image015

    image017

Manage features

Link copied to clipboard
  1. In the Features section, select the features you will provide to your end users.image019image021image023image025image027image029image031image033image035image037image039
  2. Click Submit Cart to add your newly enabled features to the list of services provided by you.

Provisioning

Link copied to clipboard
  1. In the Provisioning options screen, enter the required setting for your network.image041

    Basic settings

    Link copied to clipboard
    • Name of the service – enter a name for the service you will provide to your end users;
    • Domain suffix – enter your domain suffix (e.g., for sip.mydomain.com the domain suffix is mydomain.com);
    • Domain – enter your domain (e.g., the IP address of the PortaSIP server or its hostname);
    • Transport protocol select the type of transport protocol. In most cases, it is the UDP protocol;
    • Incoming Calls for iPhone – select the method for incoming calls. In most cases, it is the In Foreground Only method;
    • Incoming Calls for Android – select the method for incoming calls. In most cases, it is the Push method.image043image045image047
  2. Click Save.

White label options

Link copied to clipboard
  1. In the White Label options section, customize your application. Specify the app name and identifier, customize the screen view and define the publishing options for the App Store and Google Play.image049image051image0531image055image057image059image061

Customize design

Link copied to clipboard
  1. In the Design Theme section, upload the graphic assets and choose a color scheme for your application. You can only do this for iPhone and Android devices.image063image065
  2. Click Save.

Testing account settings

Link copied to clipboard
  1. In the Testing Account Settings section, enter two test accounts for conducting some basic tests to verify that your settings and features are configured correctly.image067image069
  2. Click Save.

Service configuration

Link copied to clipboard

Use the instructions provided in the Basic Residential VoIP Service, Instant Messaging Services handbooks to configure the services that you provide to customers within the application.

As a result, you create the bundled product that the system assigns to user accounts during signup.

image071

Provisioning configuration

Link copied to clipboard

SMS notification delivery setup

Link copied to clipboard

To prevent service abuse, a user must pass two-factor authentication via SMS during signup. Thus, you must configure PortaSwitch to send SMS notifications with one-time passwords to user mobile phones via an SMS provider.

Configure domain service policy

Link copied to clipboard

This is the service policy for the internal communication between PortaSIP and PortaBilling. It serves to identify the transport protocol and authorization parameters for SMS notification delivery to user phones.

  1. On the navigation menu on the left, select Service catalog and click Service policies.
  2. On the Create service policy panel, fill in the service policy details:
    • Name – specify the name of the service policy (for example, SMS notifications).
    • Service type – select Messaging service from the list.
    • Recipient domain pattern – this is a pattern according to which the service policy is selected. For this service policy to apply only to sending SMS notifications with user passwords, specify the %@sms% value here.
    • Click Save.

      Create a service policy

  3. On the Service policy panel that opens, specify the Match priority value. If several domain service policies match for the message processing, the one with higher match priority applies.

    Configure the Service policy

  4. Go to the Attributes panel, select Processing messages over SIP/SMPP and enable the following attributes:
    • External routing – select a checkbox and turn on this attribute. This will allow you to send SMS messages outside of your network.
    • Outgoing AAA – select a checkbox and turn on outgoing message authorization and billing.
    • Transport protocol – select a checkbox and choose SMPP from the list.
    • Userpart E164 translation – select a checkbox and turn on this attribute.
  5. Click Save.
Note that any service policy changes will not be applied immediately. It will take several minutes until they are propagated to PortaSIP.

Provision SMS provider as a vendor in PortaBilling

Link copied to clipboard

Complete the Create a Service Policy for Vendor Connection, Create a Vendor Tariff, Create a Vendor and Define a Connection steps from the SMS Services handbook to configure the SMS provider who will deliver SMS notifications from PortaSwitch to user mobile phones.

Enable notification delivery on the Configuration server

Link copied to clipboard
  1. On the Configuration server, clone the existing configuration to modify it.
  2. From the configuration tree, select ClusterSuite > Web Cluster.
  3. Select the billing environment where your users will sign up for the services. Then select the Notifications group and configure the following parameters:
    • SendSmsVia – select IMGate.
    • SendSmsFromPhone – specify the phone number your users will see as the “Sender number” on their phone screens.
      To send SMS notifications from a particular phone number (e.g., 120655521245), the phone number must be provisioned as an account in PortaBilling and have the product assigned that allows SMSs to be sent to A-Z destinations.

      Enable notification delivery on the Configuration server

  4. Click Verify to verify the configuration.
  5. Click Check/Apply to apply the new configuration.

Enable API token access for a user

Link copied to clipboard

To access your web server via the API, generate an API token for a PortaBilling administrative user.

  1. On the navigation menu on the left, select My company, then Access control and click Users.
  2. On the edit user panel, go to Web self-care panel and enable API access token option.
  3. Click image076 to generate an API token.

    Generate a user API token

  4. Click Save.

Configure Acrobits signup on the Configuration server

Link copied to clipboard
  1. Clone the existing configuration to modify it.
  2. From the Configuration tree select ClusterSuite->WebCluster.
  3. In the AcrobitsSignup group, fill in the following information:
    • Enabled – set this option to Yes.
    • AccountAction – leave the default value to either search for existing accounts or create new ones if none are found.
    • AcrobitsCloudId – specify the Cloud ID of the mobile application which you defined during the app creation (e.g., PORTAPHONE).
    • Currency – specify the currency in which user accounts will be created, USD by default.
    • PortaBillingAPILogin – type in the login to access your web server via the API.
    • PortaBillingAPIServerURL – leave this field empty. By default, the system addresses the PortaBilling web server via the API during signup.
    • PortaBillingAPIToken – type in the user’s API access token to access your web server via the API.
    • Product – type in the product name (e.g., Signup), which your users will be using. Make sure you have configured the product with the same currency as the Currency option value.
    • ProvisionURL – leave this field empty. By default, the system addresses the provisioning module on the PortaBilling web server via the URL https://<web-server_hostname>/provisioning/Acrobits.html (e.g., https://mycompany.com/provisioning/Acrobits.html).
    • ServicePasswordComplexity – this is the rule about how to generate and validate service passwords for user accounts. By default, the system generates service passwords as a combination of Latin letters and digits.
    • ServicePasswordLength – specify the length for the service password. The default value is 64.

      Configure Acrobits signup on the Configuration server

  4. Select the billing environment in which your users will sign up for the services. Then in the AcrobitsSignup group, specify the virtual IP address or the hostname of PortaSIP in the vipaddr field.

    Specify the virtual IP address

  5. Click Verify to verify the configuration.
  6. Click Check/Apply to apply the new configuration.

Set default country code for PortaPhone signup page (optional)

Link copied to clipboard

If your PortaPhone users are mostly located in one country (e.g., Spain), define the corresponding country code as the default one for the PortaPhone signup page. For example, in this case, set 34 for Spain.

The code is displayed first in the list. Thus, your new users simply enter their phone numbers next to it. This makes their registration process user-friendly.

  1. Clone the existing configuration to modify it.
  2. From the Configuration tree select ClusterSuite > WebCluster.
  3. Select Global environment > AcrobitsSignup group.
  4. In the DefaultPhoneNumberPrefix option, define 34 for Spain.

    Define country code for PortaPhone signup page

  5. Click Verify to verify the configuration.
  6. Click Check/Apply to apply the new configuration.

The PortaPhone signup page will look like this.

PortaPhone signup page

User interface setting

Link copied to clipboard

As an example, we will show an end-user phone setting based on an Android:

  1. Enter Google Play and search the PortaPhone program.
  2. Download it, click the Install button and start the program installation process.
  3. Click the Open button.
  4. Enter your phone number and CAPTCHA code and click Submit.

    Enter your phone number and CAPTCHA code

  5. Enter the one-time password from the SMS sent to your mobile and click Verify.

    Enter the one-time password

  6. Click the link to open the application.
  7. Now you are ready to make calls.

    image088

  8. Your outgoing call.

    image090

    image092

On this page

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