[SR-Users] loose_route() does not find socket by name

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 12 16:03:51 CET 2021


On 12.02.21 15:44, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>>> Also, there is no "=".  So instead of ";sn=", the code should look for
>>> "sn".
>> Indeed, I will push a fix for it.
> I also did one, but yours is cleaner than mine.  Thanks. Tested and it
> works, no more warnings to syslog.
>
> Looks like no-one had ever before used this socket name feature in R-R
> URIs.

I added it for convenience, after building a configuration for an older
kamailio version where I use check_rout_param() function to figure out
what socket to force. But that deployment was not yet upgraded to use
this new mode, it runs well with the old approach.

I tested to see if the sn parameter is added in Record-Route, not the
callbacks on Route headers.

I will backport to 5.4.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla




More information about the sr-users mailing list