You still didn't get the gdb backtrace from the core file. Once Kamailio crashed and dumped the core file, you have to run:
``` gdb /usr/local/sbin/kamailio /path/to/core ``` Then inside it run `bt` or `bt full`.
It should output something like `Debugging Data` from the issue:
- https://github.com/kamailio/kamailio/issues/3861
You have to locate where the core file is written, which can be specific to the OS. Search the web for `where is core file written on Debian 12` (replace `Debian 12` with your OS name and version. Once you know the path of the core file, replace `/path/to/core` accordingly in the command above.