Hi all. First of all sorry if this is not exactly the mailing list of fusion pbx but ... I installed fusionpbx over a new working copy of FreeSWITCH, fully functional (cdr, voicemail, etc..). After installing fusion pbx (sqlite db) the cdr and voicemail no longer work and the log in FreeSWITCH i see for voicemail: 2013-03-17 21:33:57.653751 [ERR] switch_odbc.c:365 STATE: IM002 CODE 0 ERROR: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded 2013-03-17 21:33:57.653751 [CRIT] switch_core_sqldb.c:500 Failure to connect to ODBC core! 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:354 Connection failed. DBH NOT Connected. 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:435 DBH NOT Connected. For cdr instead: 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:365 Got error [302] posting to web server [http://127.0.0.1/app/xml_cdr/ v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:372 Retry will be with url [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:383 Unable to post to web server, writing to file Web searches were unsuccessful. Can someone help me? Saluti -------------------------------- Piero Marchetti piero@marchetti.ws - AIM: piero.m@mac.com -------------------------------- It is dangerous to be sincere unless you are also stupid. - George Bernard Shaw
Hi you need to configure odbc config as mentioned in the document On Tue, Mar 19, 2013 at 3:13 PM, Piero Marchetti <piero@marchetti.ws> wrote:
Hi all. First of all sorry if this is not exactly the mailing list of fusion pbx but ... I installed fusionpbx over a new working copy of FreeSWITCH, fully functional (cdr, voicemail, etc..). After installing fusion pbx (sqlite db) the cdr and voicemail no longer work and the log in FreeSWITCH i see for voicemail: 2013-03-17 21:33:57.653751 [ERR] switch_odbc.c:365 STATE: IM002 CODE 0 ERROR: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded 2013-03-17 21:33:57.653751 [CRIT] switch_core_sqldb.c:500 Failure to connect to ODBC core! 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:354 Connection failed. DBH NOT Connected. 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:435 DBH NOT Connected.
For cdr instead: 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:365 Got error [302] posting to web server [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:372 Retry will be with url [ http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:383 Unable to post to web server, writing to file
Web searches were unsuccessful. Can someone help me?
Saluti
--------------------------------
Piero Marchetti
piero@marchetti.ws - AIM: piero.m@mac.com
--------------------------------
It is dangerous to be sincere unless you are also stupid.
- George Bernard Shaw
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
There is a fusionpbx mailing list and IRC channel (Freenode #fusionpbx), although the ML isn't very active. Anyway, I might be able to help: 1) Voicemail -- FusionPBX uses it's own Lua voicemail, so that will need to be configured in fusionpbx which database it should be using. 2) fusionpbx rewrote the xml_cdr configuration to post to itself at http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php -- is your fusionpbx install in root, and accessible via localhost? Either the path is wrong (e.g. a subdirectory) or you didn't bind the web server to localhost too. Either fix that or fix the configs. (If you installed in non-root directory, perhaps file a bug with fusionpbx that it should be smarter to detect this in the future..) -Avi Marcus BestFone On Tue, Mar 19, 2013 at 11:43 AM, Piero Marchetti <piero@marchetti.ws>wrote:
Hi all. First of all sorry if this is not exactly the mailing list of fusion pbx but ... I installed fusionpbx over a new working copy of FreeSWITCH, fully functional (cdr, voicemail, etc..). After installing fusion pbx (sqlite db) the cdr and voicemail no longer work and the log in FreeSWITCH i see for voicemail: 2013-03-17 21:33:57.653751 [ERR] switch_odbc.c:365 STATE: IM002 CODE 0 ERROR: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded 2013-03-17 21:33:57.653751 [CRIT] switch_core_sqldb.c:500 Failure to connect to ODBC core! 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:354 Connection failed. DBH NOT Connected. 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:435 DBH NOT Connected.
For cdr instead: 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:365 Got error [302] posting to web server [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:372 Retry will be with url [ http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:383 Unable to post to web server, writing to file
Web searches were unsuccessful. Can someone help me?
Saluti
--------------------------------
Piero Marchetti
piero@marchetti.ws - AIM: piero.m@mac.com
--------------------------------
It is dangerous to be sincere unless you are also stupid.
- George Bernard Shaw
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Il giorno 19/mar/13, alle ore 15:41, Avi Marcus ha scritto:
There is a fusionpbx mailing list and IRC channel (Freenode #fusionpbx), although the ML isn't very active.
Anyway, I might be able to help:
1) Voicemail -- FusionPBX uses it's own Lua voicemail, so that will need to be configured in fusionpbx which database it should be using. Thanks Marcus, but.. where?
2) fusionpbx rewrote the xml_cdr configuration to post to itself at http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php -- is your fusionpbx install in root, and accessible via localhost? Either the path is wrong (e.g. a subdirectory) or you didn't bind the web server to localhost too. Either fix that or fix the configs. (If you installed in non-root directory, perhaps file a bug with fusionpbx that it should be smarter to detect this in the future..) No, is not accessible at localhost. In my install I had to use a different port, In that case 192.168.1.17:8030 Note that I have already tried to change the file xml_cdr.conf from <param name="url" value="http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php "/> to <param name="url" value="http://192.168.1.17:8030/app/xml_cdr/v_xml_cdr_import.php "/> But with no success. Seems to take the address from the database, but i have no idea how to change it.
-Avi Marcus BestFone
On Tue, Mar 19, 2013 at 11:43 AM, Piero Marchetti <piero@marchetti.ws> wrote: Hi all. First of all sorry if this is not exactly the mailing list of fusion pbx but ... I installed fusionpbx over a new working copy of FreeSWITCH, fully functional (cdr, voicemail, etc..). After installing fusion pbx (sqlite db) the cdr and voicemail no longer work and the log in FreeSWITCH i see for voicemail: 2013-03-17 21:33:57.653751 [ERR] switch_odbc.c:365 STATE: IM002 CODE 0 ERROR: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded 2013-03-17 21:33:57.653751 [CRIT] switch_core_sqldb.c:500 Failure to connect to ODBC core! 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:354 Connection failed. DBH NOT Connected. 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:435 DBH NOT Connected.
For cdr instead: 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:365 Got error [302] posting to web server [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php ] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:372 Retry will be with url [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:383 Unable to post to web server, writing to file
Web searches were unsuccessful. Can someone help me?
Saluti -------------------------------- Piero Marchetti piero@marchetti.ws - AIM: piero.m@mac.com -------------------------------- It is dangerous to be sincere unless you are also stupid. - George Bernard Shaw
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Cordiali Saluti -------------------------------- Piero Marchetti p.marchetti@314.it P Please consider the environment before printing this email
-Avi Marcus 1-718-989-9485 (USA) 1-866-202-5850 (USA & Canada Toll Free) 02-372-1570 (Israel) 020-3298-2875 (UK) On Tue, Mar 19, 2013 at 7:24 PM, Piero Marchetti <piero@marchetti.ws> wrote:
Il giorno 19/mar/13, alle ore 15:41, Avi Marcus ha scritto:
There is a fusionpbx mailing list and IRC channel (Freenode #fusionpbx), although the ML isn't very active.
Anyway, I might be able to help:
1) Voicemail -- FusionPBX uses it's own Lua voicemail, so that will need to be configured in fusionpbx which database it should be using.
Thanks Marcus, but.. where?
I couldn't find it... try asking on IRC.
2) fusionpbx rewrote the xml_cdr configuration to post to itself at http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php -- is your fusionpbx install in root, and accessible via localhost? Either the path is wrong (e.g. a subdirectory) or you didn't bind the web server to localhost too. Either fix that or fix the configs. (If you installed in non-root directory, perhaps file a bug with fusionpbx that it should be smarter to detect this in the future..)
No, is not accessible at localhost. In my install I had to use a different port, In that case 192.168.1.17:8030 Note that I have already tried to change the file xml_cdr.conf from <param name="url" value="http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php "/> to <param name="url" value=" http://192.168.1.17:8030/app/xml_cdr/v_xml_cdr_import.php"/> But with no success. Seems to take the address from the database, but i have no idea how to change it.
Did you reload mod_xml_cdr after doing that? You can either directly open fs_cli or from system->modules stop then load mod_xml_cdr. -Avi
-Avi Marcus BestFone
On Tue, Mar 19, 2013 at 11:43 AM, Piero Marchetti <piero@marchetti.ws>wrote:
Hi all. First of all sorry if this is not exactly the mailing list of fusion pbx but ... I installed fusionpbx over a new working copy of FreeSWITCH, fully functional (cdr, voicemail, etc..). After installing fusion pbx (sqlite db) the cdr and voicemail no longer work and the log in FreeSWITCH i see for voicemail: 2013-03-17 21:33:57.653751 [ERR] switch_odbc.c:365 STATE: IM002 CODE 0 ERROR: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded 2013-03-17 21:33:57.653751 [CRIT] switch_core_sqldb.c:500 Failure to connect to ODBC core! 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:354 Connection failed. DBH NOT Connected. 2013-03-17 21:33:57.653751 [ERR] freeswitch_lua.cpp:435 DBH NOT Connected.
For cdr instead: 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:365 Got error [302] posting to web server [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:372 Retry will be with url [http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php] 2013-03-17 21:33:57.653751 [ERR] mod_xml_cdr.c:383 Unable to post to web server, writing to file
Web searches were unsuccessful. Can someone help me?
Saluti -------------------------------- Piero Marchetti piero@marchetti.ws - AIM: piero.m@mac.com -------------------------------- It is dangerous to be sincere unless you are also stupid. - George Bernard Shaw
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Cordiali Saluti -------------------------------- Piero Marchetti p.marchetti@314.it
P *Please consider the environment before printing this email*
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Avi Marcus
-
Piero Marchetti
-
ram