MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

voicemail sqlite issue #433

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current version of fusionpbx has an issue with v1.2 stable of FS.

In the voicemail application, the code uses "core:/pathtodb/dbname.db" instead 
of the now current: freeswitch.Dbh("sqlite://my_db")

the old core:my_db is deprecated accoring to this:
http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh

attached are the fixes I've done locally. 3 files I didn't want to touch as I 
didn't understand where they are stored:
scripts/eavesdrop.lua
scripts/park.lua
scripts/park_monitor.lua

hope it helps.
Shahar

Original issue reported on code.google.com by Shaha...@gmail.com on 3 Jun 2013 at 10:07

Attachments:

GoogleCodeExporter commented 9 years ago
FusionPBX version 3.3 uses the new syntax.
freeswitch.Dbh("sqlite://my_db");

If your system was still using the old syntax of "core:/pathtodb/dbname.db" 
then you aren't using the latest FusionPBX 3.3 version with the latest scripts.

You could run
rm -R /usr/local/freeswitch/scripts/*
Then run advanced -> upgrade schema to for fusionpbx to notice the scripts are 
missing and it will replace them with the new scripts as long as you have the 
latest FusionPBX installed.

Original comment by markjcrane@gmail.com on 3 Jun 2013 at 10:13

GoogleCodeExporter commented 9 years ago
did as instructed. fixed the issue :)

thanks.

Original comment by Shaha...@gmail.com on 3 Jun 2013 at 10:29