<p>There is nothing on Fs that would do this.  Search your configs for localhost.....</p>
<div class="gmail_quote">On Mar 29, 2012 1:36 PM, &quot;Doug Campbell&quot; &lt;<a href="mailto:d.campbell@ampersand.com">d.campbell@ampersand.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">
I am getting unexpected behavior on the hostname used in the socket application.<br>
<br>
I have a trivial dialplan:<br>
<br>
   &lt;context name=&quot;phoneglue&quot;&gt;<br>
     &lt;extension name=&quot;outside_call&quot; continue=&quot;true&quot;&gt;<br>
       &lt;condition&gt;<br>
         &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:4574" target="_blank">127.0.0.1:4574</a> async&quot;/&gt;<br>
       &lt;/condition&gt;<br>
     &lt;/extension&gt;<br>
   &lt;/context&gt;<br>
<br>
This outbound event socket gets connected fine on my CentOS 6.2 machine.<br>
Though the freeswitch.log file seems to change &quot;127.0.0.1&quot; to &quot;localhost&quot;:<br>
<br>
EXECUTE sofia/phoneglue/<a href="tel:9789735994" value="+19789735994">9789735994</a> socket(localhost:4574 async)<br>
<br>
However, with the identical software (including fs built from git today),<br>
on my RHEL 6.2 machine that has a DNS glitch resolving &quot;localhost&quot; badly<br>
(don&#39;t ask), it fails.<br>
The freeswitch.log file says:<br>
<br>
EXECUTE sofia/phoneglue/<a href="tel:9789735994" value="+19789735994">9789735994</a> socket(localhost:4574 async)<br>
2012-03-29 10:05:08.200547 [ERR] mod_event_socket.c:458 Socket Error!<br>
<br>
Why is it changing &quot;127.0.0.1&quot; to &quot;localhost&quot;?<br>
Shouldn&#39;t it be using the raw IP when it is so specified?<br>
Without it doing this, my RHEL box is doomed.<br>
<br>
Much thanks for any help,<br>
Doug<br>
<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>