Sherif, Send me your sofia.conf.xml please. Also, file_string I don't use it at all... for the "/fsxml/gateways.php" error, that php file is no used anymore. for <!-- SET YOUR VIKING VARIABLES HERE! THE REST, I DON'T REALLY CARE ABOUT --> I tought I removed those... didn't I?.... Yes. those lines are not in that file anymore... please download the LASTEST verison from the git. for "The installation of the webserver was in /var/www I think this should have been in /var/www/html" That's what the variable is for... ;) you can set that to your web server root directory, in my case it was "/var/www/", in yours can be anything... thanks for trying it! David On Wed, Feb 1, 2012 at 1:48 AM, Sherif Omran <sherif.omran@gmx.de> wrote:
Hi David,
I changed the web folder to /var/www/html and reinstalled after adjusting the modules
It says now
Creating default Sofia configuration Creating default Distributors configuration Creating default Dialplan configuration
It is seems reachable now. However when i start freeswitch it says the following. Please look on to the ERR:
2012-02-01 00:41:24.564947 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing]
This error is many times
2012-02-01 00:41:24.559934 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_console] 2012-02-01 00:41:24.560293 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_logfile] 2012-02-01 00:41:24.561055 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_enum] 2012-02-01 00:41:24.562623 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_xml_curl] 2012-02-01 00:41:24.564947 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.565176 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_xml_cdr] 2012-02-01 00:41:24.567012 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.567444 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_cdr_csv] 2012-02-01 00:41:24.567937 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_event_socket] 2012-02-01 00:41:24.571180 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.571309 [ERR] sofia.c:3566 Open of sofia.conf failed 2012-02-01 00:41:24.571363 [CRIT] switch_loadable_module.c:1281 Error Loading module /usr/local/freeswitch/mod/mod_sofia.so **Module load routine returned an error** 2012-02-01 00:41:24.571594 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_loopback] 2012-02-01 00:41:24.640031 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_commands] 2012-02-01 00:41:24.651262 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.655463 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_db] 2012-02-01 00:41:24.656327 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_dptools] 2012-02-01 00:41:24.666206 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_expr] 2012-02-01 00:41:24.668046 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.672956 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_fifo] 2012-02-01 00:41:24.678599 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.678785 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_hash] 2012-02-01 00:41:24.681265 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.682817 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.688323 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_voicemail] 2012-02-01 00:41:24.691706 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.691834 [ERR] mod_distributor.c:109 Open of distributor.conf failed 2012-02-01 00:41:24.691887 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_distributor] 2012-02-01 00:41:24.692399 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_esf] 2012-02-01 00:41:24.692809 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_fsv] 2012-02-01 00:41:24.693259 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_cluechoo] 2012-02-01 00:41:24.693769 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_valet_parking] 2012-02-01 00:41:24.694197 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_dialplan_xml] 2012-02-01 00:41:24.694606 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_dialplan_asterisk] 2012-02-01 00:41:24.697755 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.720513 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_spandsp] 2012-02-01 00:41:24.725014 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_g723_1] 2012-02-01 00:41:24.725416 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_g729] 2012-02-01 00:41:24.726184 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_amr] 2012-02-01 00:41:24.726558 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_ilbc] 2012-02-01 00:41:24.727052 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_speex] 2012-02-01 00:41:24.727435 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_h26x] 2012-02-01 00:41:24.728311 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_siren] 2012-02-01 00:41:24.729904 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_sndfile] 2012-02-01 00:41:24.732573 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_native_file] 2012-02-01 00:41:24.736664 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.736990 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_local_stream] 2012-02-01 00:41:24.737566 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_tone_stream] 2012-02-01 00:41:24.741204 [CONSOLE] mod_local_stream.c:161 Can't open directory: /usr/local/freeswitch/sounds/music/16000 2012-02-01 00:41:24.741397 [CONSOLE] mod_local_stream.c:161 Can't open directory: /usr/local/freeswitch/sounds/music/32000 2012-02-01 00:41:24.743688 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.746603 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_spidermonkey] 2012-02-01 00:41:24.752619 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.752921 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_lua] 2012-02-01 00:41:24.753601 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_say_en] 2012-02-01 00:41:24.756170 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.756254 [CONSOLE] switch_loadable_module.c:124 Starting runtime thread for CORE_SOFTTIMER_MODULE 2012-02-01 00:41:24.756320 [CONSOLE] switch_loadable_module.c:124 Starting runtime thread for mod_event_socket 2012-02-01 00:41:24.761878 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.761959 [CONSOLE] switch_core.c:1139 Created ip list net_list_1 default (deny) 2012-02-01 00:41:24.762001 [CONSOLE] switch_core.c:1139 Created ip list net_list_2 default (deny) 2012-02-01 00:41:24.762036 [CONSOLE] switch_core.c:1139 Created ip list net_list_3 default (deny) 2012-02-01 00:41:24.762072 [CONSOLE] switch_core.c:1139 Created ip list net_list_4 default (deny) 2012-02-01 00:41:24.762107 [CONSOLE] switch_core.c:1139 Created ip list net_list_5 default (deny) 2012-02-01 00:41:24.762273 [CONSOLE] switch_core.c:1139 Created ip list net_list_6 default (allow) 2012-02-01 00:41:24.764023 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.764921 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing] 2012-02-01 00:41:24.765105 [CONSOLE] switch_core.c:1856 _____ ______ _____ _____ ____ _ _ | ___| __ ___ ___/ ___\ \ / /_ _|_ _/ ___| | | | | |_ | '__/ _ \/ _ \___ \\ \ /\ / / | | | || | | |_| | | _|| | | __/ __/___) |\ V V / | | | || |___| _ | |_| |_| \___|\___|____/ \_/\_/ |___| |_| \____|_| |_|
************************************************************ * Anthony Minessale II, Michael Jerris, Brian West, Others * * FreeSWITCH (http://www.freeswitch.org) * * Paypal Donations Appreciated: paypal@freeswitch.org * * Brought to you by ClueCon http://www.cluecon.com/ * ************************************************************
2012-02-01 00:41:24.765163 [CONSOLE] switch_core.c:1859 FreeSWITCH Version 1.0.head (git-ac7f94e 2012-01-05 12-43-17 -0600) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled] 2012-02-01 00:41:24.767426 [ERR] switch_xml.c:1623 Error[[error near line 1]: root tag missing]
kind regards, Sherif
On Jan 31, 2012, at 9:56 PM, David Villasmil wrote:
Hello Sherif,
"1- variables file freeswitch path should be /usr/local/freeswitch/conf"
No, it should be /usr/local/freeswitch/ as the script copies config files as well as scripts.
Ok, let me know
David
On Tue, Jan 31, 2012 at 8:42 PM, Sherif Omran <sherif.omran@gmx.de> wrote:
Hi David,
please edit the following in the installer
1- variables file freeswitch path should be /usr/local/freeswitch/conf
2- home /home/freeswitch
3- I get error when you execute mysql -u root -p passwd < filename it works for me this way mysql -u root -p <filename then it requests for the password
4- try to add a username and password for root in the variables
I disabled copying the files to FS till i can merge it manually
try adding chmod 777 to the installer to run
I will let you know when i get 1 step futher
regards Sherif
On Jan 31, 2012, at 7:58 PM, Sherif Omran wrote:
Hi David,
I saw the install.pl script. I made the required changes manually to the freeswitch xml files. What is the best way to still use the install script? Note that my freeswitch xml files are not default.
waiting your reply
kind regards, Sherif
On Jan 28, 2012, at 8:29 PM, David Villasmil wrote:
No, I don't.
On Sat, Jan 28, 2012 at 1:09 AM, Sherif Omran <sherif.omran@gmx.de>wrote:
Hi David,
do you use mod_nibble?
kind regards, Sherif
On Jan 27, 2012, at 2:47 PM, David Villasmil wrote:
hello Sherif,
Help it is always welcome, even more because i'm not an expert on web pages. I think it is better if we setup a chat conference to talk about this and any other questions you may have.
The CDRs are posted via web with xml_curl. The scripts in the gateway directoy are to be copied into the freeswitch server. "gateway" is just a name i gave to the server.
Hope this helps. there are some changes that you need to make before making it work, but i can walk you through it.
David
On Thu, Jan 26, 2012 at 10:13 PM, Sherif Omran <sherif.omran@gmx.de>wrote:
Dear David,
there is no folder called gateway in my freeswitch folder. the normal vars.xml file is located in usr/local/freeswitch/conf/var.xml
I am a bit confused, do you mean one should create a new folder called gateway inside the conf folder? or should it be inside the freeswitch folder?
Also can it work on 1 server?
waiting your reply
best regards, Sherif
On Jan 9, 2012, at 6:35 PM, David Villasmil wrote:
Sorry,
It is on https://github.com/davidcsi/FreeSWITCH-Billing
David
On Mon, Jan 9, 2012 at 6:34 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello Sheriff,
I have been using it for more than a year on production.
Enjoy
David
On Sat, Jan 7, 2012 at 11:27 PM, Sherif Omran <sherif.omran@gmx.de>wrote:
Hi David
Is it a full application ready to be used or still under development? Could you please give me the link to the download
also please add your program here
http://wiki.freeswitch.org/wiki/Billing
thank you
regards, Sherif
On Jan 1, 2012, at 10:48 PM, David Villasmil wrote:
Hello Sherif,
Unfortunately, I don't have a script yet. But the Readme explains how to install it. I don't have a online demo either as of now, but I will set it up shortly.
Thanks for trying it
David
On Sun, Jan 1, 2012 at 2:27 PM, Sherif Omran <sherif.omran@gmx.de>wrote:
> hi David > > I am interested in your module, do you have an installation script > for a running FS? > > Is there a demo online? > > best regards, > Sherif Omran > >