This adds the `hlog()` function to the siptrace module, that sends a HEP3 LOG event packet to the URI configured in the module.
Usage: ``` ... hlog("[cfg:$cfg(line)] This is a log from kamailio to Homer"); ... hlog("$hdr(P-MyID)", "Another one with a custom correlation ID"); ... ``` You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1007
-- Commit Summary --
* siptrace: add hlog() to send logs to homer * siptrace: hlog() documentation
-- File Changes --
M src/modules/siptrace/doc/siptrace.xml (5) M src/modules/siptrace/doc/siptrace_admin.xml (34) M src/modules/siptrace/siptrace.c (153)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1007.patch https://github.com/kamailio/kamailio/pull/1007.diff