Overview

The Set CallerID module is a simple and effective way to manipulate caller ID (CID) within the call flow to help identify who is calling, use the proper greeting for a caller, give priority, or even handle calls from multiple companies. The module allows you to change the caller ID of a call and then continue on to the desired destination.

Logging In

Creating a Set CallerID Instance

Click the Add button.

Fill out the four elements of the form:

Description

Enter a descriptive name for this CallerID Instance to help you identify its purpose. Example: “Sales CID”

CallerID Name

The caller ID name will be changed to this. If you are appending to the current caller ID name, don’t forget to include the appropriate variables. If you leave this box blank, the caller ID name will be blank. Default caller ID name variable: ${CALLERID(name)} See the "Working With Variables" section below.

CallerID Number

The caller ID number will be changed to this. If you are appending to the current caller ID number, don’t forget to include the appropriate variables. If you leave this box blank, the caller ID number will be blank. Default caller ID number variable: ${CALLERID(num)} See the "Working With Variables" section below.

Destination

Choose the target destination to continue the call. The call will flow to this destination with the new CallerID Name and Number set.

Save

Click the Submit button and then click the Apply Config button to save the changes.

Working With Variables

Note: This uses Asterisk variables which can be modified in the same manner as if you were writing a dial plan.

Modifiers:

ExampleDescription
${VARIABLE:n}Skip n characters
${VARIABLE:-n}Only grab last n characters
${VARIABLE:s:n}Starting at character s grab n characters

 

Examples:

DescriptionVariableInputOutput
Strip + From a phone number${CALLERID(num):1}+48055512124805551212
Add a 1 to the phone number1${CALLERID(num)}480555121214805551212

Replace caller name with account code (assuming account code is set to 12345)

${CDR(accountcode)}John Smith12345