Name
LookupCIDName() — Performs a lookup of a Caller ID name from the AstDB
Note
This application has been deprecated in favor
of
Set(CALLERID(
name
)=${DB(cidname/${CALLERID(num
)})})
Uses the Caller ID number on the active channel to retrieve the
Caller ID name from the AstDB (family cidname
). This application 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
Caller ID names on some incoming calls.
; look up the Caller ID information from the AstDB, and pass it along
; to Jane's phone
exten => 123,1,Answer()
exten => 123,2,LookupCIDName()
exten => 123,3,Dial(SIP/Jane)
Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.