<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, "Doug Campbell" <<a href="mailto:d.campbell@ampersand.com">d.campbell@ampersand.com</a>> 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>
<context name="phoneglue"><br>
<extension name="outside_call" continue="true"><br>
<condition><br>
<action application="socket" data="<a href="http://127.0.0.1:4574" target="_blank">127.0.0.1:4574</a> async"/><br>
</condition><br>
</extension><br>
</context><br>
<br>
This outbound event socket gets connected fine on my CentOS 6.2 machine.<br>
Though the freeswitch.log file seems to change "127.0.0.1" to "localhost":<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 "localhost" badly<br>
(don'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 "127.0.0.1" to "localhost"?<br>
Shouldn'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>