Koozali.org: home of the SME Server

Sail 2.4-1.2 on 8.0-0.beta4

Offline compsos

  • *
  • 472
  • +0/-0
Sail 2.4-1.2 on 8.0-0.beta4
« on: December 15, 2009, 09:32:08 AM »
Just some notes on installing on 8.0-0.beta4. The rig is mainly to test a card for sensing ring tones. Used SME ver 8  for sata hdd compatibility.

Sail 2.4-1.2 and dahdi-tools-2.2.0-63.el5 did not install due to dahdi-genconf from either package not being agreeable. Tried different reversed order of installing, made no difference.

dahdi-tools-2.0.0-2.el5 and sail-2.4.1-2.noarch does install and load.

An incoming call on a pstn line records in the cli
"selintra|Inbound|DAHDI1-1|DAHDI1-1: Failed to execute '/usr/share/asterisk/agi-bin/selintra': No such file or directory" The directory is there but not the selintra file.
This is true the file selintra does not exist at that location. On a 7.4 system this directory /usr/share/asterisk only holds moh and sounds and not agi-bin directories. Is this caused by the el4 verses el5 versions?

The setup has tested what I needed to know in regards to the TDM410 card's line pickup, but thought it would be interesting to share the other results.
Regards

Gordon............

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Sail 2.4-1.2 on 8.0-0.beta4
« Reply #1 on: December 16, 2009, 11:49:02 AM »
Used the following script to install Asterisk v1.4.x with SAIL v2.4.1-2 on SME v8 beta 4 on a QEMU KVM on ProxMox v1.4 successfully:
Code: [Select]
yum update -y
signal-event upgrade
signal-event reboot

yum install gcc gcc-c++ ncurses-devel kernel-devel

cd /usr/src

## Dec 9, 2009 - 20MB
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.28-rc1.tar.gz

## Dec 2, 2009 - 786KB
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.4.10.tar.gz

## July 23, 2009 - 1.8 MB
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz

## Mar 29, 2006
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-sounds-1.2.1.tar.gz

tar -zxvf asterisk-1.4.28-rc1.tar.gz
tar -zxvf dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
tar -zxvf asterisk-addons-1.4.10.tar.gz
tar -zxvf asterisk-sounds-1.2.1.tar.gz

## # uname -a
## Linux smeve01 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux

ln -s /usr/src/kernels/2.6.18-164.6.1.el5-i686 linux

cd /usr/src/dahdi-linux-complete-2.2.0.2+2.2.0
make all
make install
make config

cd /usr/src/asterisk-1.4.28-rc1
./configure
## In the menu we can add a few more audio files for other codecs
make menuselect

make; make install
make samples
make config

cd /usr/src/asterisk-addons-1.4.10
./configure
make
make install

cd /usr/src

## Dec 6, 2009 - 14 KB
wget http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
rpm -Uvh perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm

## Dec 6, 2009
wget http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-2.noarch.rpm

## Dec 6, 2009 - 1.8 MB
yum localinstall sail-2.4.1-2.noarch.rpm --enablerepo=base

signal-event reboot

yum remove gcc gcc-c++ ncurses-devel kernel-devel

## [b]Commit[/b] once from the SAIL interface.

« Last Edit: December 16, 2009, 11:50:36 AM by apmuthu »

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Sail 2.4-1.2 on 8.0-0.beta4
« Reply #2 on: December 17, 2009, 12:04:28 PM »
All these scripts to run SAIL and Asterisk on a fresh SME install seem to lack the asterisk group and user.

Where and how should we go about it - especially in SME v8.04?

Merely creating the group and user may not suffice  - which folders, files and binaries need to be chown-ed by it and what changes in the script are needed for processes that must run as this user?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail 2.4-1.2 on 8.0-0.beta4
« Reply #3 on: December 17, 2009, 07:16:35 PM »
SAIL is not part of Asterisk.   You need to address Asterisk questions to Digium or to an Asterisk specific bb


Kind Regards


Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Sail 2.4-1.2 on 8.0-0.beta4
« Reply #4 on: December 17, 2009, 09:39:03 PM »
The /etc/yum.smerepos.d/sme-base.repo has an ATrpms stanza whose baseurl parameter refers to el4 folder in both SME v7.4 and in SME v8.0 beta 4. Must it not be el5 for the latter?
Code: [Select]
baseurl=http://dl.atrpms.net/el4-i386/atrpms/stableAlso the base and updates stanza's exclude parameter in SME v7.4 refers to quite a few kernel excludes which are absent in v8.04. Must they be added in for v8.04?
Code: [Select]
exclude=[color=red]kernel kernel-smp kernel-xenU mkinitrd mdadm[/color] initscripts

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail 2.4-1.2 on 8.0-0.beta4
« Reply #5 on: December 17, 2009, 09:48:34 PM »

your post is off topic for this thread and for this forum.  If you have issues concerning SME 8 Beta then you should raise a bug in the appropriate section of the SME bugtracker

Kind Regards

S

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Sail 2.4-1.2 on 8.0-0.beta4
« Reply #6 on: December 18, 2009, 04:51:34 AM »
Although sme-base.repo refers to the SME 8 beta 4, this post was done to highlight the issue to troubleshoot SAIL dependancies on it.

I can make calls on this install and the Operator Panel and SME Panel work fine. The only issues I have found so far are:
  • CDRs are not being written to the MySQL Database and
  • while the extensions show that they are registered in the IP Phone devices, they do not appear to be registered in the Extensions listing in SAIL
despite making every file in /etc/asterisk/ as chown-ed by asterisk:asterisk from the former root:root.
« Last Edit: December 18, 2009, 04:56:47 AM by apmuthu »