[SR-Users] record_route_preset and set_advertised_address in branch_route

Володимир Іванець volodyaivanets at gmail.com
Fri May 29 17:09:27 CEST 2020


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200529/3725cb75/attachment.html>


More information about the sr-users mailing list