<p dir="ltr">You can use &quot;realm&quot; parameter as domain name, and put the IP address in &quot;proxy&quot;.</p>
<div class="gmail_quote">On May 13, 2015 4:14 PM, &quot;Dmitry Saratsky&quot; &lt;<a href="mailto:simpot@gmail.com">simpot@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I have some gateway configured on my FS by hostname:<br>17:08 fs:~# grep proxy /usr/local/freeswitch/conf/sip_profiles/ext-ipv4/20*<br>    &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://sip.domain.com" target="_blank">sip.domain.com</a>&quot;/&gt;<br>17:09 fs:~#<br><br></div>This domain is not resolvable over internet, so I configured ip for this domain in system&#39;s (CentOS 6.6 x64) /etc/hosts file.<br><br></div>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...<br><br></div>Is there any way to tell FS to check /etc/hosts as well?<br><br></div>Thanks,<br></div>Dmitry.<br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>