Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 conjuction 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:

http://pbx.clouddialer.com.au/servicemanager/rest/njadmin-api-callerIdMapping?exten=NNN&callerId=XXXXXXXXXX

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
  • No labels