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.

Always returns 0.

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

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.