Hello,

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).

Cheers,
Daniel

On 06.10.21 11:43, Alberto Izquierdo wrote:
Hi,

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:

```
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:893 FIXME: null send_sock
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:1479 FIXME: null bind_address
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:493 null send socket
CRITICAL core    35847:core/msg_translator.c:493 null send socket
```

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.

Could I have more information about the "FIXME" tag?

Thanks in advance!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/