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/#si...
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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users