Caller ID allows the person being called to see the number (and sometimes the name) of the person calling them, when they have the correct equipment to receive the callerid information. Caller id is often an added value (i.e extra cost) service from your telco. You can usually withhold sending of the caller id on outgoing calls by dialling a special code before the number.

There are many different callerid systems in use around the world. The callerid FAQ gives a lot of useful information.

  • Note that on the PSTN, CNAM (Caller NAMe) data is looked up via caller ID digit information out of a database by the serving CO. It cannot be set by the user.
On ISDN PRI lines (US NI-2 type) Callerid name information CNAM is transmitted in a separate FACILITY IE. some time AFTER the initial SETUP message. If you are using CNAM in your dialplan make sure to insert a wait statement before using the calleridname variable. Otherwise CALLERIDNAME will not be populated initially.

exten => _X.,1,NoOp,${CALLERIDNAME} ; will be empty. - FACILITY IE has not been received yet.
exten => _X.,2,Wait(1) ; wait for the CO to find the name in the database
exten => _X.,3,NoOp,${CALLERIDNAME} ; now it shows the name

If you are using a VOIP provider, the CID information is sent with the call setup. Note however that most VOIP providers will not send a caller ID name, only the number. This is because they do not have name exchange agreements in place. If you want to get caller ID information in this case, use a reverse number lookup tool. Take a look at smartCID from as an example.

See also:

Created by: drbob, Last modification: Sat 28 of May, 2011 (21:06 UTC) by mwally
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+