Koozali.org: home of the SME Server

OpenPBX on SME Server 7.1 installation notes

guest22

OpenPBX on SME Server 7.1 installation notes
« on: January 03, 2007, 04:07:07 PM »
Installation notes OpenPBX latest svn version on sme7.1

Version: 0.1 - Jan 3. 2007
Author: RequestedDeletion
Comment: sharing personal notes, this is NOT a full How-to.

Needed: Clean install of SME Server 7.1 connected to the internet (stand alone or gateway)

SME Server Development tools
- yum install gcc bison libtool libtiff-devel libjpeg-devel ncurses-devel
- yum --enablerepo=base --enablerepo=updates install kernel-dev kernel-smp-devel

(OpenPBX specific dependencies)
- yum install sox libcap-devel readline-devel openssl-devel
- signal-event post-upgrade; signal-event reboot

- yum install neon
- wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/apr-0.9.12-1.i386.rpm
- wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/apr-util-0.9.12-1.i386.rpm
- rpm -Uvh apr*.*

- wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.2-1.i386.rpm
- rpm -Uvh subversion

- rpm -e libtool
- wget ftp://ftp.gnu.org/gnu/libtool/libtool-1.5.20.tar.gz
- tar zxvf libtool-1.5.20.tar.gz
- cd libtool-1.5.20
- ./configure
- make
- make install

- rpm -e automake
- wget ftp://ftp.mirror.nl/pub/mirror/gnu/automake/automake-1.9.6.tar.gz
- tar zxvf automake-1.9.6.tar.gz
- cd automake-1.9.6
- ./configure
- make
- make install

SpanDSP
- cd /tmp
- wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.3pre26.tgz
- tar -zxvf spandsp-0.0.3pre26.tgz
- cd spandsp-0.0.3
- ./configure
- make
- make install
- cd \
- Edit /etc/ld.so.conf to include /usr/local on a new line
- run 'ldconfig'
(just making sure all is clean, before continuing)
- signal-event post-upgrade; signal-event reboot

OpenPBX
- Create user 'openpbx' via the server-manager, do NOT enable password
- cd /usr/src
- svn co svn://svn.openpbx.org/openpbx/trunk openpbx-trunk
- cd /usr/src/openpbx-trunk
- ./bootstrap.sh
- ./configure --with-chan_unicall --with-chan_fax --with-app_valetparking --enable-t38 --enable-generic-jb --enable-iax-trunking --with-app_txfax --with-app_rxfax --enable-transnexusosp
- make
- make install
- chown -R openpbx:openpbx /opt/openpbx.org

to run openpbx: '/opt/openpbx.org/sbin/openpbx -vvc'

ToDo:
- Install zaptel
- Install libpri

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
OpenPBX on SME Server 7.1 installation notes
« Reply #1 on: January 03, 2007, 10:15:57 PM »
Hi

This is cool.  Well done with the work so far.  Do you intend to create  rpm(s) ?

In theory, SAIL should just run with OpenPBX (with minor alterations to the generator for the correct paths/library names) so do let us know how you get on because we have it on our list to try but we just haven't had the time.

Kind Regards

Selintra

Offline hervep

  • ***
  • 70
  • +0/-0
Re: OpenPBX on SME Server 7.1 installation notes
« Reply #2 on: January 04, 2007, 08:53:05 AM »
Quote from: "guest22"
Installation notes OpenPBX latest svn version on sme7.1

Version: 0.1 - Jan 3. 2007
Author: RequestedDeletion


Off-topic : RequestedDeletion, I don't know how I can reach you. Not possible via PM. star-support out. Can you send me a mail ... Tnx.

Rgds,

Hervé

duncan

OpenPBX on SME Server 7.1 installation notes
« Reply #3 on: January 04, 2007, 12:12:00 PM »
Is there any advantage of Openpabx over Asterisk ?

guest22

OpenPBX on SME Server 7.1 installation notes
« Reply #4 on: January 04, 2007, 12:39:24 PM »
Quote from: "duncan"
Is there any advantage of Openpabx over Asterisk ?


Depends on how you look at things. Philosophical or technical....

Quotes from openpbx.org:

Philisophical:
Here are a few things to highlight the reasons for this fork:

    * Wanted community input and control, No single person can stop progress.
    * We will use the best of code that already exists. (ie apr, rtp stacks and sip stacks)
    * We will not reinvent the wheel if it is not necessary.
    * We will not have the dual license concerns
    * We will not allow business decisions to affect software development.
    * Everyone can commit without having to disclaim copyrights.
    * We can't compete with our customers because we are all on the same level.


Techical:
Most important differences between OpenPBX and Asterisk

    * OpenPBX.org has built-in STUN support for SIP NAT traversal
    * OpenPBX.org uses SpanDSP which means better codecs and full T.38 fax over IP support
    * OpenPBX.org uses Sqlite instead of Berkeley DB as its internal database
    * OpenPBX.org has a universal jitterbuffer for use with any channel type
    * OpenPBX.org uses POSIX timers which means there are no Zaptel timing dependencies
    * OpenPBX.org has much faster and more efficient dialplan execution because it uses hashing
    * OpenPBX.org evaluates correctness and integrity of configuration data (work in progress)
    * OpenPBX.org runs well under a virtual machine such as Xen or VMware