You confuse the options to store sip traffic of siptrace. The module can write to database table, with no relation to HEP and Homer, just write to database table siptrace via db_mysql or other database module. It is what Juha is using, not the option to mirror to Homer, so the example on homer's docs are not relevant here.

Cheers,
Daniel

On 01.10.19 12:58, David Villasmil wrote:
Yes it is.

You’d need it on the request and reply routes. There’s an example on homer’s GitHub.

On Tue, 1 Oct 2019 at 09:42, Juha Heinanen <jh@tutpro.com> wrote:
Kamailio Dev writes:

>     If set to 1, the module uses core events triggered when receiving or
>     sending SIP traffic to mirror traffic to a SIP capture server using
> -   HEP. It will automatically do the mirroring of all traffic, no need to
> -   set the siptrace flag per request.
> +   HEP. It will automatically do the mirroring of all SIP traffic. It is
> +   no longer needed to set the siptrace flag per request or execute
> +   sip_trace(), if it is done, then there mirroring is duplicated.

>     If set to 0, no automatic mirroring of SIP traffic via HEP.

So if hep_mode_on is not set (defaults to 0), is setting of the flag and
calling of sip_trace() still needed if trace_mode is set to 1?

-- Juha

_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337

_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- https://asipto.com/u/kat