I've just setup a test system running the latest smeserver 8.0B5 with an ATRPMS rpm install of asterisk/dahdi and the latest SAIL. Here's a quick and dirty HOWTO:
Clean install SME 8.0B5
setup atrpms
/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL5' \
BaseURL '
http://dl.atrpms.net/el5-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey
http://ATrpms.net/RPM-GPG-KEY.atrpms \
Visible no \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,\
perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,\
libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,\
librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,\
libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,\
status disabled
signal-event yum-modify
Install speex (testing)
wget
ftp://ftp.pbone.net/mirror/atrpms.net/el5-i386/atrpms/testing/speex-1.2-0.11.rc1.el5.i386.rpmyum localinstall speex-1.2-0.11.rc1.el5.i386.rpm
yum --enablerepo=atrpms install asterisk14 asterisk-addons14
yum --enablerepo=atrpms install dahdi-linux dahdi-linux-kmdl-`uname -r`
wget
http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-10.noarch.rpmwget
http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpmyum localinstall perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm sail-2.4.1-10.noarch.rpm
**Hack to install dahdi-tools (file /etc/dahdi/genconf_parameters from install of sail-2.4.1-10.noarch conflicts with file from package dahdi-tools-2.2.1-64.el5.i386)
rpm -e sail
yum --enablerepo=atrpms install dahdi-tools
rpm -ivh --force sail-2.4.1-10.noarch.rpm
Asterisk seems to be looking in /usr/share/asterisk/agi-bin for the AGI so create a symlink
ln -s /var/lib/asterisk/agi-bin/selintra /usr/share/asterisk/agi-bin/selintra
signal-event post-upgrade
signal-reboot
[root@test ~]# uname -a
Linux test 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:39:04 EST 2010 i686 i686 i386 GNU/Linux
[root@test ~]# rpm -q asterisk14 sail dahdi-linux dahdi-linux-kmdl-`uname -r`
dahdi-linux-kmdl-2.6.18-164.11.1.el5-2.2.1-66.el5
asterisk14-1.4.29-89.el5
sail-2.4.1-10
dahdi-linux-2.2.1-66.el5
Test Call
[root@test ~]# asterisk -rvvvvv
Asterisk 1.4.29, Copyright (C) 1999 - 2009 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.29 currently running on test (pid = 4692)
Verbosity is at least 5
-- Executing [042523xxxx@internal:1] AGI("SIP/5000-00000006", "selintra|OutCluster|042523xxxx") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Executing [042523xxxx@qrxvtmny:1] AGI("SIP/5000-00000006", "selintra|OutRoute|Local Calls") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/selintra
-- AGI Script Executing Application: (Dial) Options: (SIP/042523xxxx@029834xxxx||)
-- Called 042523xxxx@029834xxxx
-- SIP/029834xxxx-00000007 is making progress passing it to SIP/5000-00000006
== Spawn extension (qrxvtmny, 042523xxxx, 1) exited non-zero on 'SIP/5000-00000006'
-- Executing [h@qrxvtmny:1] Hangup("SIP/5000-00000006", "") in new stack
== Spawn extension (qrxvtmny, h, 1) exited non-zero on 'SIP/5000-00000006'
test*CLI>
Also I got an error:
[Mar 17 07:15:47] WARNING[4729]: chan_sip.c:17424 set_insecure_flags: Unknown insecure mode 'port.invite' on line 69
So I had to change a line in the trunk definition from:
insecure=port.invite
TO
insecure=port,invite
Regards, Lloyd