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