Author Topic: Installing Freesentral on a Raspberry Pi  (Read 18355 times)

hecatae

  • Newbie
  • *
  • Posts: 7
    • View Profile
Installing Freesentral on a Raspberry Pi
« on: December 07, 2014, 06:44:39 PM »
Working from this: http://www.freesentral.com/index.php/Documentation/Installing

Using Raspbian and an 8gb Micro SD on a Model B+
Raspbian version is Wheezy, all desktop packages have been stripped, apt-get update plusdist-upgrade and rpi-update ran to bring up the kernel to 3.12.34, and all packages up to date.

Needed packages:
Code: [Select]
build-essential sox autoconf cvs libssl-dev php5-cli lame madplay openssl php5 php5-ming php5-pgsql postgresql apache2 libpq-dev speex subversion telnet
then
Code: [Select]
cd /usr/src/
svn checkout http://voip.null.ro/svn/yate/trunk yate
svn checkout http://voip.null.ro/svn/freesentral/trunk freesentral

This will pull down revision Rev 5925 - 2014-11-27 14:57:13 GMT of yate and revision Rev 223 - 2013-11-18 13:56:49 GMT of freesentral.

cd into the yate directory, and follow http://docs.yate.ro/wiki/Compiling_and_Installing_Yate_from_SVN_on_Debian

I will update this when I have completed this step, first issue, to get the postgresql module recognised install libpq-dev.

make completed, ran make install no-api

yate built,

but the instructions to

Code: [Select]
cd /usr/src/yate
cp packing/deb/yate.init /etc/init.d/yate
chown root.root /etc/init.d/yate

do not work, so at present, I cant start Yate as a service

my mistake, edit /etc/init.d/yate and change the daemon from /usr/bin to /usr/local/bin
cd ..
cd freesentral

before running ./install.sh

get your favourite editor and replace the # in /etc/php5/cli/conf.d/ming.ini line 1 with ;

now run ./install.sh

when it asks for web user [apache] enter www-data

why can passwords only be numeric?


« Last Edit: December 12, 2014, 03:34:56 PM by hecatae »

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: Installing Freesentral on a Raspberry Pi
« Reply #1 on: December 19, 2014, 03:31:55 AM »
The password for the extensions can only be numeric because they are authenticated when listening to their voicemail from the voicemail.php script.

hecatae

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Installing Freesentral on a Raspberry Pi
« Reply #2 on: December 20, 2014, 03:34:15 PM »
The password for the extensions can only be numeric because they are authenticated when listening to their voicemail from the voicemail.php script.

Thank you, that makes sense.

hecatae

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Installing Freesentral on a Raspberry Pi
« Reply #3 on: February 14, 2015, 08:59:25 AM »
I now own a banana sbc, so will be trying the above out on this device, though I have just found http://forum.doozan.com/read.php?2,4512,4641,quote=1 someone who has got Freesentral running on lighttpd and postgresql