Hello,

this configuration works for me:

# ----- siptrace params
loadmodule "siptrace.so"
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_mode", 0)
modparam("siptrace", "duplicate_uri", "sip:1.2.3.4:9060")
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_version", 3)
modparam("siptrace", "hep_capture_id", 234)

and:

request_route {

           sip_trace_mode("t");

with:

modparam("siptrace", "trace_mode", 0)

I have duplicated messages on Homer. My homer configuration is:

HEPAddr               = "0.0.0.0:9060"
HEPTCPAddr            = "0.0.0.0:9060 "
HEPTLSAddr            = ""

Thank you

 Regards

---
I'm SoCIaL, MayBe

On 8/06/20 14:49, Karsten Horsmann wrote:
Hi,

The Kamailio version should be interesting. And in 5.3.4 things changed. See for example my config snippet that works for me and what Henning told then

https://lists.kamailio.org/pipermail/sr-users/2020-June/109447.html



Social Boh <soc...@bohboh.info <mailto:soc...@bohboh.info>> schrieb am Mo., 8. Juni 2020, 21:20:

    Hello,

    I'm trying to using homer 7 and Kamaikio Siptrace module.

    My kamailio configuration:

    # ----- siptrace params
    loadmodule "siptrace.so"
    modparam("siptrace", "db_url", DBURL)
    modparam("siptrace", "trace_flag",22)
    modparam("siptrace", "trace_on", 1)
    modparam("siptrace", "duplicate_uri", "sip:1.2.3.4:9060")
    modparam("siptrace", "trace_to_database", 1)
    modparam("siptrace", "hep_mode_on", 1)
    modparam("siptrace", "hep_version", 2)
    modparam("siptrace", "hep_capture_id", 234)

    request_route {

               sip_trace();
               setflag(22);

    But on Homer 7 LOG:

    ...

    2020-06-08T14:12:33-05:00 WARN malformed packet with length 754
    which is neither hep nor protobuf encapsulated
    2020-06-08T14:12:37-05:00 WARN malformed packet with length 525
    which is neither hep nor protobuf encapsulated
    2020-06-08T14:12:48-05:00 WARN malformed packet with length 599
    which is neither hep nor protobuf encapsulated

    ...

    If I using:

    modparam("siptrace", "hep_version", 3)

    No captured data on Homer SIP Capture Server.

    Regards

    ---
    I'm SoCIaL, MayBe

    On 8/06/20 13:06, Karsten Horsmann wrote:
    Hi,

    short answer - yes it does.

    You can capture the traffic within Kamailio (siptrace module) or
    did that (if the traffic is plain sip) with 3rd party stuff like
    heplify.

    Cheers
    Karsten

    Social Boh <soc...@bohboh.info <mailto:soc...@bohboh.info>>
    schrieb am Mo., 8. Juni 2020, 19:25:

        Hello,

        Does Kamailio works with homer sip capture server 7 and HEPv3?

        I'm trying to test without success.

        Regards

-- ---
        I'm SoCIaL, MayBe

        _______________________________________________
        Kamailio (SER) - Users Mailing List
        sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
        https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


    _______________________________________________
    Kamailio (SER) - Users Mailing List
    sr-users@lists.kamailio.org  <mailto:sr-users@lists.kamailio.org>
    https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to