Does Kamailio have listeners (listen= on both interfaces)? What is the value of the
‘mhomed’ setting?
These nuances surely differ between the two hosts.
—
Sent from mobile, with due apologies for brevity and errors.
On Feb 27, 2019, at 4:14 PM, Roman Dissauer
<roman(a)dissauer.net> wrote:
I’m experiencing issues with kamailio 5.1 in multihomed config:
two machines, latest debian stretch, latest kamailio 5.1, exactly same config (verified
with diff)
both machines have an internal and an external network interface. Only thing different is
that they are in different datacenters.
on one machine everything works perfect, on outgoning calls rr parameters are added
perfectly right:
Record-Route: <sip:yy.yy.yy.yy;transport=tcp;r2=on;lr;nat=yes>
Record-Route: <sip:xx.xx.xx.xx;transport=tcp;r2=on;lr;nat=yes>
where yy.yy.yy.yy is the external ip and xx.xx.xx.xx is the internal IP
on the other machine I only get:
Record-Route: <sip:xx.xx.xx.xx;transport=tcp;lr;nat=yes>
even if I set enable_double_rr to 2 I get:
Record-Route: <sip:xx.xx.xx.xx;transport=tcp;r2=on;lr;nat=yes>
Record-Route: <sip:xx.xx.xx.xx;transport=tcp;r2=on;lr;nat=yes>
I already checked with traceroute that the routing to the destination IP Adresses are
going through the external interface.
maybe someone has a hint for me.
Thank you all in advance!
Roman
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users