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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org