Hello!
I'm having interesting behavior and wanted to ask if someone knows if this is correct or not. Kamailio v5.3.3. is used.
Asterisk sends INVITE to Kamailio. Kamailio performs lookup. Some contacts require Record-Route and Via headers adjustments before sending out INVITEs. I use functions record_route_preset and set_advertised_address in the branch_route.
Everything works as expected when branch 0 does not require changes. But when it does, changes are applied to all other branches as well.
Is it by design or it's a bug?
Thank you!
_______________________________________________