If you use modules that re/parse the replies sent by kamailio (e.g., topology hiding), you may need to set:
* https://www.kamailio.org/wiki/cookbooks/5.5.x/core#http_reply_parse
Being a matter of your config, in case you need to discuss further, email to sr-users@lists.kamailio.org to get assistance from community.