Mobile Cloud Calling Set Up for MCube

1. Overview

This article will help you set up MCube 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 MCube

There are two types of configurations available for MCube –

  • MCube Cloud Offering – Configure this API if you want to enable support for softphone telephony.
  • MCube VMC offering – This version does not support a softphone.

 

4. MCube Cloud Calling Offering

1) Click2Call API

Navigate to the Click to Call Set-up screen to configure the MCube Cloud Offering Click2Call API –

Note: This API is specifically for domestic calling.
MethodAPI
POSThttps://api.mcube.com/Restmcube-api/outbound-calls

In Body, pass the following payload –

ParameterDescription
HTTP_AUTHORIZATIONPass the token, this is account-specific and should be unique for each customer Mcube account.
exenumber
  • Agent number to dial from.
  • Map the exenumber to the field that contains the Agent phone number,  “@AssociatedPhoneNumberWithoutCountryCode”.
custnumber
  • Lead number to whom the call is dialed.
  • You can map this variable to the “@CustomerNumberWithoutCountryCode” option.
refurlThis is a static variable and should always be 1.
refid
  • This is the lead ID. 
  • In the example below, the variable is mapped to “@{Lead:ProspectID}“.

mcube c2c cloud offering

Response Mapping for MCube Cloud Offering Click2Call  –

KeyValueMapping
called""Consider As CallSessionId
statussuccConsider As Success
msg""Consider As Data

mcube cloud calling c2c response mapping

2) Incoming Agent Pop-up

Navigate to the Incoming Agent Pop-up screen to configure the MCube Cloud Offering Incoming Agent Pop-up API.

MethodAPI
POST https://api.mcube.com/cloudcomputing-api/getCustomerDetails

In Body, pass the following payload –

ParameterDescription
secretkeyPass your MCube secret key.
emp_phone
  • Employee or DID number.
  • From the dropdown, map the exenumber to the field that contains the Agent phone number,  “@AssociatedPhoneNumberWithoutCountryCode”.
mcube cloud agent pop up

Response Mapping for MCube Cloud Offering Incoming Agent Pop-up  –

KeyValueMapping
customernumber""Consider As Data
statussuccessConsider As Success

agent pop up response

3) List All DID Numbers

Navigate to the List All DID Numbers screen to configure the MCube Cloud Offering List All DID Numbers API.

MethodAPI
POSThttps://config.mcube.com/cloudcomputing-api/commondids

In Body, pass the following payload –

ParameterDescription
secretkeyPass your MCube secret key.

list all did

Response Mapping for MCube Cloud Offering List All DID Numbers  –

KeyValueMapping
statussuccessConsider As Success
Didnumber""Consider As Data

list all did response

 

5. MCube VMC Offering

1) Click2Call API

Note: This API is specifically for domestic calling.

Navigate to the Click to Call Set-up screen to configure the MCube VMC Offering Click2Call API –

MethodAPI
GEThttps://mcube.vmc.in/api/outboundcall?apikey=xxxxxef3a942e649f4abxxxxxxxxxxxx&exenumber=xxx3767xxx&custnumber=xxx0999xxx&url=1

Query Parameters –

ParameterDescription
apikeyYour MCube API key.
exenumber
  • DID number to dial from.
  • From the dropdown, map the exenumber to the field that contains the Agent phone number,  “@AssociatedPhoneNumberWithoutCountryCode”.
custnumber
  • Lead number to whom the call is dialed.
  • You can map this variable to the “@CustomerNumberWithoutCountryCode” option.
urlThis is a static variable and should always be 1.

MCube VMC cloud calling c2c

Response Mapping for MCube VMC Offering Click2Call  –

KeyValueMapping
msgsuccessConsider As Success
callid""Consider As CallSessionId

MCube VMC cloud calling c2c response

2) Incoming Agent Pop-up

Navigate to the Incoming Agent Pop-up screen to configure the MCube VMC Incoming Agent Pop-up API.

MethodAPI
Gethttps://mcube.vmc.in/api/getCustmerdetails?apiKey=xxxxxxxxxx42e649f4ab6dxxxxxxxxxx&agentPhoneNumber=xxx376xxxx

Query Parameters –

ParameterDescription
apiKeyPass your MCube API key.
agentPhoneNumber
  • Agent or DID number.
  • From the dropdown, map the exenumber to the field that contains the Agent phone number,  “@AssociatedPhoneNumberWithoutCountryCode”.

Response Mapping for MCube VMC Offering Incoming Agent Pop-up  –

KeyValueMapping
statussuccessConsider As Success
statuserrorConsider As Error
data""Consider As Data

MCube VMC incoming agent response

3) List All DID Numbers

Navigate to the List All DID Numbers screen to configure the MCube VMC Offering List All DID Numbers API.

MethodAPI
GEThttp://mcube.vmc.in/api/getBusinessNumbers?apiKey=xxxxxxxxxx42e649f4ab6dxxxxxxxxxx

Query Parameters –

ParameterDescription
apiKeyPass your MCube API key.

MCube VMC cloud calling list all did numbers

Response Mapping for MCube VMC Offering List All DID Numbers  –

KeyValueMapping
statussuccessConsider As Success
data""Consider As Data

MCube VMC cloud calling list all did response

 

Any Questions?

If you have a question 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.

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