Name

NoOp() — Does nothing

Synopsis

NoOp(text)

Does nothing—this application is simply a placeholder. This application is often used as a debugging tool. Whenever Asterisk’s core verbosity level is set to 3 or above, Asterisk evaluates and prints each line of the dialplan before executing it. This means that any arguments passed to the NoOp() application (in the text parameter) are printed to the console. By watching the console output, a skilled Asterisk administrator can use this output to debug problems in the dialplan.

exten => 123,1,NoOp(CallerID is ${CALLERID})

Tip

You don’t have to place quotes around the text. If quotes are placed within the brackets, they will show up on the console.

See Also

Verbose(), 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.