[SR-Users] Record-Route advertised per branch

Sergiu Pojoga pojogas at gmail.com
Thu Jun 16 14:28:36 CEST 2022


Have you tried calling *t_save_lumps()* before relaying, even before RR?

On Thu, Jun 16, 2022 at 7:59 AM Ilie Soltanici <iliusha.md at gmail.com> wrote:

> Hello,
>
> Is there any way to advertise a different IP Address in the Record-Route
> header individually per branch?
>
> I have a setup here - where Kamailio is listening on 2 different
> interfaces: Local IP and External IP. At the moment if the packet is coming
> through the internal interface - I'm checking where is it going to and
> based on that I'm setting the Record-Route header accordingly - and
> everything works well, except when I have multiple branches: one going
> through the internal interface and another one through the external one, so
> in this case, I have to add a different record-route header per branch, by
> doing this in the branch_route - it's not working and getting the
> error: w_record_route_advertised_address(): Double attempt to record-route.
>
> What would be another way to accomplish this?
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220616/ef6559aa/attachment.htm>


More information about the sr-users mailing list