[Freeswitch-users] DNS resolving is not checking /etc/hosts

Stanislav Sinyagin ssinyagin at gmail.com
Wed May 13 21:29:08 MSD 2015


You can use "realm" parameter as domain name, and put the IP address in
"proxy".
On May 13, 2015 4:14 PM, "Dmitry Saratsky" <simpot at gmail.com> wrote:

> Hi,
>
> I have some gateway configured on my FS by hostname:
> 17:08 fs:~# grep proxy /usr/local/freeswitch/conf/sip_profiles/ext-ipv4/20*
>     <param name="proxy" value="sip.domain.com"/>
> 17:09 fs:~#
>
> This domain is not resolvable over internet, so I configured ip for this
> domain in system's (CentOS 6.6 x64) /etc/hosts file.
>
> For some reason it looks like FS is not checking this file, but trying to
> resolve the host directly from DNS servers configured in /etc/resolv.conf...
>
> Is there any way to tell FS to check /etc/hosts as well?
>
> Thanks,
> Dmitry.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150513/82edaf99/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list