[Freeswitch-users] Unexpected behavior with hostname in socket application

Doug Campbell d.campbell at ampersand.com
Fri Mar 30 20:09:23 MSD 2012


> There is nothing on Fs that would do this.  Search your configs for localhost.....

Thanks for the info.  I suspected this, but this just makes it more puzzling.
Here's a grep of localhost in any of my configs and the computed runtime xml.
I don't see any smoking guns, do you?

[root at warhel31 freeswitch]# pwd
/usr/local/freeswitch
[root at warhel31 freeswitch]# find conf -exec fgrep localhost {} \; -print
     <param name="host" value="localhost"/>
conf/autoload_configs/redis.conf.xml
     <param name="db-info" value="host=localhost dbname=cdr connect_timeout=10" />
conf/autoload_configs/cdr_pg_csv.conf.xml
     <!-- <param name="url" value="http://localhost/cdr_curl/post.php"/> -->
conf/autoload_configs/xml_cdr.conf.xml
     <!-- comma sep list of servers: eg:  localhost,otherhost:port,anotherone -->
     <param name="memcache-servers" value="localhost"/>
conf/autoload_configs/memcache.conf.xml
[root at warhel31 freeswitch]# fgrep localhost log/freeswitch.xml.fsxml
     <param name="db-info" value="host=localhost dbname=cdr connect_timeout=10" />
     <!-- comma sep list of servers: eg:  localhost,otherhost:port,anotherone -->
     <param name="memcache-servers" value="localhost"/>
     <param name="host" value="localhost"/>
     <!-- <param name="url" value="http://localhost/cdr_curl/post.php"/> -->
[root at warhel31 freeswitch]#



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list