[asterisk-users] Putting a notice in the logs from the dialplan

Steven Wheeler SWheeler at usinternet.com
Thu May 1 09:28:50 CDT 2014

On Thu, May 1, 2014 at 8:37 AM, Ishfaq Malik <ish at pack-net.co.uk<mailto:ish at pack-net.co.uk>> wrote:

Using asterisk 1.8

NoOp and Verbose both put messages into the logs as VERBOSE, is there any way to put a message into the logs as NOTICE from within a dial plan?

Thanks in advance

What about the Log application? It is available on our Asterisk 1.8.26 box.

Connected to Asterisk
Verbosity is at least 3
CLI> core show application Log

  -= Info about application 'Log' =-

Send arbitrary text to a selected log level.

Sends an arbitrary text message to a selected log level.


    Level must be one of 'ERROR', 'WARNING', 'NOTICE', 'DEBUG', 'VERBOSE'
    or 'DTMF'.
    Output text message.

[See Also]
Not available
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140501/84a092ab/attachment.html>

More information about the asterisk-users mailing list