[SR-Users] Disable DNS
Diego Nadares
dnadares at gmail.com
Mon Apr 10 17:34:51 CEST 2017
Hi Daniel,
Thanks for your response. Your suggestion helped me a lot. We don't use
domains so instead a domain I set the ip address ($Ri).
I added this to my cfg. I don't know if is the right place. Whay do you
think?
request_route {
.....
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
*$rd = $Ri; *
record_route();
}
....
Cheers,
Diego
2017-04-10 5:28 GMT-03:00 Daniel Tryba <d.tryba at pocos.nl>:
> On Sat, Apr 08, 2017 at 09:24:29PM -0300, Diego Nadares wrote:
> > 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?
>
> Wouldn't the easiest solution be to set $rd to your domain?
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170410/66e2d013/attachment.html>
More information about the sr-users
mailing list