[SR-Users] loose_route() fails on domain name

Juha Heinanen jh at tutpro.com
Thu Feb 11 19:07:01 CET 2021


Daniel-Constantin Mierla writes:

> Set names to the sockets
> (https://www.kamailio.org/wiki/cookbooks/devel/core#listen):
> 
> listen= ..... name "s1"
> 
> And then add parameter "sn=s1" to the specific Record-Route header.

If sockname_mode param has value 1:

  modparam("rr", "sockname_mode", 1)

does it mean that ;sn=name param needs to be included in every R-R URI,
i.e, also in those that have an IP address that K is listening on?

Or may the ;sn param may be omitted in those URIs without causing
loose_route() to fail?

-- Juha





More information about the sr-users mailing list