Can you add a log message before the for block you removed, so the code becomes:
```
LM_INFO("current params are <%.*s> (%x)\n", routed_params.len,
routed_params.s, *(routed_params.s-1));
for( params=routed_params ; params.s[0]!=';' ; params.s--,params.len++ );
```
and then see if the info message prints the proper route params and the previous character
in hexa?
As you said, the issue might be in other place, it's good to track it down properly.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/663#issuecomment-224611080