[asterisk-dev] Asterisk CLI verbosity from another remote machine

Julien Pawlak julien at pwlk.fr
Thu Dec 20 02:08:29 CST 2012


Hi Karsten,

Thank you for your reply, I will test it.

Otherwise, you would not know how to get this output, or someone else? I 
am very interested and I can not find by looking in the sources.

Thank you again.

Julien

Le 19/12/2012 10:49, Karsten Wemheuer a écrit :
> Hi Julien,
>
> Am Mittwoch, den 19.12.2012, 10:16 +0100 schrieb Julien Pawlak:
>> Hello everyone,
>>
>> I have a question and I think it relates to asterisk-dev. Otherwise,
>> excuse me if my question does not concern you.
>>
>> I would like to give asterisk CLI access to read-only by redirecting
>> standard output to another remote machine via a RUBY script for
>> security. My problem is that when I run my script, it did not
>> display verbosity ..
>>
>> Can you explain to me how the asterisk CLI displays the verbosity,
>> please?
>>
>> I do not want to pass by writing a log file full because it would too
>> much writing to disk and greatly reduce the performance of my servers.
> You can open a fifo (named pipe) and use this in the logger.conf instead
> of a real file. Your ruby script can than read from the fifo. If You are
> only interested in verbosity information, You could write
>          path_to_fifo => verbose
> in logger.conf.
>
> Don't forget "logger reload" after changing the file logger.conf.
>
> HTH,
>
> Karsten
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list