Name
LookupCIDName() — Performs a lookup of a Caller ID name from the AstDB
Synopsis
LookupCIDName()
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.
Always returns 0
.
; 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 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.