Name

Verbose() — Sends arbitrary text to verbose output

Synopsis

Verbose([level,]message)

Sends the specified message to verbose output. The level must be an integer value. If not specified, level defaults to 0.

exten => 123,1,Verbose(Somebody called extension 123)
exten => 123,2,Playback(extension)
exten => 123,3,SayDigits(${EXTEN})

Warning

The optional argument level is not so optional, if you include the delimiter | in your invocation of Verbose(). If the delimiter is found, Verbose() assumes that you meant to specify level (and chops off everything preceding the initial |). It is therefore probably best to get in the habit of always specifying the level.

See also

NoOp(), Log()

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.