Name

DumpChan() — Dumps information about the calling channel to the console

Synopsis

DumpChan([min_verbose_level])

Displays information about the calling channel, as well as a listing of all channel variables. If min_verbose_level is specified, output is displayed only when the verbosity level is currently set to that number or greater.

Warning

If you have many channel variables set, DumpChan() will show only the first 1,024 characters of your channel variable listing.

exten => s,1,Answer()
exten => s,2,DumpChan()
exten => s,3,Background(enter-ext-of-person)

See Also

NoOp(), Verbose()

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.