Hi, /* uncomment and configure the following line if you want Kamailio to * bind on a specific interface/port/proto (default bind on all available) */ # listen=udp:10.0.0.10:5060 mhomed=1
even this config is the same. I do not bind on specific interface since doc says that if there is no listen, kamailio will bind on all interfaces… strange thing… if I explicitly set listeners for tcp and udp on all IP addresses it works! I have a dozen kamailios out there, all in mhomed=1 config. On every single one double_rr works without setting any listen parameters, only on this particular one machine in a separate datacenter it didn’t work. Thanks for the hint! Roman > Am 27.02.2019 um 22:24 schrieb Alex Balashov <[email protected]>: > > 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 <[email protected]> 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 >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
