Oh, sorry, I was not aware of that option, looks neat :)
Then can you provide some DEBUG level logs for that processing?
Best regard,
Răzvan
On 12/2/19 10:42 AM, Giovanni Maruzzelli wrote:
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 <[email protected]
<mailto:[email protected]>> 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
<http://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 <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")
>
> 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 <[email protected]
<mailto:[email protected]>> au nom de Giovanni
> Maruzzelli <[email protected] <mailto:[email protected]>>
> *Répondre à : *"[email protected]
<mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>,
> OpenSIPS users mailling list <[email protected]
<mailto:[email protected]>>
> *Date : *mardi 26 novembre 2019 à 21:46
> *À : *OpenSIPS users mailling list <[email protected]
<mailto:[email protected]>>
> *Objet : *Re: [OpenSIPS-Users] Opensips 3 & HEP
>
> On Tue, Nov 26, 2019 at 5:12 PM info <[email protected]
<mailto:[email protected]>
> <mailto:[email protected] <mailto:[email protected]>>> 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>
<http://10.62.1.252:9060>
>
> modparam("proto_hep", "hep_id", "[hep_dst] 10.62.1.252:9061
<http://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>
<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
> [email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> --
>
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
>
> _______________________________________________
> Users mailing list
> [email protected] <mailto:[email protected]>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users