<div dir="ltr">Hi Guys,<div><br></div><div>Is it possible to disable using of dns in kamailio?</div><div><br></div><div>The thing is that not all INVITES that arrives to the proxy comes with ip <a href="http://172.16.205.25/PUB_IP">172.16.205.25/PUB_IP</a> in the ruri. Some gateways sends a string in ruri -> @myproxysip and others sends @<a href="http://other.domain.com">other.domain.com</a></div><div><br></div><div>Request-Line: INVITE sip:1111111@myproxysip:5060;user=phone SIP/2.0<br></div><div>Request-Line: INVITE sip:1111111@other.domain.com:5060;user=phone SIP/2.0<br></div><div><br></div><div>Sometimes, myproxysip is from a public ip and sometimes is from a private ip. So, it's difficult to know to which of kamailio's interfaces (pub or priv) is.</div><div><br></div><div>ERROR: <core> [resolve.c:1694]: sip_hostport2su(): could not resolve hostn<br></div><div><div>ame.</div></div><div><br></div><div>Reconfigure those gw it's not possible. There are a lot of them and a lot of people that won't like that idea.</div><div><br></div><div>Is possible to disable it? or What do you recommend me to do? Maybe using /etc/hosts?</div><div><br></div><div>Any suggestion will be very appreciated.</div><div><br></div><div>Diego.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>