Ivan,
This is a very old reference. Check for msg_apply_changes() or some
such function as that. Route headers can be preloaded but does not
necessarily guarantee order, i.e. a proxy in the chain does not properly
loose_route or otherwise.
On Tue, Feb 5, 2019 at 4:43 AM Ivan Ribakov <i.ribakov(a)zaleos.net> wrote:
Assuming there are several proxies that have to be
hopped sequentially to
deliver the request and the order is determined dynamically (!), how can
one achieve that behaviour in Kamailio?
My understanding was that Route header is used for that - it allows to
keep R-URI intact but still route the egress message elsewhere.
Documentation of the loose_route() from RR module seems to confirm that.
But the catch is that loose_route() will not pick up any Route header that
I might add in the config via append_hf() due to the delayed lump
processing (as explained in
https://sourceforge.net/p/openser/bugs/277/#5f42).
Thanks in advance for any help or ideas.
Regards,
Ivan
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from Gmail Mobile