Page 431 - Asterisk™: The Future of Telephony
P. 431
; read the Caller ID information from channel Zap/1
exten => 123,1,Answer()
exten => 123,n,ImportVar(cidinfo=Zap/1,CALLERID(all))
See Also
Set()
Log() Logs a custom message from the dialplan
Log(level|message)
Sends a custom message to the logfiles from the dialplan. This application can be useful
to log an exceptional condition to the logfiles, for later examination. Level may be one
of the following:
DEBUG
Debugging message. This is generally not logged on a production system.
NOTICE
An informational message.
WARNING
A condition that may be serious, but is not a definite error.
ERROR
Something went terribly wrong.
See Also
NoOp(), Verbose()
LookupBlacklist() Performs a lookup of a Caller ID name/number from the blacklist database
LookupBlacklist([options])
This application has been deprecated in favor of GotoIf(${BLACKLIST
()}?context|extension|priority)
Looks up the Caller ID number on the active channel in the Asterisk database (family
blacklist). If the Caller ID number is found in the blacklist, Asterisk sets the LOOKUPBL
STATUS channel variable to FOUND. Otherwise, the variable is set to NOTFOUND.
If the j option is used in the options parameter, and the number is found, and if there
exists a priority n+101 (where n is the priority of the current instance), the channel will
be set up to continue at that priority level.
Log() | 403