<div dir="ltr">Hi All,<div><br></div><div>Kindly look into this problem and please update us with your respected thoughts</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards<div>Saurabh Chopra</div><div>+918861979979</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 10, 2021 at 6:15 PM Saurabh Chopra <<a href="mailto:saurabhc@3clogic.com">saurabhc@3clogic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I am trying to configure a HEP server on Opensips 3.1.0 but while testing my server is crashing abruptly.</div><div><br></div><div>I am following the configuration defined under section 6.1 Homer5 integration on " <a href="https://www.opensips.org/Documentation/Tutorials-Tracing" target="_blank">https://www.opensips.org/Documentation/Tutorials-Tracing</a> "</div><div><br></div><div>Below is the sample configuration at my opensips server.</div><div><font face="georgia, serif"><br></font></div><div><font face="georgia, serif">log_level=4<br>log_stderror=no<br>log_facility=LOG_LOCAL5<br></font></div><div><font face="georgia, serif">socket=hep_udp:104.131.xx.xx:6xxx</font><br></div><i><font face="georgia, serif"><div>loadmodule "proto_hep.so"<i><font face="georgia, serif"><br></font></i></div><div>loadmodule "sipcapture.so"<br></div>modparam("sipcapture", "db_url", "mysql://xxxx:xxxxx@localhost/homerdb")<br>modparam("sipcapture", "hep_capture_on", 1)<br>modparam("sipcapture", "hep_route", "HEPR")<br><br>####### Routing Logic ########<br><br># main request routing logic<br><br>route<br>{<br> if($rm =~ "REGISTER") {<br> $var(table) = "sip_capture_registration";<br> }<br> else if($rm =~ "(INVITE|UPDATE|BYE|ACK|PRACK|REFER|CANCEL)$")<br> {<br> $var(table) = "sip_capture_call";<br> }<br> else if($rm =~ "(NOTIFY)$" && is_present_hf("Event") && $hdr(Event)=~"refer;")<br> {<br> $var(table) = "sip_capture_call";<br> }<br> else if($rm =~ "(INFO)$")<br> {<br> $var(table) = "sip_capture_call";<br> }<br> else if($rm =~ "(OPTIONS)$" )<br> {<br> $var(table) = "sip_capture_rest";<br> }<br> else {<br> $var(table) = "sip_capture_rest";<br> }<br><br> #$var(utc) = "%Y%m%d";<br><br> xlog("WRITING NEWLY CAME PACKET INTO ($var(table))!\n");<br> if($var(table) == "sip_capture_call") sip_capture("sip_capture_call_%Y%m%d");<br> else if($var(table) == "sip_capture_registration") sip_capture("sip_capture_registration_%Y%m%d");<br> else sip_capture("sip_capture_rest_%Y%m%d");<br>}<br><br> route[HEPR] {<br> hep_get("11", $var(vid), $var(data));<br> if ( $var(data) == "SIP" ) {<br> hep_resume_sip();<br> }<br><br> $var(proto) = $(var(data){<a href="http://s.int" target="_blank">s.int</a>});<br> ### anything but xlog shall be dropped<br> if ( $var(proto) != 87 )<br> exit;<br><br> hep_get("0x0011", "utf8-string", $var(vendor), $var(correlation));<br> report_capture($var(correlation_id), "rtcp_log", $var(proto_type));<br> #report_capture("logs_capture", $var(correlation));<br> exit;<br>}<br></font></i><div> </div><div>Any prompt help would be highly appreciated. </div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards<div>Saurabh Chopra</div><div>+918861979979</div></div></div></div></div></div>
</blockquote></div>