<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>
<p>
</p><p>
</p><p>Dear Sender,</p><p>Thank you for your email. I am no longer working for Dstny.<br>Any emails sent to this address will remain unread.<br></p><p>Kindly forward your correspondence to  sebastien.terny@dstny.fr.</p><p><br></p><p>Thank you and best regards,</p><table style="border-collapse: collapse;width:460px; border-spacing:0px;" cellpadding="0" cellspacing="0">
    
    <tbody>
                                
    

        <tr>
                <td style="padding-top: 10px; padding-left:10px; margin:0px; text-align:left;" valign="top">
                        <p style="font-family:'Inter', sans-serif;;font-size: 13px;margin:0px; padding:0px; letter-spacing: 0.5px; color:#1ba9b5;"><a href="https://www.dstny.com" target="_blank"><img width="220" height="80" src="cid:dstny-logo_605bd221-b0c5-4429-ae31-56bc30736eca.png" alt="Dstny" id="0.f0uf6mn1evh" border="0"></a></p>
                </td>
        </tr>
        
        <tr>
                <td style="padding-top: 10px; margin:0px; text-align:justify;" valign="top">
                        <p style="font-family:'Inter', sans-serif;;font-size: 10px;margin:0px; padding:0px; letter-spacing: 0.5px; color:#757575;">This electronic transmission (and any attached document) is intended exclusively for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any disclosure, copying, distribution or other action based upon the information by persons or entities other than the intended recipient is prohibited. If you receive this message in error, please contact the sender and delete the material from any and all computers. Dstny does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays.</p>
        </td>
        </tr>
        <tr>
                <td style="padding-top: 5px; margin:0px; text-align:center;" valign="top">
                        <p style="margin:6px 0px 10px 0px; font-family:'Inter', sans-serif;font-weight: 400; letter-spacing: 1px;text-transform: uppercase; font-size: 60px;padding: 0px 0px 3px 0px; color:#fe9305; text-align:center; line-height:0px;">&#x2022;</p>
                </td>
        </tr>
</tbody></table>
         <br><p></p><p></p>
<br/><br/>
<div style='border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm'>
<p class="MsoNormal">
<b><span lang="EN-US" style='font-size: 10.0pt; font-family: "Tahoma","sans-serif"'>
From:</span></b><span lang="EN-US" style='font-size: 10.0pt; font-family: "Tahoma","sans-serif"'>
users@lists.opensips.org
<br>
<b>Sent:</b> 12/17/2025 6:03:38 AM +00:00<br>
<b>To:</b> benjamin.pasquet@dstny.fr<br>
<b>Subject:</b> [OpenSIPS-Users] I need some help on a beb config of opensips .</span></p>
</div>
<div dir="ltr"><div>Hi All , </div><div><br></div><div>I have implemented one openisps b2b config with event_datagram and mi_datagram module . Openisps receives the INvite and publishes the data in the event socket and another app listens to that and answers the call . </div><div><br></div><div>I am trying to capture the call flow with the tracer and hep module to see the data in Homer GUI . I am not able to capture the BYE message when opensips is generating the BYE . If its receiving BYE that is getting capture although . </div><div><br></div><div>Below is my config : </div><div><br></div><div><br></div><div>####### Global Parameters #########<br><br>log_level=5<br>xlog_level=2<br>stderror_enabled=yes<br>syslog_enabled=yes<br>syslog_facility=LOG_LOCAL0<br>udp_workers=tcpworker<br>tcp_workers=tcpworker<br><br>socket=udp:private-ip:5070<br>socket=tcp:private-ip:5070<br>####### Modules Section ########<br><br>socket=hep_tcp:private-ip:6061<br>socket=hep_udp:private-ip:6062<br><br><br>#set module path<br>mpath="/usr/lib/x86_64-linux-gnu/opensips/modules/"<br><br>loadmodule "tm.so"<br>loadmodule "rr.so"<br>loadmodule "sipmsgops.so"<br>loadmodule "signaling.so"<br>loadmodule "cfgutils.so"<br>loadmodule "mi_fifo.so"<br>loadmodule "proto_tcp.so"<br>loadmodule "proto_udp.so"<br>loadmodule "sl.so"<br>loadmodule "event_datagram.so"<br>loadmodule "mi_datagram.so"<br>loadmodule "b2b_entities.so"<br><br>#loadmodule "dialog.so"<br><br>modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")<br><br>modparam("tm", "fr_timeout", 2)<br>modparam("tm", "fr_inv_timeout", 3)<br>modparam("tm", "restart_fr_on_each_reply", 0)<br>modparam("tm", "onreply_avp_mode", 1)<br><br>loadmodule "mi_http.so"<br>loadmodule "httpd.so"<br><br><br>modparam("httpd", "ip", "private-ip")<br>modparam("httpd", "port", 8000)<br><br>modparam("mi_datagram", "socket_name", "udp:private-ip:8002")<br><br><br>modparam("b2b_entities", "script_req_route", "b2b_request_route")<br><br>modparam("b2b_entities", "script_reply_route", "b2b_reply_trace")<br><br>## modules for homer<br>#loadmodule "sipcapture.so"<br>loadmodule "tracer.so"<br>loadmodule "proto_hep.so"<br>loadmodule "proto_tcp.so"<br><br><br>modparam("proto_hep", "hep_async", 1)<br>#modparam("proto_hep", "homer5_on", 1)<br>modparam("proto_hep", "hep_capture_id", 1)<br><br>modparam("proto_hep", "hep_id","[hep_dst] homer-domain:homer-port; transport=udp; version=3")<br><br>modparam("tracer", "trace_on", 1)<br>modparam("tracer", "trace_id", "[tid]uri=hep:hep_dst")<br><br><br>####### Routing Logic ########<br><br>route {<br><br><br>#route(to_homer);<br>#$var(trace_id) = "tid";<br><br><br>        if (!is_method("INVITE") || has_totag()) {<br>                send_reply(405, "Method not allowed!\n");<br>                exit;<br>        }<br><br>    if (is_method("INVITE") && !has_totag()) {<br>        trace("tid", "t");<br>    }<br><br>       ua_session_server_init($var(b2b_key), "drbh");<br>        xlog("Started new call for $var(b2b_key)\n");<br>        exit;<br>}<br><br>route[b2b_request_route] {<br>    # This route is called specifically for B2B internal requests like BYE<br>    trace("tid", "t", "sip|xlog");<br><br># Arm a specific reply route for the 200 OK of this BYE<br>if (is_method("BYE")) {<br>        t_on_reply("trace_bye_reply");<br>    }<br>}<br><br>onreply_route[trace_bye_reply] {<br>    # This will capture the 200 OK for the BYE<br>    trace("tid", "m", "sip|xlog");<br>}<br><br>route[b2b_reply_trace] {<br>    # Trace the 180, 200 OK, etc.<br>    # This replaces your failing onreply_route logic<br>    trace("tid", "t", "sip|xlog");<br>}<br><br></div><div>I know I may be missing a very basic thing . But I have tried so many options and it's still not working . Please help . </div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div></div></body></html>