[SR-Users] send LUA logs via HEP to Homer server
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 17 15:21:21 CET 2018
Hello,
if you use release 5.1.x or branches 5.1 or master, then you can do:
KSR.siptrace.hlog("log message here");
Not much documentation about it, but the prototype is listed at:
-
http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/#siptrace
Documentation for the behaviour of the corresponding kamailio.cfg
function is in the siptrace readme.
Cheers,
Daniel
On 16.01.18 17:55, Abdul Basit wrote:
> Hi K-team,
>
> I am processing incoming INVITE events in my lua script.
> To print the logs with kamailio syslog, i am using
>
> sr.log("info", "-- Collecting data from kamailio -- ")
>
> I am searching for a way to send selective logs for an incoming call
> from lua script through HEP3 towards Homer server.
>
> How can I make it work? What utility or library is helpful.
>
> *PS:* captagent is configured on the same server for SIP traces.
>
> --
> regards,
>
> abdul basit
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180117/25a7066f/attachment-0001.html>
More information about the sr-users
mailing list