[SR-Users] Disable DNS

Diego Nadares dnadares at gmail.com
Sun Apr 9 02:24:29 CEST 2017


Hi Guys,

Is it possible to disable using of dns in kamailio?

The thing is that not all INVITES that arrives to the proxy comes with ip
172.16.205.25/PUB_IP in the ruri. Some gateways sends a string in ruri ->
@myproxysip and others sends @other.domain.com

Request-Line: INVITE sip:1111111 at myproxysip:5060;user=phone SIP/2.0
Request-Line: INVITE sip:1111111 at other.domain.com:5060;user=phone SIP/2.0

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.

ERROR: <core> [resolve.c:1694]: sip_hostport2su(): could not resolve hostn
ame.

Reconfigure those gw it's not possible. There are a lot of them and a lot
of people that won't like that idea.

Is possible to disable it? or What do you recommend me to do? Maybe using
/etc/hosts?

Any suggestion will be very appreciated.

Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170408/abbe4278/attachment.html>


More information about the sr-users mailing list