SetCallerID
Synopsis
SetCallerID(“Name” <Number>[|a])
Deprecated in 1.2, removed in 1.4.- See Setting Callerid
Description
Set Caller*ID on a call to a new value. Sets ANI as well if a flag is used. Note that the variable ${CALLERID} contains the current call’s Caller ID (“name” and <number>). ${CALLERIDNAME} and ${CALLERIDNUM} can also be used to get the current name and number independently.
Notes
- Be aware that setting fromuser= in sip.conf will overide SetCallerID!
- If the Caller ID is blocked and you still want to set the Caller Name or ID you may need to SetCallerPres(allowed).
See also
- Asterisk cmd SetCIDName: Set caller ID name only
- Asterisk cmd SetCIDNum: Set caller ID number only
- Telewest UK PRI setup details: How to get Telewest in the UK to configure your PRI line to allow you to set your caller ID
- UK Asterisk Details: Details on implementing your BT PRI line with Asterisk, including changes for CallerID.
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ