[asterisk-users] Dialplan Syslog
Just a thought I had. It'd be cool if someone wrote a syslog() dialplan application for Asterisk *hint* *hint* Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan Syslog
Douglas Garstang wrote: Just a thought I had. It'd be cool if someone wrote a syslog() dialplan application for Asterisk *hint* *hint* Doug. Doug, It would be cool, but for now you can use System() and logger. If you need to get something done quickly... -- Kristian Kielhofner ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Dialplan Syslog
You could uses System() and the Logger command. Wouldn't be hard. -Original Message- From: Douglas Garstang [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 12:25 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Dialplan Syslog Just a thought I had. It'd be cool if someone wrote a syslog() dialplan application for Asterisk *hint* *hint* Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan Syslog
It'd be cool if someone wrote a syslog() dialplan application for Asterisk *hint* *hint* That could be usefull, but what is wrong with : System(logger Asterisk can use syslog) ? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Dialplan Syslog
Well, System(logger) is going to be resource intenstive as it has to spawn a process. I actually just emulated the behaviour with FastAGI. My client side looks something like: // - // // SysLogger: // // - macro SysLogger(msg) { AGI(agi://xxx.yyy.140.167:5102/${msg}); return; } SysLogger(Some text); Then, on the server side, which is implemented as a multi-threaded python server, I call syslog() directly, and voila, all the syslog can be sent wherever I want via syslog.conf and no disk access was required on the client side. Doug. -Original Message- From: Time Bandit [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 1:55 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dialplan Syslog It'd be cool if someone wrote a syslog() dialplan application for Asterisk *hint* *hint* That could be usefull, but what is wrong with : System(logger Asterisk can use syslog) ? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dialplan Syslog
On Wed, 4 Oct 2006, Kristian Kielhofner wrote: Douglas Garstang wrote: Just a thought I had. It'd be cool if someone wrote a syslog() dialplan application for Asterisk *hint* *hint* Doug. Doug, It would be cool, but for now you can use System() and logger. If you need to get something done quickly... Or: dt-ext show application verbose -= Info about application 'Verbose' =- [Synopsis] Send arbitrary text to verbose output [Description] Verbose([level|]message) level must be an integer value. If not specified, defaults to 0. And, in logger.conf, something like: syslog.local0 = debug,error,notice,verbose,warning Thanks in advance, Steve Edwards [EMAIL PROTECTED] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users