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

Reply via email to