Actually, he is using the -L option to sngrep, it should be show HEP packets (visualized as SIP packets), if he has done all configs correctly
On Mon, Dec 2, 2019, 09:39 Răzvan Crainea <raz...@opensips.org> wrote: > The configuration should be OK now, but node that sngrep will not show > the messages, as they are not SIP messages: they are HEP messages that > contain SIP payload. You can try to trace using tcpdump or something, > or, if you want see SIP messages, you should have a SIP trace_id[1]: > > modparam("tracer", "trace_id", "[tid]uri=sip:10.62.1.252:9061") > > [1] https://opensips.org/html/docs/modules/3.0.x/tracer.html#func_trace > > Best regards, > Răzvan > > On 11/28/19 11:20 AM, info wrote: > > 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-boun...@lists.opensips.org> au nom de Giovanni > > Maruzzelli <gmar...@gmail.com> > > *Répondre à : *"gmar...@opentelecom.it" <gmar...@opentelecom.it>, > > OpenSIPS users mailling list <users@lists.opensips.org> > > *Date : *mardi 26 novembre 2019 à 21:46 > > *À : *OpenSIPS users mailling list <users@lists.opensips.org> > > *Objet : *Re: [OpenSIPS-Users] Opensips 3 & HEP > > > > On Tue, Nov 26, 2019 at 5:12 PM info <i...@byphone.eu > > <mailto:i...@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@lists.opensips.org <mailto:Users@lists.opensips.org> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > -- > > > > Sincerely, > > > > Giovanni Maruzzelli > > OpenTelecom.IT > > cell: +39 347 266 56 18 > > > > > > _______________________________________________ > > Users mailing list > > Users@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > -- > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users