[sr-dev] [kamailio/kamailio] siptrace: new hlog() function to send logs to homer (#1007)

Camille Oudot notifications at github.com
Thu Feb 23 18:56:54 CET 2017


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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170223/dceb798c/attachment.html>


More information about the sr-dev mailing list