/
15.0 Caller Id Mapping
15.0 Caller Id Mapping
The Caller Id Mapping REST interface provides the ability to dynamically set a Caller ID from a handset using a feature code or a programmable button.
Some users need to dynamically change their Caller ID from call to call based on such considerations as the product they are selling.
The Caller Id Mapping in conjunction with custom dial plan allows the agent to move between a small no. of caller ids.
To configure the mapping you need to configure a feature code or programmable button to make a rest call as follows:
https://<server hostname>/servicemanager/rest/njadmin-api-callerIdMapping?exten=NNN&callerId=XXXXXXXXXX&apiKey=XXXXX-XXXXX-XXXXX-XXXXX
Where:
NNN is the extension no.
XXXXXXXXXX is the Caller ID to display
The following customer dial plan is required:
[calleridRemap] exten => _X.,1,set(tmpclidrs=${CALLERID(NUM)}) exten => _X.,n,Set(tmpvaluers=${DB(TempCallerId/${CALLERID(NUM)})}) exten => _X.,n,execif($[${LEN(${tmpclidrs})} < 8 && ${LEN(${tmpvaluers})}< 3]|Set|CALLERID(NUM)=61385089777) exten => _X.,n,execif($[${LEN(${tmpvaluers})} > 3]|Set|CALLERID(NUM)=${DB(TempCallerId/${CALLERID(NUM)})}) exten => _X.,n,DBdel(TempCallerId/${tmpclidrs}) exten => _X.,n,return
Related content
02.0 Dial
More like this
04.5 Caller ID Management
04.5 Caller ID Management
More like this
Caller Id-2482
Caller Id-2482
More like this
Route Variables
Route Variables
More like this
NJ Click Caller ID
NJ Click Caller ID
More like this
Action Script Utils
Action Script Utils
More like this