<div dir="ltr">Hello Daniel,<div><br></div><div>I have just realized about an error in the 'Record-Route" header: "Record-Route: <sip:;r2=on;lr=on;ftag=478.0eb>".</div><div><br></div><div>Thanks for the response.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 7, 2021 at 9:05 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.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>
    <div>Hello,</div>
    <div><br>
    </div>
    <div>in onsend_route the changes are already
      applied, use of $mbu makes no sense there -- you can see the
      updated buffer content with $snd(buf).</div>
    <div><br>
    </div>
    <div>Cheers,<br>
      Daniel</div>
    <div><br>
    </div>
    <div>On 06.10.21 11:43, Alberto Izquierdo
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,<br>
        <br>
        I'm getting some CRITICAL logs when accessing the content of the
        $mbu pseudovariable in a "onsend_route" function. The log lines
        look like this:<br>
        <br>
        ```<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:893 FIXME: null
        send_sock<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:1479 FIXME: null
        bind_address<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        CRITICAL core    35847:core/msg_translator.c:493 null send
        socket<br>
        ```<br>
        <br>
        I've checked the msg_translator.c source file and there are many
        of `LM_CRIT("FIXME: {message}\n");` calls, and I wonder if the
        "FIXME" tag relates to the location of the error: a Kamailio
        error or there is an issue in the user code.<br>
        <br>
        Could I have more information about the "FIXME" tag?<br>
        <br>
        Thanks in advance!<br>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </div>

</blockquote></div>