Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: compsos on April 25, 2014, 10:36:01 AM
-
Has anyone looked at the installation of Sail on SME9?
What perl packages would be required or does it need a rewrite for 9?
The perl-DBD-SQLite for Centos6 is the version that throws the sail DB.
-
Experimental
Got a little further with this.
Asterisk seems to be now split into a collection of repos. Just the 1 asterisk repo would not pull all the files.
/sbin/e-smith/db yum_repositories set asterisk11 repository \
Name 'CentOS-$releasever - Asterisk 11' \
BaseURL 'http://packages.asterisk.org/centos/$releasever/asterisk-11/$basearch/' \
EnableGroups no \
GPGCheck no \
GPGKey http://packages.asterisk.org/RPM-GPG-KEY-Digium \
status disabled \
Visible no
/sbin/e-smith/db yum_repositories set asterisk-current repository \
Name 'CentOS-$releasever - Asterisk - Current' \
BaseURL 'http://packages.asterisk.org/centos/$releasever/current/$basearch/' \
EnableGroups no \
GPGCheck no \
GPGKey http://packages.asterisk.org/RPM-GPG-KEY-Digium \
status disabled \
Visible no
/sbin/e-smith/db yum_repositories set digium-current repository \
Name 'CentOS-$releasever - Digium Current' \
BaseURL 'http://packages.digium.com/centos/$releasever/current/$basearch/' \
EnableGroups no \
GPGCheck no \
GPGKey http://packages.digium.org/RPM-GPG-KEY-Digium \
status disabled \
Visible no
/sbin/e-smith/db yum_repositories digium-11 repository \
Name 'CentOS-$releasever - Digium - 11' \
BaseURL 'http://packages.digium.com/centos/$releasever/digium-11/$basearch/' \
EnableGroups no \
GPGCheck no \
GPGKey http://packages.asterisk.org/RPM-GPG-KEY-Digium \
status disabled \
Visible no
We put the above in 1 file called combined_asterisk.sh and then ran sh combined_asterisk.sh
Then signal-event yum-modify
next
yum install asterisk asterisk-configs --enablerepo=asterisk11,asterisk-current,digium-11,digium-current
Dependencies Resolved
=====================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================
Installing:
asterisk x86_64 11.9.0-1_centos6 asterisk11 3.7 k
asterisk-configs x86_64 11.9.0-1_centos6 asterisk11 190 k
Installing for dependencies:
asterisk-core x86_64 11.9.0-1_centos6 asterisk11 8.2 M
asterisk-dahdi x86_64 11.9.0-1_centos6 asterisk11 886 k
asterisk-doc x86_64 11.9.0-1_centos6 asterisk11 13 k
asterisk-sounds-core-en-gsm noarch 1.4.24-1_centos6 asterisk-current 2.1 M
asterisk-voicemail x86_64 11.9.0-1_centos6 asterisk11 269 k
asterisknow-version noarch 3.0.1-2_centos6 asterisk-current 6.3 k
dahdi-firmware noarch 2.0.6-1_centos6 digium-current 2.4 k
dahdi-firmware-hx8 noarch 2.06-1_centos6 digium-current 28 k
dahdi-firmware-oct6114-032 noarch 1.05.01-1_centos6 digium-current 156 k
dahdi-firmware-oct6114-064 noarch 1.05.01-1_centos6 digium-current 155 k
dahdi-firmware-oct6114-128 noarch 1.05.01-1_centos6 digium-current 155 k
dahdi-firmware-oct6114-256 noarch 1.05.01-1_centos6 digium-current 161 k
dahdi-firmware-tc400m noarch MR6.12-1_centos6 digium-current 1.7 M
dahdi-firmware-te133 noarch 6f0017-1_centos6 digium-current 220 k
dahdi-firmware-te134 noarch 6f0017-1_centos6 digium-current 175 k
dahdi-firmware-te820 noarch 1.76-1_centos6 digium-current 53 k
dahdi-firmware-vpmoct032 noarch 1.12.0-1_centos6 digium-current 436 k
dahdi-linux x86_64 2.9.0-1_centos6 asterisk-current 2.5 k
iksemel x86_64 1.4-1_centos6 asterisk-current 84 k
kmod-dahdi-linux x86_64 2.9.0-1_centos6.2.6.32_279.14.1.el6.x86_64 asterisk-current 4.2 M
kmod-dahdi-linux-fwload-vpmadt032 x86_64 2.9.0-1_centos6.2.6.32_279.14.1.el6.x86_64 digium-current 129 k
libopenr2 x86_64 1.2.0-1_centos6 asterisk-current 101 k
libpri x86_64 1.4.14-1_centos6 asterisk-current 440 k
libsrtp x86_64 1.4.4-4.20101004cvs.el6 asterisk-current 273 k
libss7 x86_64 1.0.2-1_centos6 asterisk-current 53 k
libtonezone x86_64 2.9.0.1-1_centos6 asterisk-current 18 k
Transaction Summary
=====================================================================================================================================================
Install 28 Package(s)
So far so good but perl was yet to come.
perl-DBD-SQLite-1.27-3.el6.x86_64, perl-IO-Interface-1.05-2.el6.x86_64, perl-IO-Socket-SSL-1.44-1.el6.rfx.noarch, perl-File-ReadBackwards-1.04-7.el6.noarch, perl-Exporter-Tiny-0.036-2.el6.noarch, perl-IO-Socket-INET6-2.57-2.el6.rfx.noarch, perl-Carp-Always-0.09-2.el6.noarch, perl-Text-CSV-1.12-1.el5.rf.noarch, perl-IO-Interface-1.05-2.el6.x86_64
The original sail 4 list was
perl-Apache-Htpasswd-1.8-1.el5.rf.noarch.rpm, perl-DBD-SQLite-1.14-1.el5.rf.i386.rpm, perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm, perl-IO-Interface-1.04-1.el5.rf.i386.rpm, perl-IO-Socket-Multicast-1.12-1.rhel5.i386.perl-Text-CSV-1.12-1.el5.rf.noarch.rpm
Suspect the missing perl-IO-Interface-Multicast package was causing some issues.
The sark webpage failed to load with an error on line 32 of responder.pl and line 88 of the /opt/sark/etc/http/htttp.conf file ( LoadModule imagemap_module modules/mod_imagemap.so)
The webpage is now up. No further testing past this point, as yet.
-
HI Gordon
Good work. We haven't done anything with SME9 yet. We're just finishing up sail-4.0.1 which has a lot of new stuff in it. SME9 might be a good test vehicle for that release. Perl-DBD-SQLite is only used by a single module now. It would not be a massive drama to lose it but if we can take it forwards then we will. The perl Multicast support is important because the SIP multicast listener is written in perl so I'll need to take a look at the implications. It could be re-written using something other than perl but I'd be reluctant to do it if we don't need to.
Thanks for the hard work
Best
S