@marcocapetta - based on history, the commit [1399714](https://github.com/kamailio/kamailio/commit/1399714fbba63732f94eb8034dabb1e5...) seems to be the only one with major changes in this code between 5.3 and 5.4. Can you check if it broke the existing behaviour?
@marcocapetta - any comments about this?