Installing Selintra SAIL (SARK) on SME 7

Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

Installing Selintra SAIL (SARK) on SME 7

E-mail Print PDF

This quick installation guide will create a complete, integrated voice and data communications server based on SME 7.

As of this writing, SAIL will only run on the Linux kernel that ships with SME Server 7 final without taking a couple of extra steps. Be careful when updating the server that you take those extra steps when a new kernel is installed. Note that a 'yum update' may update the kernel. The symptom is that asterisk will not start.


Quick Guide


SARK Web Site

Upgrade from previous 2.2 Installation

yum update --enablerepo=atrpms zaptel libpri asterisk \
zaptel-kmdl-`uname -r` asterisk-addons

Before Installing Asterisk

I recommend you take a minute to turn off any unneeded hardware functionality in the BIOS before installing SME (eg. a built-in sound card, etc.). This will minimize the likelihood that you will run into interrupt conflict/sharing issues.

Asterisk is sensitive to IRQ issues. TDM cards don't like to share interrupts and this is a common happening. Server-type mainboards usually have superior control (via the BIOS) over PCI slot IRQ assignments.

Configure SME Server

These instructions assume a SME Server 7 base installation. You should update your server before installing Asterisk/SAIL/SARK.

yum update -y

Enable SSH remote access in the Server-Manager.

You may also want to enable FTP remote access under some circumstances (Polycom phones default to using FTP) for remote provisioning of phones via FTP, but it is more common to use TFTP.

Asterisk Installation

Log into the server via SSH. You might use PuTTY if you use a Windows PC.

The following assumes you will not be using ISDN, a working Internet connection from the server and that you are logged in as root.

Add this repository to /etc/yum.conf:

#name=Fedora Core - ATrpms

Install all the necessary packages:

yum install --enablerepo=atrpms zaptel libpri \
asterisk zaptel-kmdl-`uname -r` asterisk-addons

SAIL Installation

Download and install the latest SAIL 2.2 series package:

cd ~
yum localinstall -y --enablerepo=base sail-2.2.1-618.noarch.rpm
yum install -y tftp-server --enablerepo=base
signal-event post-upgrade; signal-event reboot


Log into the Server-Manager, click PCI Cards under SAIL PBX, click Probe then Commit. If there is no PCI card installed, it will configure the necessary ztdummy timing device. Click the Stop button, then click the Start button to reinitialize Asterisk and the server is then ready to begin configuration.

If you actually have a PCI card installed, make sure the kernel driver (eg. wctdm) is loaded if the probe doesn't find your card.

Read the manual and then configure the rest of your system.


Regression to an older version is not recommended. It usually works but it isn't 100%. If you want to try it do this...

Save the file /home/e-smith/db/selintra-work somewhere:

cd ~
cp -a /home/e-smith/db/selintra-work .

Remove the old packages:

rpm -e selintra-sail
rpm -e smeserver-asterisk
rpm -e smeserver-asterisk-zappri

Remove the 'extra' kernel modules. This command assumes you will continue using the currently running kernel:

rm -rf /lib/modules/`uname -r`/extra

Install the new Asterisk and SAIL packages per the installation instructions above. Consider rebooting first. Don't take shortcuts.

Copy your saved file back to /home/e-smith/db/selintra-work.

cp -a selintra-work /home/e-smith/db/ 

Immediately log in to the Server-Manager and do a commit.

Retart Asterisk:

/etc/init.d/asterisk stop
/etc/init.d/asterisk start

Now go and redo the PCI card discovery:

Stop Asterisk with the Stop button in PCI. Then restart Asterisk with the Start button.

Check for functionality. It is likely that you will have to redo certain things to get them to work properly again. Don't hesitate to delete and recreate aliases or whatever if something isn't working properly.

Complete Un-Install

You will lose data! This may not be what you want to do.

At the command line as root:

rpm -e smeserver-asterisk
rpm -e smeserver-asterisk-zappri-MPP
rpm -e selintra-sail
rpm -e  sail
rpm -e asterisk-addons
rpm -e zaptel-kmdl-*
rpm -e asterisk
rpm -e libpri
rpm -e zaptel
rm -rf /etc/asterisk
rm -rf /var/lib/asterisk
rm -rf /lib/modules/*/extra
drop database asterisk;

Obsolete - Everything Beyond Here To Be Deleted

These next three commands may not be necessary with future versions of the Asterisk RPMs.

Check the currently running kernel version like this:

uname -r

Once you know the kernel version, run these commands adjusting for your kernel version:

cp -r /lib/modules/2.6.9-34.ELsmp/extra/ /lib/modules/2.6.9-42.0.x.ELsmp 

That's the end of the 'extra steps' mentioned above.

Now perform a reboot as the final installation step.

signal-event reboot

Make Sure Asterisk Will Start Up Automatically

This may specifically be needed after an Asterisk upgrade so check for the existence of the runlevel 7 link.

ll /etc/rc.d/rc7.d/S93asterisk

and if it's not there:

ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S93asterisk
Last Updated on Tuesday, 30 June 2009 17:26