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

Ishfaq Malik ish at pack-net.co.uk
Thu May 1 09:39:42 CDT 2014


That works a treat, thank you.


On 1 May 2014 15:28, Steven Wheeler <SWheeler at usinternet.com> wrote:

>    On Thu, May 1, 2014 at 8:37 AM, Ishfaq Malik <ish at pack-net.co.uk>
> wrote:
>
> Hi
>
>
>
> 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 1.8.26.0
>
> Verbosity is at least 3
>
> CLI> core show application Log
>
>
>
>   -= Info about application 'Log' =-
>
>
>
> [Synopsis]
>
> Send arbitrary text to a selected log level.
>
>
>
> [Description]
>
> Sends an arbitrary text message to a selected log level.
>
>
>
> [Syntax]
>
> Log(level,message)
>
>
>
> [Arguments]
>
> level
>
>     Level must be one of 'ERROR', 'WARNING', 'NOTICE', 'DEBUG', 'VERBOSE'
>
>     or 'DTMF'.
>
> message
>
>     Output text message.
>
>
>
> [See Also]
>
> Not available
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 

Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish at pack-net.co.uk
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140501/3adc9608/attachment-0001.html>


More information about the asterisk-users mailing list