Bryant Zimmerman
2011-Dec-21 15:03 UTC
[asterisk-users] Suppress -- Remote UNIX connection message
We have written some monitoring and stat collection scripts that use asterisk -rx "command" The script runs once a min and logs data and posts any critical notifications. Everything is working well with this method but we get the -- Remote UNIX connection / disconnect message once a min and we would like to suppress it. Is it possible without reducing the verbose logging level. Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111221/e8d5a689/attachment.htm>
Andrew Latham
2011-Dec-21 15:13 UTC
[asterisk-users] Suppress -- Remote UNIX connection message
On Wed, Dec 21, 2011 at 12:03 PM, Bryant Zimmerman <BryantZ at zktech.com> wrote:> We have written some monitoring and stat collection scripts that use > asterisk -rx "command"? The script runs once a min and logs data and posts > any critical notifications.? Everything is working well with this method but > we get the -- Remote UNIX connection / disconnect message once a min and we > would like to suppress it. Is it possible without reducing the verbose > logging level. > > Thanks > > Bryantfrom http://svn.asterisk.org/svn/asterisk/trunk/configs/asterisk.conf.sample ;hideconnect = yes ; Hide messages displayed when a remote console; connects and disconnects. -- ~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~
Hi, maybe this parameter can help you. /etc/asterisk/asterisk.conf On the options block: hideconnect = yes Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111221/2dec4d06/attachment.htm>
Bryant Zimmerman
2011-Dec-21 15:26 UTC
[asterisk-users] Suppress -- Remote UNIX connection message
Andrew Thanks - This option was not in my asterisk.conf as I have been moving asterisk.conf forward since 1.6.1 so it appears it must have been added since then. I have pulled the options section from samples for the current 1.8.x version and placed it in to my asterisk.config. I will have to restart asterisk in a maintenance window to see if addresses my issue. Thanks for your help. Bryant ---------------------------------------- From: "Andrew Latham" <lathama at gmail.com> Sent: Wednesday, December 21, 2011 10:10 AM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Suppress -- Remote UNIX connection message On Wed, Dec 21, 2011 at 12:03 PM, Bryant Zimmerman <BryantZ at zktech.com> wrote: > We have written some monitoring and stat collection scripts that use > asterisk -rx "command" The script runs once a min and logs data and posts > any critical notifications. Everything is working well with this method but > we get the -- Remote UNIX connection / disconnect message once a min and we > would like to suppress it. Is it possible without reducing the verbose > logging level. > > Thanks > > Bryant from http://svn.asterisk.org/svn/asterisk/trunk/configs/asterisk.conf.sample ;hideconnect = yes ; Hide messages displayed when a remote console; connects and disconnects. -- ~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~ -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111221/31402c4e/attachment.htm>