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

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 11 18:51:18 CET 2021


On 11.02.21 17:44, Juha Heinanen wrote:
> Using a domain name in R-R header may not be such a good idea:
>
> Feb 11 12:12:06 lab /usr/bin/sip-proxy[735]: WARNING: rr [loose.c:799] rr_do_force_send_socket(): no socket found to match second RR (sip:tenantX.teams.tutpro.com:8007;transport=tls;r2=on;pm=0;savp=avp;lr)
>
> Or is there some means to tell K, which FQDN maps to which IP address,
> when there are many such FQDNs?

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.

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