NoOp()
NoOp(Text
)
NoOp()
kann man aber Text auf dem Asterisk-CLI ausgeben: eine
zum Debugging sehr nützliche Eigenschaft.NoOp()
auf dem CLI erfolgt erst ab dem
Verbose-Level 3. Dieser kann im CLI mit set verbose 3
gesetzt werden.exten => 123,1,NoOp(Caller-ID: ${CALLERID})
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'NoOp' =-
[Synopsis]
Do Nothing
[Description]
NoOp(): This applicatiion does nothing. However, it is useful for debugging
purposes. Any text that is provided as arguments to this application can be
viewed at the Asterisk CLI. This method can be used to see the evaluations of
variables or functions without having any effect.
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -1,10 +1,11 @@
-= Info about application 'NoOp' =-
[Synopsis]
- Do Nothing
+ Do Nothing (No Operation)
[Description]
- NoOp(): This applicatiion does nothing. However, it is useful for debugging
+ NoOp(): This application does nothing. However, it is useful for debugging
purposes. Any text that is provided as arguments to this application can be
viewed at the Asterisk CLI. This method can be used to see the evaluations of
- variables or functions without having any effect.
+ variables or functions without having any effect. Alternatively, see the
+ Verbose() application for finer grain control of output at custom verbose levels.