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