This PR allows kamailio to duplicate messages to Homer using HEPv3 [0].
An optional correlation ID (which can contain PVs) can be passed to sip_trace().

The packing macros in hep.h are authored by @camilleoudot and I've just used them.

An example of formats:

modparam("siptrace", "duplicate_uri", "sip:127.0.0.1:9062")
...
sip_trace("sip:127.0.0.1:9060", "123"); // duplicate URI + correlation ID
sip_trace("", "345"); // default URI + correlation ID
sip_trace("", "$fU-678"); // default URI + correlation ID with PVs
sip_trace(); // default URI + no correlation ID

[0] https://github.com/sipcapture/HEP/blob/master/docs/HEP3_rev12.pdf


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1006

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.