Rate this page:

Function for Caller ID rotation

In the below example, you will create an outbound scenario that company B uses to call customers from random Caller IDs.

Company B provides lending services. The company has introduced new preferential terms for providing consumer loans with an individual interest rate. Contact center employees must inform customers about these conditions.

To increase the likelihood of connecting with a potential customer and improve customer trust, the company wants to randomize outbound Caller IDs. For that, they need to add the random Caller ID function to an outbound scenario.

  1. Go to Administration > Functions > Management section.
  2. Click New function.
New function
  1. Copy the following code and paste it into the function on the Code tab.
Random Caller ID function

Random Caller ID function

Function code
  1. Click Create.
  2. Go to Administration > Automation > Outbound scenarios and click the Blank scenario button.
  3. Connect the Function request block before the Outbound call block. In the block settings, select the created function.

The function rotates all active available phone numbers on your account (purchased, custom, and external numbers) and picks a random one as a Caller ID. The system then writes this number to the custom_caller_id variable.

Function request
  1. In the Outbound call block, enable the Change Caller ID switch.
  2. In the Create or select a variable add the custom_caller_id variable which receives a random Caller ID.
Outbound call

Further call logic is determined by your company's workflows and scenario settings. The created scenario can be used in outbound dialing campaigns.

Scenario