[SR-Users] handle_ruri_alias() and multiple aliases

Denys Pozniak denys.pozniak at gmail.com
Wed Jun 2 22:01:26 CEST 2021


Thank you!
I will report on the results of the testing.


вт, 1 июн. 2021 г. в 10:39, Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
>
> I also agree that it should be fixed in signalling processing rules, the
> proxy that is not next hop after NAT route should not add alias parameter.
>
> However, I also faced similar multi-alias issues a few times in the
> past, when the proxy I controlled was the one that had to add the alias
> and had to do some tricks in the config to get it working until the
> issue was mitigated between companies. Iirc, in my case the issue was
> more complex as the other proxy didn't consume it properly always.
>
> Anyhow, from that moment I had it in my to-do list to check what takes
> to add a mode to consume either first or last alias parameter, and since
> same issue surfaced again in another corner of the world, I just looked
> and updating the code was not complex. Therefore I just added in master
> branch an optional mode parameter to handle_ruri_alias() to be able to
> specify which one (first or last) should be consumed.
>
> Testing and feedback is very appreciated!
>
> Cheers,
> Daniel
>
> On 01.06.21 00:32, Alex Balashov wrote:
> > On 5/31/21 6:27 PM, Ovidiu Sas wrote:
> >
> >> You can adjust your script to use aliases only when needed. We want
> >> clean and simple signalling.
> >
> > I strongly agree with Ovidiu. This is really the solution.
> >
> > --
> > Alex Balashov | Principal | Evariste Systems LLC
> >
> > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> >
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online - June 7-10, 2021 (America Timezone)
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
> __________________________________________________________
> 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
>


-- 

BR,
Denys Pozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210602/86ccb357/attachment.htm>


More information about the sr-users mailing list