[SR-Users] How to chain proxies with Route header and loose_route()

Brandon Armstead brandon at cryy.com
Tue Feb 5 13:51:07 CET 2019


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 at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190205/ac4c12a6/attachment.html>


More information about the sr-users mailing list