Bryant Zimmerman
2015-Oct-25 20:14 UTC
[asterisk-users] Remote UNIX connection / disconnected.
Anyone know how to suppress the -- Remote UNIX connection / disconnected messages. I have a monitoring application that calls asterisk from the command line to verify some uptime stats. I would like to not have the console log the connections.. Any ideas are appreciated. Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151025/96c12276/attachment.html>
Steve Edwards
2015-Oct-25 20:22 UTC
[asterisk-users] Remote UNIX connection / disconnected.
On Sun, 25 Oct 2015, Bryant Zimmerman wrote:> Anyone know how to suppress the -- Remote UNIX connection / disconnected > messages. I have a monitoring application that calls asterisk from the > command line to verify some uptime stats. I would like to not have the > console log the connections.. Any ideas are appreciated.Use AMI instead? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Chad Wallace
2015-Oct-25 23:57 UTC
[asterisk-users] Remote UNIX connection / disconnected.
On Sun, 25 Oct 2015 13:22:22 -0700 (PDT) Steve Edwards <asterisk.org at sedwards.com> wrote:> On Sun, 25 Oct 2015, Bryant Zimmerman wrote: > > > Anyone know how to suppress the -- Remote UNIX connection / > > disconnected messages. I have a monitoring application that calls > > asterisk from the command line to verify some uptime stats. I would > > like to not have the console log the connections.. Any ideas are > > appreciated. > > Use AMI instead?+1 Check out the attached perl script for a starting point. The Asterisk::AMI::Common module is available from CPAN. -- C. Chad Wallace, B.Sc. The Lodging Company http://www.lodgingcompany.com/ OpenPGP Public Key ID: 0x262208A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: ami-corestatus.pl Type: application/x-perl Size: 797 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151025/bcbc3ed9/attachment.bin>
Steve Edwards
2015-Oct-26 21:43 UTC
[asterisk-users] Remote UNIX connection / disconnected.
On Sun, 25 Oct 2015, Bryant Zimmerman wrote:> Anyone know how to suppress the -- Remote UNIX connection / disconnected messages.I have not tried it, but according to: http://asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/additional_configuration_tasks-asterisk-conf-file.html You can set 'hideconnect = yes' -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST