Module: kamailio Branch: master Commit: 41f6ddb8162960633b005c759b74efd86296d021 URL: https://github.com/kamailio/kamailio/commit/41f6ddb8162960633b005c759b74efd8...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2019-10-01T10:17:03+02:00
modules: readme files regenerated - siptrace ... [skip ci]
---
Modified: src/modules/siptrace/README
---
Diff: https://github.com/kamailio/kamailio/commit/41f6ddb8162960633b005c759b74efd8... Patch: https://github.com/kamailio/kamailio/commit/41f6ddb8162960633b005c759b74efd8...
---
diff --git a/src/modules/siptrace/README b/src/modules/siptrace/README index 35b1dd78a3..951482065d 100644 --- a/src/modules/siptrace/README +++ b/src/modules/siptrace/README @@ -435,8 +435,9 @@ modparam("siptrace", "force_send_sock", "sip:10.1.1.2:5000")
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.
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
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
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 mailto: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 <mailto:sr-dev@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com mailto: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
On 01.10.19 10:41, Juha Heinanen 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?
Yes, it is needed when you want storage directly to database. trace_mode is only for traffic mirroring right now.
Cheers, Daniel