[OpenSIPS-Users] Opensips 3 & HEP

info info at byphone.eu
Thu Nov 28 04:20:50 EST 2019


Hi,

Thanks your reply, no hep packets are sent…

loadmodule "proto_hep.so"
listen = hep_udp:10.62.1.252:9060
modparam("proto_hep", "hep_id", "[hep_dst] 10.62.1.252:9061; version=2")

loadmodule "tracer.so"
modparam("tracer", "trace_on", 1)
modparam("tracer", "trace_id", "[tid]uri=hep:hep_dst")

####### Routing Logic ########

# main request routing logic

route{
        if(!is_method("OPTIONS") ) {
                trace("tid");
        }

…..


And nothing in the log…

Thanks



De : Users <users-bounces at lists.opensips.org> au nom de Giovanni Maruzzelli <gmaruzz at gmail.com>
Répondre à : "gmaruzz at opentelecom.it" <gmaruzz at opentelecom.it>, OpenSIPS users mailling list <users at lists.opensips.org>
Date : mardi 26 novembre 2019 à 21:46
À : OpenSIPS users mailling list <users at lists.opensips.org>
Objet : Re: [OpenSIPS-Users] Opensips 3 & HEP

On Tue, Nov 26, 2019 at 5:12 PM info <info at byphone.eu<mailto:info at byphone.eu>> wrote:
Hello,

I setup an opensips 3 with tls, I want to be able to easily troubleshot sip registrations, so I setup hep destination :

loadmodule "proto_hep.so"
listen = hep_udp:10.62.1.252:9060<http://10.62.1.252:9060>
modparam("proto_hep", "hep_id", "[hep_dst] 10.62.1.252:9061<http://10.62.1.252:9061>; version=2")

modparam("proto_tls", "trace_destination", "hep_dst")
modparam("proto_tls", "trace_on", 1)


You only do half part, you must actually trace too...

You want to add to your config something like this:

#### tracer module
loadmodule "tracer.so"
modparam("tracer", "trace_on", 1)
modparam("tracer", "trace_id", "[tid]uri=hep:hep_dst")

......

#########################################################
######### only initial requests from this point #########
#########################################################

        t_check_trans();

#Duplicate this sip dialog to sngrep
        if(!is_method("OPTIONS") ) {
                trace("tid");
        }








I have nothing with sngrep with the command :

sngrep -L udp:10.62.1.252:9061<http://10.62.1.252:9061>

and when I do a tcpdump on port 9061, I have no traffic even in the case of registration with tls.


Any idea ?

Best regards

Guillaume
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191128/d612a321/attachment-0001.html>


More information about the Users mailing list