[SR-Users] Disable DNS
Diego Nadares
dnadares at gmail.com
Mon Apr 10 22:50:58 CEST 2017
Thanks again Daniel.
Cheers,
Diego
2017-04-10 13:14 GMT-03:00 Daniel Tryba <d.tryba at pocos.nl>:
> On Mon, Apr 10, 2017 at 12:34:51PM -0300, Diego Nadares wrote:
> > 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).
>
> Just took a look at the dns options, strangely enough there is no way to
> disable it apparently.
>
> > 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();
> > }
>
> Any place is fine, unless you forward/proxy for some specific domains.
> In my default setups I set $rd to a known value just before location()
> stuff.
>
> _______________________________________________
> 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/67c8e125/attachment.html>
More information about the sr-users
mailing list