[OpenSIPS-Users] Sending HEP Packets
Răzvan Crainea
razvan at opensips.org
Mon Nov 6 03:59:22 EST 2017
Hello!
Shortly, you need to follow this logic:
1. Define a listener:
listen=hep_udp:127.0.0.1:6060
2. Define a HEP destination to capture the traffic to[1].
modparam("proto_hep", "hep_id", "[homer_id]1.2.3.4:9060
<http://1.2.3.4:9060>; version=2")
3. Next, define a tracing ID - an idea that describes where a specific
package should be sent[2]
modparam("siptrace", "trace_id", "[to_homer_tid]uri=hep:homer_id")
4. Start tracing the data you want by calling sip_trace() with the
destination provisioned earlier and the scope you want:
sip_trace("to_homer_tid", "m", "sip"); # this traces only the SIP message
Hope it is clear now.
[1] http://www.opensips.org/html/docs/modules/2.4.x/proto_hep.html#idp232096
[2] http://www.opensips.org/html/docs/modules/2.4.x/siptrace.html#idp5904384
[3] http://www.opensips.org/html/docs/modules/2.4.x/siptrace.html#idp5914144
Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 11/05/2017 09:56 AM, Karsten Horsmann wrote:
> Hi,
>
> you need also to mark packets you are interested to be sipcaptured in
> your route.
>
> Kind regards
> Karsten Horsmann
>
>
> Am 03.11.2017 8:32 nachm. schrieb "Social Boh" <social at bohboh.info
> <mailto:social at bohboh.info>>:
>
> Hello,
>
> I think I don't completely understood the logic behind proto_hep
> and siptrace modules on OpenSIPs 2.3
>
> I'd like send SIP traffic from OpenSIPs to a external Homer SIP
> Capture Server (with Kamailio) so I know I have to configure
> proto_hep and siptrace modules.
>
> I think the logic is: Send SIP traffic from siptrace to hep listener:
>
> modparam("siptrace", "trace_id", "[tid]uri=sip:127.0.0.1:6060
> <http://127.0.0.1:6060>")
>
> listen=hep_udp:127.0.0.1:6060 <http://127.0.0.1:6060>
>
> then from the proto_hep module send the HEP packets to Node Capture:
>
> modparam("proto_hep", "hep_id", "[homer]1.2.3.4:9060
> <http://1.2.3.4:9060>; version=2")
>
> This configuration not works.
>
> This document not helping me very much:
>
> http://www.opensips.org/Documentation/Tutorials-Tracing
> <http://www.opensips.org/Documentation/Tutorials-Tracing>
>
> Any hint, please?
>
> Thank you
>
> --
> ---
> I'm SoCIaL, MayBe
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171106/5a3ecc3e/attachment.html>
More information about the Users
mailing list