arnaudcoquelet / fusionpbx

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

is_local doesn't seem to work with the install_fusion scrit #773

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After installing using the script install_fusion the is_local doesn't seem to 
work. Here's an error I am getting in the logs:

2014-11-25 10:21:05.929107 [ERR] mod_lua.cpp:203 
/usr/local/freeswitch/scripts/app/is_local/index.lua:36: attempt to index 
global 'api' (a nil value) stack traceback: 
/usr/local/freeswitch/scripts/app/is_local/index.lua:36: in main chunk 
/usr/local/freeswitch/scripts/app.lua:50: in main chunk 
2014-11-25 10:21:05.929107 [DEBUG] freeswitch_lua.cpp:377 DBH handle 
0x7fcc8002ab80 released.

Original issue reported on code.google.com by blackc2004@gmail.com on 28 Nov 2014 at 3:12

GoogleCodeExporter commented 9 years ago
Are you using this script?
http://fusionpbx.googlecode.com/svn/branches/dev/scripts/install/ubuntu/install_
fusionpbx.sh or the one from the stable branch?

Original comment by markjcrane@gmail.com on 7 Dec 2014 at 4:07

GoogleCodeExporter commented 9 years ago
Yes, the dev script. Per the wiki, it says "YOU SHOULD USE THE DEV BRANCH 
SCRIPT FOR NOW."

http://wiki.fusionpbx.com/index.php?title=Easy_FusionPBX#Get_the_latest_install_
script

Uncommented this line:
FPBXBRANCH="http://fusionpbx.googlecode.com/svn/trunk/fusionpbx"

And this is set to stable:
#staying with default repository, feel free to change this to github. Some 
report faster downloads.
FSGIT=https://freeswitch.org/stash/scm/fs/freeswitch.git
#FSGIT=https://stash.freeswitch.org/scm/fs/freeswitch.git
#FSGIT=git://github.com/FreeSWITCH/FreeSWITCH.git
FSSTABLE=true
FSStableVer="v1.4"

Original comment by blackc2004@gmail.com on 7 Dec 2014 at 11:21

GoogleCodeExporter commented 9 years ago
This was fixed a while ago in the dev branch. I just copied the fix onto the 
stable trunk branch. scripts/app/is_local/index.lua script has to be updated in 
order for it to work.

Original comment by markjcrane@gmail.com on 17 Jan 2015 at 7:38