Mobile Cloud Calling Set Up for Ozonetel CCaaS

1. Overview

This article will help you set up Ozonetel CCaaS with LeadSquared Mobile Cloud Calling connector.

 

2. Prerequisites

Before integrating your telephony provider, you must read the prerequisites and install the connector by referring to this article – Mobile Cloud Calling.

 

3. Set Up for Ozonetel

Sample APIs for Ozonetel are listed below. To get the APIs, along with your api_key and username, please reach out to your Ozonetel support executive.

Before starting the API configuration, you must ensure the following two custom user fields are available on your LeadSquared account –

  • Ozonetel Username
  • Virtual Number Campaign (Ozonetel Campaign).

LeadSquared Cloud Calling Connector

Make a note of the schema names of the fields for the fields created (ie mx_Custom_9 and mx_Custom_8 in the above example). This would be required while configuring the Click2Call API. To know how to create user custom fields, see Manage User Custom Fields.

To find your Ozonetel Agent ID and Ozonetel Virtual Number, navigate to My Profile>Settings>Profile>My Profile.

LeadSquared Cloud Calling Connector

PropertyDescription
Ozonetel Agent IDThe Ozonetel Agent ID of the agent, that was used to log-in to the agent portal.
Ozonetel Virtual NumberThe Virtual Number/Campaign Name through which the cloud call will be initiated.
Note: The data in the Ozonetel Agent ID and Ozonetel Virtual Number fields have to be populated by an admin or a user for each agent who’s using the Mobile Cloud Calling functionality.

Connector Set-up 

1) Click2Call API Set-up

Navigate to Click2Call API Set-up screen to configure the Ozonetel CCaaS Click2Call API –

MethodAPI
GEThttps://in1-ccaas-api.ozonetel.com/CAServices/PhoneManualDial.php?apiKey=APIKeyFromOzonetelAccount&userName=AccountNameFromOzonetelPortal&custNumber=@CustomerNumber&phoneName=AgentPhoneNameWithinOzonetelPortal&did=VirtualNumber/DID%20numberFromOzonetelPortal&uui=Lead/OpportunityId

Query Parameters –

ParameterDescription
apiKeyPass your Ozonetel API key.
userNameOzonetel account name.
custNumber
  • Lead number to whom the call is dialed.
  • You can map this variable to the “@CustomerNumber ” option. The phone number is passed with the country code, in the “+91-XXXX” format, via this variable, when Click2Call is placed.
phoneName
  • The name of the agent within the Ozonetel account.
  • Map the phoneName to the user field that contains the phoneName username, which in the example listed below is “@{User:mx_Custom_10}”.
did
  • Virtual Number or DID from Ozonetel.
  • In the example below, this variable is mapped to “@{User:mx_Custom_10}”, which in turn picks up the campaignName from the user field (which is Ozonetel Virtual Number in the example listed below).
uui
  • The Lead Id or Opportunity Id.
  • In the example below, the variable is mapped to “@RawOpportunityId“.

ozonetel click2call ccaas api

Response Mapping for Ozonetel Click2Call API  –

KeyValueMapping
statusqueuedConsider As Success
messageCall is initiated, please wait.Consider As Error
statuserrorConsider As Error

ozonetel ccaas click2call response mapping

2) Incoming Agent Pop-up

Navigate to the Incoming Agent Pop-up screen to configure the Ozonetel CCaaS Incoming Agent Pop-up API.

MethodAPI
GETAPI: https://in1-ccaas-api.ozonetel.com/CAServices/LeadSquare/PullAPI.php?userName=AccountNameFromOzonetelPortal&apiKey=AccountAPIFromOzonetelPortal&agentPhoneNumber=@{User:PhoneMain}
Query Parameters –
ParameterDescription
apiKeyYour Ozonetel API key. To obtain this, please log in to your Ozonetel account, or reach out to your Ozonetel support executive.
userNameThe username is listed on your Ozonetel account.
agentPhoneNumber
  • The LeadSquared user’s Ozonetel agent phone number.
  • From the dropdown, map the agentPhoneNumber to the user field that contains the Agent phone number, which in the example listed below is “@{User:PhoneMain}”.

ozonetel ccaas incoming agent pop-up api

Response Mapping for the Incoming Agent Pop-up API –

KeyValueMapping
messageInvalid Agent Phone NumberConsider As Error
StatusSuccessConsider As Success
PhoneNumber""Consider As Data

ozonetel ccaas incoming agent pop up response mapping

3) List All DID Numbers

Navigate to the List All DID Numbers screen to configure the Ozonetel CCaaS List All DID Numbers API.

MethodAPI
GEThttps://in1-ccaas-api.ozonetel.com/CAServices/DID/RunningDIDs.php?userName=AccountNameFromozonetelPortal&apiKey=AccountAPIKeyFromOoznetelPortal

Query Parameters –

ParameterDescription
userNameThe username is listed on your Ozonetel account.
apiKeyYour Ozonetel API key. To obtain this, please log in to your Ozonetel account, or reach out to your Ozonetel support executive.

ozonetel ccaas list all did api

Response Mapping for the List All DID Numbers API –

KeyValueMapping
statussuccessConsider As Success
data""Consider As Data

ozonetel ccaas list all did api response mapping

 

Any Questions?

If you have a question that this article did not answer, please let us know in the comments section below. We’ll be happy to improve the content and help you with any doubts you have.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments