Set Caller ID (Caller ID Tagging)

FreePBX - Applications Menu

What is the Set CallerID Module used for?

The Set CallerID module is a simple and effective way to manipulate callerID 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 callerID of a call and then continue on to the desired destination.

How is the  Set CallerID Module related to the other Modules?

 This module is a pass through module and will affect anything down stream of it that uses caller ID.

Overview

The Set CallerID module is a simple and effective way to manipulate callerID 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 callerID of a call and then continue on to the desired destination.

Setting a CallerID

Description

Enter a descriptive name for this CallerID Instance. Example: “Sales CID”

CallerID Name

The name of the callerID that you want to change to. If you are appending to the current callerID, don’t forget to include the appropriate variables. If you leave this box blank, the CallerID Name will be blanked. Default CID Name Variable: ${CALLERID(name)}

CallerID Number

The number of the callerID that you want to change to. If you are appending to the current callerID, don’t forget to include the appropriate variables. If you leave this box blank, the CallerID Number will be blanked. Default CID Number Variable: ${CALLERID(num)}

Destination

Choose the target destination to continue the call.

Save

Remember to press the “Submit Changes” button to save your CallerID Instance.

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:

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

 

Examples:

Description
Variable
Input
Output
Strip + From a phone number ${CALLERID(num):1} +4805551212 4805551212
Add a 1 to the phone number 1${CALLERID(num)} 4805551212 14805551212

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

${CDR(accountcode)} John Smith 12345