<div>Alright, I did some googling around "[ERR] mod_xml_curl.c:444 Binding has no url " then </div>
<div>uncommented below line in conf/autoload_configs/xml_curl.conf.xml</div>
<div><param name="gateway-url" value="<a href="http://www.freeswitch.org/gateway.xml">http://www.freeswitch.org/gateway.xml</a>" bindings="dialplan"/><br>though I don't know what this is for..</div>
<div><br>Now I am able to load mod_xml_curl</div>
<div>no need to re-install everything</div>
<div>thanks everyone</div>
<div>deniro--</div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Thu, Mar 3, 2011 at 3:32 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">freeswitch@xxx@internal> load mod_xml_curl<br></div>
<div class="im">-ERR [module load file routine returned an error]<br><br></div>There's still an error while loading. You need to look at the logs for<br>freeswitch, not the fs_cli ones.<br><br>Either run 'fs_cli -l debug' or do '/log 7' within fs_cli<br>
<br>-Steve<br>
<div>
<div></div>
<div class="h5"><br>On 3 March 2011 00:28, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>> ok, I see one under src. I copied that to conf/autoload_configs and looks<br>> like I am able to load mod_xml_cdr this way<br>
> freeswitch@xxxx@internal><br>> load mod_xml_cdr<br>> module_exists mod_xml_cdr<br>> true<br>> same method did not work for mod_xml_curl<br>> below is error message after I copied file<br>> cp /usr/src/freeswitch-1.0.6/conf/autoload_configs/xml_curl.conf.xml<br>
> /opt/freeswitch/conf/autoload_configs/xml_curl.conf.xml<br>><br>> freeswitch@xxx@internal> load mod_xml_curl<br>> [DEBUG] libs/esl/src/esl.c:1140 esl_send() SEND<br>> api load mod_xml_curl<br>> console_execute: true<br>
> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =<br>> [api/response]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]<br>> = [68]<br>> +OK Reloading XML<br>
> -ERR [module load file routine returned an error]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =<br>> [log/data]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]<br>
> = [63]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =<br>> [6]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =<br>> [0]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =<br>
> [mod_enum.c]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =<br>> [event_handler]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =<br>> [808]<br>
> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []<br>> [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE<br>> Event-Name: SOCKET_DATA<br>> Content-Type: log/data<br>> Content-Length: 63<br>
> Log-Level: 6<br>> Text-Channel: 0<br>> Log-File: mod_enum.c<br>> Log-Func: event_handler<br>> Log-Line: 808<br>> User-Data: _undef_<br>> 2011-03-02 19:23:34.416231 [INFO] mod_enum.c:808 ENUM Reloaded<br>
> 2011-03-02 19:23:34.416231 [INFO] mod_enum.c:808 ENUM Reloaded<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =<br>> [log/data]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]<br>
> = [72]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =<br>> [3]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =<br>> [0]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =<br>
> [mod_xml_curl.c]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =<br>> [do_config]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =<br>> [444]<br>
> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []<br>> [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE<br>> Event-Name: SOCKET_DATA<br>> Content-Type: log/data<br>> Content-Length: 72<br>
> Log-Level: 3<br>> Text-Channel: 0<br>> Log-File: mod_xml_curl.c<br>> Log-Func: do_config<br>> Log-Line: 444<br>> User-Data: _undef_<br>> 2011-03-02 19:23:34.416231 [ERR] mod_xml_curl.c:444 Binding has no url!<br>
> 2011-03-02 19:23:34.416231 [ERR] mod_xml_curl.c:444 Binding has no url!<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =<br>> [log/data]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]<br>
> = [162]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =<br>> [2]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =<br>> [0]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =<br>
> [switch_loadable_module.c]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =<br>> [switch_loadable_module_load_file]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =<br>
> [926]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []<br>> [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE<br>> Event-Name: SOCKET_DATA<br>> Content-Type: log/data<br>
> Content-Length: 162<br>> Log-Level: 2<br>> Text-Channel: 0<br>> Log-File: switch_loadable_module.c<br>> Log-Func: switch_loadable_module_load_file<br>> Log-Line: 926<br>> User-Data: _undef_<br>> 2011-03-02 19:23:34.416231 [CRIT] switch_loadable_module.c:926 Error Loading<br>
> module /opt/freeswitch/mod/mod_xml_curl.so<br>> **Module load routine returned an error**<br>> 2011-03-02 19:23:34.416231 [CRIT] switch_loadable_module.c:926 Error Loading<br>> module /opt/freeswitch/mod/mod_xml_curl.so<br>
> **Module load routine returned an error**<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Type] =<br>> [log/data]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Content-Length]<br>
> = [86]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Level] =<br>> [6]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Text-Channel] =<br>> [0]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-File] =<br>
> [switch_time.c]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Func] =<br>> [switch_load_timezones]<br>> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [Log-Line] =<br>> [950]<br>
> [DEBUG] libs/esl/src/esl.c:988 esl_recv_event() RECV HEADER [User-Data] = []<br>> [DEBUG] libs/esl/src/esl.c:1114 esl_recv_event() RECV MESSAGE<br>> Event-Name: SOCKET_DATA<br>> Content-Type: log/data<br>> Content-Length: 86<br>
> Log-Level: 6<br>> Text-Channel: 0<br>> Log-File: switch_time.c<br>> Log-Func: switch_load_timezones<br>> Log-Line: 950<br>> User-Data: _undef_<br>> 2011-03-02 19:23:34.417121 [INFO] switch_time.c:950 Timezone reloaded 530<br>
> definitions<br>> 2011-03-02 19:23:34.417121 [INFO] switch_time.c:950 Timezone reloaded 530<br>> definitions<br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> On Wed, Mar 2, 2011 at 6:25 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>> wrote:<br>
>><br>>> You need to create its config file. It won't load without it.<br>>><br>>> "find . -name xml_cdr.conf"<br>>><br>>> Actually it's xml_cdr.conf.xml, all config files will show .conf as<br>
>> their logical name but on the hard drive they're stored in .conf.xml.<br>>> It should be in conf/autoload_configs<br>>><br>>> -Steve<br>>><br>>><br>>> On 2 March 2011 22:25, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>
>> > I typed the 4 commands but still unable to load mod_xml_cdr and<br>>> > mod_xml_curl<br>>> ><br>>> ><br>>> > 2011-03-02 17:21:32.139672 [ERR] mod_xml_cdr.c:479 Open of xml_cdr.conf<br>
>> > failed<br>>> > /opt# find . -name xml_cdr.conf<br>>> > nothing appears<br>>> ><br>>> > here is errors from fs_cli -d 7<br>>> ><br>>> > freeswitch@75.xxx.xxx.xx@internal> load mod_xml_cdr<br>
>> > [DEBUG] libs/esl/src/esl.c:1063 esl_send() SEND<br>>> > api load mod_xml_cdr<br>>> > console_execute: true<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>>> > [Content-Type] =<br>
>> > [api/response]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>>> > [Content-Length]<br>>> > = [50]<br>>> > -ERR [module load file routine returned an error]<br>
>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>>> > [Content-Type] =<br>>> > [log/data]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>>> > [Content-Length]<br>
>> > = [79]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Level]<br>>> > =<br>>> > [3]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>
>> > [Text-Channel] =<br>>> > [0]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-File] =<br>>> > [mod_xml_cdr.c]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Func] =<br>
>> > [mod_xml_cdr_load]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Line] =<br>>> > [479]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [User-Data]<br>
>> > = []<br>>> > [DEBUG] libs/esl/src/esl.c:1037 esl_recv_event() RECV MESSAGE<br>>> > Event-Name: SOCKET_DATA<br>>> > Content-Type: log/data<br>>> > Content-Length: 79<br>>> > Log-Level: 3<br>
>> > Text-Channel: 0<br>>> > Log-File: mod_xml_cdr.c<br>>> > Log-Func: mod_xml_cdr_load<br>>> > Log-Line: 479<br>>> > User-Data: _undef_<br>>> > 2011-03-02 17:21:32.139672 [ERR] mod_xml_cdr.c:479 Open of xml_cdr.conf<br>
>> > failed<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>>> > [Content-Type] =<br>>> > [log/data]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>
>> > [Content-Length]<br>>> > = [161]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Level]<br>>> > =<br>>> > [2]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER<br>
>> > [Text-Channel] =<br>>> > [0]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-File] =<br>>> > [switch_loadable_module.c]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Func] =<br>
>> > [switch_loadable_module_load_file]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [Log-Line] =<br>>> > [882]<br>>> > [DEBUG] libs/esl/src/esl.c:918 esl_recv_event() RECV HEADER [User-Data]<br>
>> > = []<br>>> > [DEBUG] libs/esl/src/esl.c:1037 esl_recv_event() RECV MESSAGE<br>>> > Event-Name: SOCKET_DATA<br>>> > Content-Type: log/data<br>>> > Content-Length: 161<br>>> > Log-Level: 2<br>
>> > Text-Channel: 0<br>>> > Log-File: switch_loadable_module.c<br>>> > Log-Func: switch_loadable_module_load_file<br>>> > Log-Line: 882<br>>> > User-Data: _undef_<br>>> > 2011-03-02 17:21:32.139672 [CRIT] switch_loadable_module.c:882 Error<br>
>> > Loading<br>>> > module /opt/freeswitch/mod/mod_xml_cdr.so<br>>> > **Module load routine returned an error**<br>>> ><br>>> ><br>>> ><br>>> ><br>>> ><br>
>> > On Tue, Mar 1, 2011 at 1:11 PM, Anthony Minessale<br>>> > <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>>> >><br>>> >> like I said you re-installed with a new version of libcurl but did not<br>
>> >> fully rebuild.<br>>> >> So most of the modules that depend on curl were broken torn between<br>>> >> the old and new version it was linked to..<br>>> >><br>>> >> had you executed the 4 commands I posted yesterday it would be fine.<br>
>> >><br>>> >><br>>> >> On Tue, Mar 1, 2011 at 11:02 AM, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>>> >> > Thank you all for advice and direction<br>
>> >> > Will re-install from scratch at a later time.<br>>> >> > deniro--<br>>> >> ><br>>> >> > On Tue, Mar 1, 2011 at 4:16 AM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>><br>
>> >> > wrote:<br>>> >> >><br>>> >> >> Ok, you really need to pay attention to any log message that logs<br>>> >> >> with<br>>> >> >> the CRIT (critical) log level - they're really serious errors. You<br>
>> >> >> should look at adding the critical="true" attribute to all the tags<br>>> >> >> in<br>>> >> >> modules.conf.xml which you want to be sure are loaded. If a module<br>
>> >> >> fails to load without that tag FS will continue to run anyway, with<br>>> >> >> that tag it'll refuse to start so you'll know instantly something is<br>>> >> >> wrong.<br>
>> >> >><br>>> >> >> Most of your modules aren't loading, because they haven't been<br>>> >> >> compiled correctly. Some look like they're missing (no such file or<br>
>> >> >> directory) and others haven't been built right (undefined symbols).<br>>> >> >><br>>> >> >> Here are a few of the important lines from your log:<br>>> >> >><br>
>> >> >> 2011-02-28 18:12:21.910738 [CRIT] switch_loadable_module.c:882 Error<br>>> >> >> Loading module /opt/freeswitch/mod/mod_event_socket.so<br>>> >> >> **/opt/freeswitch/mod/mod_event_socket.so: undefined symbol:<br>
>> >> >> switch_event_serialize_json**<br>>> >> >> 2011-02-28 18:12:21.910789 [CRIT] switch_loadable_module.c:882 Error<br>>> >> >> Loading module /opt/freeswitch/mod/mod_xml_curl.so<br>
>> >> >> **/opt/freeswitch/mod/mod_xml_curl.so: cannot open shared object<br>>> >> >> file:<br>>> >> >> No such file or directory**<br>>> >> >> 2011-02-28 18:12:21.910813 [CRIT] switch_loadable_module.c:882 Error<br>
>> >> >> Loading module /opt/freeswitch/mod/mod_xml_cdr.so<br>>> >> >> **/opt/freeswitch/mod/mod_xml_cdr.so: cannot open shared object<br>>> >> >> file:<br>>> >> >> No such file or directory**<br>
>> >> >> 2011-02-28 18:12:21.911581 [CRIT] switch_loadable_module.c:882 Error<br>>> >> >> Loading module /opt/freeswitch/mod/mod_commands.so<br>>> >> >> **/opt/freeswitch/mod/mod_commands.so: undefined symbol:<br>
>> >> >> switch_xml_reload**<br>>> >> >> 2011-02-28 18:12:21.911709 [CRIT] switch_loadable_module.c:882 Error<br>>> >> >> Loading module /opt/freeswitch/mod/mod_conference.so<br>
>> >> >> **/opt/freeswitch/mod/mod_conference.so: undefined symbol:<br>>> >> >> switch_channel_test_app_flag_key**<br>>> >> >> 2011-02-28 18:12:21.911842 [CRIT] switch_loadable_module.c:882 Error<br>
>> >> >> Loading module /opt/freeswitch/mod/mod_dptools.so<br>>> >> >> **/opt/freeswitch/mod/mod_dptools.so: undefined symbol:<br>>> >> >> switch_event_merge**<br>>> >> >> 2011-02-28 18:12:21.912264 [CRIT] switch_loadable_module.c:882 Error<br>
>> >> >> Loading module /opt/freeswitch/mod/mod_dialplan_xml.so<br>>> >> >> **/opt/freeswitch/mod/mod_dialplan_xml.so: undefined symbol:<br>>> >> >> switch_xml_std_datetime_check**<br>
>> >> >> 2011-02-28 18:12:21.912531 [CRIT] switch_loadable_module.c:882 Error<br>>> >> >> Loading module /opt/freeswitch/mod/mod_g723_1.so<br>>> >> >> **/opt/freeswitch/mod/mod_g723_1.so: cannot open shared object file:<br>
>> >> >> No such file or directory**<br>>> >> >> 2011-02-28 18:12:21.912573 [CRIT] switch_loadable_module.c:882 Error<br>>> >> >> Loading module /opt/freeswitch/mod/mod_g729.so<br>
>> >> >> **/opt/freeswitch/mod/mod_g729.so: cannot open shared object file:<br>>> >> >> No<br>>> >> >> such file or directory**<br>>> >> >> 2011-02-28 18:12:21.912609 [CRIT] switch_loadable_module.c:882 Error<br>
>> >> >> Loading module /opt/freeswitch/mod/mod_amr.so<br>>> >> >> **/opt/freeswitch/mod/mod_amr.so: cannot open shared object file: No<br>>> >> >> such file or directory**<br>
>> >> >><br>>> >> >> Important things to note:<br>>> >> >> mod_event_socket hasn't loaded because of a undefined symbol, it<br>>> >> >> wasn't built correctly<br>
>> >> >> mod_xml_curl hasn't loaded because it doesn't exist, it was either<br>>> >> >> never built or never installed<br>>> >> >><br>>> >> >> Something pretty strange has happened. Did you recompile when trying<br>
>> >> >> to add mod_xml_curl?<br>>> >> >><br>>> >> >> I'd suggest you delete all the FS files, including the Git clone,<br>>> >> >> make<br>>> >> >> a fresh checkout and build it from scratch.<br>
>> >> >><br>>> >> >> -Steve<br>>> >> >><br>>> >> >><br>>> >> >><br>>> >> >> On 28 February 2011 23:18, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>
>> >> >> > I put the log in pastebin<br>>> >> >> > freeswitch.log only when starting freeswitch (after stop)<br>>> >> >> ><br>>> >> >> > <a href="http://pastebin.freeswitch.org/15502" target="_blank">http://pastebin.freeswitch.org/15502</a><br>
>> >> >> > thx<br>>> >> >> > deniro<br>>> >> >> > On Mon, Feb 28, 2011 at 5:46 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>><br>
>> >> >> > wrote:<br>>> >> >> >><br>>> >> >> >> You must check the logfile for when FS starts up - if netstat<br>>> >> >> >> shows<br>
>> >> >> >> nothing for port 8021 then either mod_event_socket isn't being<br>>> >> >> >> loaded<br>>> >> >> >> or you'll see an error when it tries to load.<br>
>> >> >> >><br>>> >> >> >> Nothing from netstat means nothing's listening, so trying to<br>>> >> >> >> connect<br>>> >> >> >> using fs_cli won't do anything.<br>
>> >> >> >><br>>> >> >> >> -Steve<br>>> >> >> >><br>>> >> >> >><br>>> >> >> >> On 28 February 2011 22:40, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>
>> >> >> >> > Checked the log<br>>> >> >> >> > Nothing is logged when<br>>> >> >> >> > fs_cli -d 7 -H 75.xxx.xxx.xxx -P 8021<br>>> >> >> >> > is issued<br>
>> >> >> >> > /opt/freeswitch/log# tail -f freeswitch.log<br>>> >> >> >> ><br>>> >> >> >> > ls -l freeswitch.log<br>>> >> >> >> > -rwxrwxrwx 1 freeswitch daemon 33018 2011-02-28 17:39<br>
>> >> >> >> > freeswitch.log<br>>> >> >> >> > thx<br>>> >> >> >> ><br>>> >> >> >> ><br>>> >> >> >> ><br>
>> >> >> >> > On Mon, Feb 28, 2011 at 3:59 PM, Peter Olsson<br>>> >> >> >> > <<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>> wrote:<br>
>> >> >> >> >><br>>> >> >> >> >> Check freeswitch.log, it probably reports some problem when<br>>> >> >> >> >> loading<br>>> >> >> >> >> the<br>
>> >> >> >> >> mod_event_socket module.<br>>> >> >> >> >><br>>> >> >> >> >> /Peter<br>>> >> >> >> >> ________________________________________<br>
>> >> >> >> >> Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>>> >> >> >> >> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] f&#246;r<br>
>> >> >> >> >> deniro<br>>> >> >> >> >> [<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>]<br>>> >> >> >> >> Skickat: den 28 februari 2011 21:42<br>
>> >> >> >> >> Till: FreeSWITCH Users Help<br>>> >> >> >> >> Ämne: Re: [Freeswitch-users] fs_cli socket connection error<br>>> >> >> >> >><br>
>> >> >> >> >> Steve<br>>> >> >> >> >> Thanks for the reply<br>>> >> >> >> >> netstat -anlp | grep 8021 is blank (nothing showing up)<br>
>> >> >> >> >><br>>> >> >> >> >> /opt/freeswitch/bin/fs_cli -d 7 -H 75.xxx.xxx.xxx -P 8021<br>>> >> >> >> >> [DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file()<br>
>> >> >> >> >> Configuration<br>>> >> >> >> >> file is /root/.fs_cli_conf.<br>>> >> >> >> >> [DEBUG] libs/esl/src/esl_config.c:56 esl_config_open_file()<br>
>> >> >> >> >> Configuration<br>>> >> >> >> >> file is /etc/fs_cli.conf.<br>>> >> >> >> >> [DEBUG] libs/esl/fs_cli.c:1159 main() profile default does not<br>
>> >> >> >> >> exist<br>>> >> >> >> >> using<br>>> >> >> >> >> builtin profile<br>>> >> >> >> >> [DEBUG] libs/esl/fs_cli.c:1188 main() Using profile internal<br>
>> >> >> >> >> [75.xxx.xxx.xxx]<br>>> >> >> >> >> [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket<br>>> >> >> >> >> Connection<br>
>> >> >> >> >> Error]<br>>> >> >> >> >> yes mod_event_socket is after mod_xml_curl but I changed the<br>>> >> >> >> >> order<br>>> >> >> >> >> in<br>
>> >> >> >> >> modules.conf.xml<br>>> >> >> >> >> still getting above (restarted freeswitch)<br>>> >> >> >> >><br>>> >> >> >> >> thx<br>
>> >> >> >> >> deniro--<br>>> >> >> >> >><br>>> >> >> >> >><br>>> >> >> >> >><br>>> >> >> >> >> On Mon, Feb 28, 2011 at 3:35 AM, Steven Ayre<br>
>> >> >> >> >> <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a><mailto:<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>>> wrote:<br>>> >> >> >> >> Enable debug logging and you should see an error that'll tell<br>
>> >> >> >> >> you<br>>> >> >> >> >> more.<br>>> >> >> >> >><br>>> >> >> >> >> Is mod_event_socket loading before or after mod_xml_curl?<br>
>> >> >> >> >> Chances<br>>> >> >> >> >> are<br>>> >> >> >> >> mod_xml_curl is loading first, so it's trying to read<br>>> >> >> >> >> event_socket.conf.xml and/or acl.conf.xml through xml_curl and<br>
>> >> >> >> >> either<br>>> >> >> >> >> getting a different config to your previous local copy or the<br>>> >> >> >> >> ACLs<br>>> >> >> >> >> are<br>
>> >> >> >> >> different.<br>>> >> >> >> >><br>>> >> >> >> >> What does "netstat -anlp | grep :8021" from the linux cli show<br>
>> >> >> >> >> you?<br>>> >> >> >> >> Does it show that freeswitch is actually listening on the<br>>> >> >> >> >> port?<br>>> >> >> >> >> If<br>
>> >> >> >> >> it<br>>> >> >> >> >> is it's probably an ACL problem, if it isn't then it's<br>>> >> >> >> >> probably a<br>
>> >> >> >> >> problem with event_socket.conf.xml<br>>> >> >> >> >><br>>> >> >> >> >> -Steve<br>>> >> >> >> >><br>
>> >> >> >> >> On 28 February 2011 00:53, deniro<br>>> >> >> >> >> <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a><mailto:<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>>> wrote:<br>
>> >> >> >> >> > What would be possible reasons for this and how to resolve?<br>>> >> >> >> >> > running fs 106 on ubuntu 10.04 server<br>>> >> >> >> >> ><br>
>> >> >> >> >> > /opt/freeswitch/bin/fs_cli -H xxx.xxx.xxx.xxx -P 8021<br>>> >> >> >> >> > [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting<br>>> >> >> >> >> > [Socket<br>
>> >> >> >> >> > Connection<br>>> >> >> >> >> > Error]<br>>> >> >> >> >> > was working fine before I installed mod_xml_cdr<br>
>> >> >> >> >> > configure --prefix=/opt/freeswitch --without-libcurl<br>>> >> >> >> >> > make mod_xml_cdr-install<br>>> >> >> >> >> > (no errors)<br>
>> >> >> >> >> ><br>>> >> >> >> >> > in modules.conf.xml<br>>> >> >> >> >> > <load module="mod_event_socket"/><br>
>> >> >> >> >> ><br>>> >> >> >> >> > is there a packaged version of mod_xml_cdr (for fs 1.0.6)?<br>>> >> >> >> >> ><br>>> >> >> >> >> > thx<br>
>> >> >> >> >> > deniro--<br>>> >> >> >> >> > _______________________________________________<br>>> >> >> >> >> > FreeSWITCH-users mailing list<br>
>> >> >> >> >> ><br>>> >> >> >> >> ><br>>> >> >> >> >> ><br>>> >> >> >> >> ><br>>> >> >> >> >> ><br>
>> >> >> >> >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
>> >> >> >> >> ><br>>> >> >> >> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >> >> >> >> ><br>>> >> >> >> >> ><br>>> >> >> >> >> ><br>>> >> >> >> >> ><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><<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>><br>
>> >> >> >> >> ><br>>> >> >> >> >> ><br>>> >> >> >> >><br>>> >> >> >> >> _______________________________________________<br>
>> >> >> >> >> FreeSWITCH-users mailing list<br>>> >> >> >> >><br>>> >> >> >> >><br>>> >> >> >> >><br>
>> >> >> >> >><br>>> >> >> >> >><br>>> >> >> >> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><mailto:<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>>> >> >> >> >><br>
>> >> >> >> >><br>>> >> >> >> >><br>>> >> >> >> >><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><<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>><br>
>> >> >> >> >><br>>> >> >> >> >> !DSPAM:4d6c0a1132761029518849!<br>>> >> >> >> >><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>>> >> >> >> >><br>
>> >> >> >> >><br>>> >> >> >> >><br>>> >> >> >> >><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>>> >> >> >> ><br>>> >> >> >> ><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>
>> >> >> >> ><br>>> >> >> >> ><br>>> >> >> >> ><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>>> >> >> >> ><br>>> >> >> >> ><br>>> >> >> >><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>>> >> >> >><br>
>> >> >> >><br>>> >> >> >><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>>> >> >> ><br>>> >> >> ><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>
>> >> >> ><br>>> >> >> ><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>>> >> >> ><br>>> >> >> ><br>>> >> >><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>
>> >> >><br>>> >> >><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>>> >> ><br>>> >> ><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>
>> >> ><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>
>> >> ><br>>> >> ><br>>> >><br>>> >><br>>> >><br>>> >> --<br>>> >> Anthony Minessale II<br>>> >><br>>> >> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> >> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>>> >> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>> >><br>>> >> AIM: anthm<br>>> >> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>>> >> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>> >> IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br>>> >><br>>> >> FreeSWITCH Developer Conference<br>>> >> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>> >> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>>> >> pstn:+19193869900<br>>> >><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>
>> >><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>
>> ><br>>> ><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>>> ><br>>> ><br>>><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>
><br>><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>
><br>><br><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>
</div></div></blockquote></div><br>