Looks up a caller ID name in the AstDB.
LookupCIDName()
Looks up the caller ID number in the AstDB (family
cidname), and, if it exists, sets the corresponding caller ID
name. This application does nothing if no caller ID is present.
LookupCIDName() can be useful if you receive number
information but no names, or if you want to change the caller ID
information certain incoming calls.
Returns 0.
To add entries to the list from the CLI enter database put
cidname "; similarly enter number"
"name"database
del cidname " to delete entries
and number"database show cidname to print a list of all the entries
in the database.
exten => 123,1,Answer() exten => 123,n,LookupCIDName()
|
|
|
Internal help for this application in Asterisk 1.4: -= Info about application 'LookupCIDName' =- [Synopsis] Look up CallerID Name from local database [Description] LookupCIDName: Looks up the Caller*ID number on the active channel in the Asterisk database (family 'cidname') and sets the Caller*ID name. Does nothing if no Caller*ID was received on the channel. This is useful if you do not subscribe to Caller*ID name delivery, or if you want to change the names on some incoming calls. diff output to internal help in Asterisk 1.2: - none - |