September 2005
Intermediate to advanced
408 pages
16h 20m
English
LookupCIDName() — Performs a lookup of a Caller ID name from the AstDB
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)