Heya everybody.

I work on a lot of AGI/AMI/AJAM/etc.. projects and recently discovered
RELP (available via rsyslog) which is defined here:
http://www.librelp.com/relp.html

I've been pimping out (yes.. pimping) the Log dialplan application to
quickly emit a message to my local syslog which is then delivered to
rsyslog.  I have rsyslog configured to use RELP between itself and a
remote RELP server (ToRELP) in a reliable way.

Messages are queued and redelivered if for any reason the remote RELP
server dies.

After doing some testing I've found that setting the core debug and
verbosity to 0 does not negatively impact messages going to syslog..
which is wonderful.

I personally use this to send JSON commands off to a worker process
that helps with some screenpop processes.

https://github.com/whardier/torelp

My dialplan has a line like the following in it:

Log(NOTICE, JSON:{'i': 'havealovelybunchofcoconuts', 'dee': 'dledee'})

Have fun.. always looking for contributions to my projects.  Hope
somebody out there can utilize this.

--
_____________________________________________________________________
-- 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

Reply via email to