Target Platform

Authenticates CCaaS to a NetSapiens platform and configures the connection settings so SIP extensions can be registered and calls routed through the system.

An API user and an OAuth client, both created in NetSapiens, authorize CCaaS to communicate with the platform. This authentication is completed once per CCaaS tenant and must be in place before any SIP extensions can be registered — see SIP Extensions.


Accessing Target Platform

Target Platform is accessible to accounts with Admin permissions.

  1. Navigate to Admin (System) > Target Platform Configuration
  2. A "Netsapiens Platform Settings" window opens for entering the platform's connection details

Requirements

Setting up Target Platform touches three separate systems, each requiring its own access:

InterfaceNeeded ForURL
NetSapiens Admin (NMS) PortalGenerating the Client ID and Client Secret, and verifying the API user's call limithttps://<FQDN>/SiPbx/adminlogin.php
CCaaS instanceRegistering the new contact center with NetSapienshttps://<hostname>.xima.cloud/
NetSapiens Manager PortalCreating the API user and its connection information, via an Office Manager–level userProvided by the NetSapiens partner

Creating an API User

The API user serves both as the credential CCaaS uses to reach the NetSapiens API and as the extension used to receive calls from the Contact Center.

  1. Log in to the NetSapiens Manager Portal
  2. Select Users from the top of the portal
  3. Select Add User
  4. Complete the user fields
🛑

Load-Balancer Requirement

Naming the user Xima LB or Xima CCaaS helps prevent it from being mistaken for a live agent and accidentally deleted. Scope must be set to Office Manager or higher — anything lower prevents the API connection from working correctly. Enable Voicemail should be disabled.

  1. Select Add User

Verifying Unlimited Call Capacity

Call Limit defaults to Unlimited, which is the recommended setting for this user, though it can be lowered if needed.

  1. Log in to the NetSapiens Admin Portal
  2. Select Users from the top of the portal
  3. Select Domains
  1. Locate the API user created above and select it
  2. Confirm Call Limit reads Unlimited

Creating OAuth Credentials

Each application accessing the NetSapiens API — including CCaaS — authenticates with its own OAuth client.

  1. Log in to the NetSapiens Admin Portal
  2. Select System from the top of the portal, then navigate to Settings > Advanced > OAuth Clients
  1. Select Add
  2. Enter a Client ID name and select Create
  3. Select the newly created Client ID to reveal the associated Client Secret
  1. Record the Client ID and Client Secret for use in CCaaS
📘

Revoking Access

A Client ID and Secret can be revoked or deleted at any time from the OAuth Clients page, which immediately disconnects the associated application.


Choosing a Connection Method: SRV Record vs. SIP Outbound Proxy

An SRV record is the default and best-practice way to connect CCaaS to NetSapiens, since it follows the platform's own failover process across data centers.

📘

Requesting the SRV Record

If the SRV record is not known, the NetSapiens partner responsible for the deployment can provide it.

If the SRV record is unavailable, a SIP Outbound Proxy can be entered instead:

  1. In the NetSapiens Manager Portal, under the assigned domain, select the API user created above
  2. Navigate to that user's Phone menu and edit the phone
  1. Within the Settings menu, copy the Outbound Proxy value
  1. Paste this into the SIP Outbound Proxy field in the Target Platform Configuration window
⚠️

No Automatic Failover with Outbound Proxy

A connection made using a SIP Outbound Proxy instead of an SRV record will not automatically fail over between data centers.


Required Platform Information

The following fields make up the Netsapiens Platform Settings window in CCaaS, in the order they appear. Domain, SRV Record (or SIP Outbound Proxy), API URL, Client ID, Client Secret, Admin Username, and Admin Password are required; the remaining fields are optional and can be left at their defaults. Where NetSapiens documentation refers to a field by its underlying parameter ID rather than this label, that ID is listed alongside it.

FieldParameter IDDescription
DomainThe domain assigned within the NetSapiens environment, found under Domain, Inventory, or the phone provisioning section
SRV RecordThe default and best-practice connection method — see Choosing a Connection Method above
SIP Outbound Proxysip_proxy_server_hostUsed only if the SRV Record is not known — the Outbound Proxy value from the API user's phone configuration, entered without the port. The port itself (sip_proxy_server_port) defaults to 5060 unless the NetSapiens partner specifies otherwise.
SIP Transport ProtocolThe transport protocol used to register with the NetSapiens platform — see Connection Resiliency Settings
API URLapi_urlThe base URL of the NetSapiens Manager Portal, up to and including the domain
API Backup URLsOptional additional API URLs CCaaS falls back to if the primary API URL is unreachable
API Preferred ServerOptional — see Connection Resiliency Settings
Client IDapi_client_idThe OAuth credential created above
Client Secretapi_client_secretThe OAuth credential created above
Admin Usernameapi_usernameThe API user's credential created above (for example, 999@<domain>, where 999 is the API user's extension and <domain> is the NetSapiens domain)
Admin Passwordapi_passwordThe API user's credential created above; the account must show "Secure password set"
Drop Delay in MillisecondsOptional — see Connection Resiliency Settings
Presence Check Interval in SecondsOptional — see Connection Resiliency Settings
Stuck Calls Check Interval in SecondsOptional — see Connection Resiliency Settings
📘

Set Aside a DID for Testing

A DID assigned within NetSapiens and routed to the CCaaS virtual handset should be set aside before starting this configuration, so inbound call routing can be tested once the connection is complete.


Entering Platform Settings in CCaaS

  1. In the NetSapiens Manager Portal, navigate to Domains > {Assigned Domain} > Users, locate the API user's extension, and select its edit icon, then Phones
  2. Note the Domain/Proxy and Outbound Proxy shown in the Edit Phone window
  3. In the "Netsapiens Platform Settings" window in CCaaS, enter each field listed in Required Platform Information above
  4. Select Save

Verifying API Access

Once saved, the connection can be confirmed from several places in CCaaS where NetSapiens user and licensing data is pulled in.

UC Phone Licensing

  1. Navigate to User Management > UC Phone Licensing — see UC Phone Licensing
  2. If UC users are listed, the domain has connected successfully
  3. An empty list means the connection has not finished completing, or a sync has not yet been triggered — see Sync UC Users below

Sync UC Users

  1. From the User Management menu, select Sync UC Users to send a new sync request to the platform
  2. Return to UC Phone Licensing — if the list now populates, the connection succeeded

If users still cannot be pulled from NetSapiens into CCaaS, the following should be checked:

  1. The spelling and formatting of the API URL, Client ID, Client Secret, Admin Username, and Admin Password
  2. The API username and password are correct, and the account shows "Secure password set"
  3. The API user has sufficient permissions
📘

Testing Credentials Directly

The Admin Username and Password can be tested independently of CCaaS by logging into the API URL directly with those credentials.

📘

API Access vs. SIP Registration

The steps above confirm the API connection used to sync users and licensing data. The SIP connection used to actually place and receive calls is registered separately — see SIP Extensions to verify an extension is registered for calls.

OAuth clients can be reviewed under System > Settings > Advanced > OAuth Clients in the NetSapiens Admin Portal; user permissions under Users > Configuration > {User} > Scope. If issues persist, Xima Support can assist further.