Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: wifi on March 16, 2008, 04:59:26 PM
-
Hi all,
Okay, I've got SME nicely setup, and on it I have VMware running great (not really relevant). Now I would like to add a VoIP server as I have some VoIP in numbers that I would like to use.
I'm reading a lot of good stuff about SAIL, but was not able (till now) to find a good howto.
All the "good" howto's point to or dead links, links to directory's (with lot's of rpm fils) or links that look like they are really outdated.
Anyone here who "might" have a note or howto on installing SAIL on a "clean" SME 7.3 server?
I really do not want to mess up, and reinstall the SME server again.... :-/
Thank you for any info on this.
-
http://www.selintra.com/docs/cgi-bin/view/Main/DocChapter03b
This will get you a good ATrpms install
Best
S
-
Hi selintra,
I'm new to this VoIP (read linux) stuff, and installing it.
The howto is kind of confusing to me.
Do I 1st need to install the files mentioned in "Installing Asterisk 1.4"?
yum install zaptel --enablerepo=atrpms
yum install libpri --enablerepo=atrpms
yum install asterisk --enablerepo=atrpms
yum install zaptel-kmdl-`uname -r` --enablerepo=atrpms
yum install asterisk-addons --enablerepo=atrpms
And than the file mentioned in the "SARK Install"?
Download the image and do...
yum localinstall sail-2.2.1-5xx.noarch.rpm --enablerepo=base
Also. What version do I need to wget / download?
The sail-2.2.1-582 or sail-2.2.1-589 or sail-2.2.1-594.noarch.rpm
(I've got no clue what 582, 589 or 594 stands for)
Sorry for the questions. As you can see I've got no clue.
-
Don't worry, Linux can be a bit of a steep learning curve if you are new to it. Yes you need to install asterisk 1.4. The ATrpm installs will install asterisk 1.4 for you. Just follow the 1.4 installation instructions as they are written in the quickstart guide. As to SAIL, just take the latest version. The numbers (582, 589 etc) are just sequential release numbers. As a rule, grab the latest (highest) release number. Once installed, asterisk should start automatically at system boot time.
Kind Regards
S
-
Thank you again for the info.
I will give it a go later today.
-
Okay, done the install, and it looks like all is okay.
Now when I do the "PCI Setup" part as suggested in the howtoI get this.
Found following card...
01:00.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
Subsystem: Cologne Chip Designs GmbH ISDN Board
Flags: bus master, medium devsel, latency 16, IRQ 209
I/O ports at bc00 [size=8]
Memory at ff901000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 1
Requesting Load of zaphfc ...
Loaded zaphfc.
Zaptel view of card in /proc/zaptel/1
Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: Linux26) 1" (MASTER)
(by the way, there is NO initialize button when going to the PCI Cards menu. Only a Probe and STOP button are shown)
After the "Probe" I do a Commit and I get this:
Operation status report - Successfully updated System
--------------------------------------------------------------------------------
PCI Telephony Cards
There are currently no PCI Telephony cards registered on the system.
and it's showing a Probe and Stop button.
The Commit button is missing.
The PCI ISDN card that I'm using did work fine in a Debian / Asterisk setup.
Anything that I can do to get this to work in this setup?
Again. Any help appreciated!
-
which sail release do you have?
what did you do before the probe?
This doesn't look like a "fresh" install - ztdummy is already loaded - did you modprobe anything before the probe?
You won't see the "initialise" button on a new system install. It will only appear once there is something to initialise.
try re-running the probe (you can't hurt anything).
after you've done that, if it still hasn't registered the card show me the following....
output from
lsmod
output from
cat /home/e-smith/db/selintra | grep zaphfc
best
S
-
Hi selintra
re: This doesn't look like a "fresh" install - ztdummy is already loaded - did you modprobe anything before the probe?
It's a 100% fresh install. All I have on this 3 day old SME 7.3 install is VMware. I did not modprobe anything before as I have no clue how to do this :/
re: which sail release do you have?
I installed: sail-2.2.1-594.noarch.rpm
re: what did you do before the probe?
Nothing. I installed all the needed stuff according to your howto, did the Cleanup "signal-event post-upgrade; signal-event reboot" and did the "PCI Setup - you MUST perform this step the first time you bring up SAIL-2.2.1" (Open server-manager and choose "PCI Cards" from the SAIL sub-menus..... )
re: try re-running the probe (you can't hurt anything).
I did and got the same results.
re: lsmod
[root@files ~]# lsmod
Module Size Used by
ztdummy 2900 0
zaptel 197636 3 ztdummy
crc_ccitt 2241 1 zaptel
appletalk 32104 20
e100 33861 0
ipt_ULOG 9029 1
ipt_REJECT 6721 1
ppdev 9797 0
ipt_MASQUERADE 3777 1
ipt_state 1985 1
ip_nat_ftp 5041 0
ip_conntrack_ftp 72817 1 ip_nat_ftp
iptable_mangle 2881 0
iptable_nat 23549 3 ipt_MASQUERADE,ip_nat_ftp
ip_conntrack 41077 5 ipt_MASQUERADE,ipt_state,ip_nat_ftp,ip_conntrack_ftp,iptable_nat
iptable_filter 3009 1
ip_tables 17601 7 ipt_ULOG,ipt_REJECT,ipt_MASQUERADE,ipt_state,iptable_mangle,iptable_nat,iptable_filter
vmnet 39196 14
parport_pc 24833 0
parport 37513 2 ppdev,parport_pc
vmmon 111012 6
loop 17353 0
button 6737 0
battery 9029 0
ac 4932 0
uhci_hcd 31705 0
ehci_hcd 31429 0
snd_intel8x0 34025 0
snd_ac97_codec 64145 1 snd_intel8x0
snd_pcm_oss 49401 0
snd_mixer_oss 18241 1 snd_pcm_oss
snd_pcm 97865 2 snd_intel8x0,snd_pcm_oss
snd_timer 30149 1 snd_pcm
snd_page_alloc 10572 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 8897 1 snd_intel8x0
snd_rawmidi 26853 1 snd_mpu401_uart
snd_seq_device 8265 1 snd_rawmidi
snd 56357 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10017 1 snd
mii 5313 1 e100
bonding 66664 0
dm_snapshot 17413 0
dm_zero 2369 0
dm_mirror 30789 0
ext3 117577 2
jbd 72409 1 ext3
raid1 20161 2
dm_mod 67065 8 dm_snapshot,dm_zero,dm_mirror
ata_piix 15045 0
libata 111261 1 ata_piix
sd_mod 17217 0
scsi_mod 125261 2 libata,sd_mod
[root@files ~]#
re: cat /home/e-smith/db/selintra | grep zaphfc
[root@files ~]# cat /home/e-smith/db/selintra | grep zaphfc
pci:1397:2bd0:1397:2bd0=sysdev|probe|zaphfc|zzeor|EOR
zaphfc=loadmod|status|YES|zzeor|EOR
[root@files ~]#
To sum things up this is what I did to install all the needed stuff.
yum install zaptel --enablerepo=atrpms
yum install libpri --enablerepo=atrpms
yum install asterisk --enablerepo=atrpms
yum install zaptel-kmdl-`uname -r` --enablerepo=atrpms
yum install asterisk-addons --enablerepo=atrpms
cd /tmp
wget http://selintra.co.uk/sail/sail-2.2.1/sail-2.2.1-594.noarch.rpm
yum localinstall sail-2.2.1-594.noarch.rpm --enablerepo=base
signal-event post-upgrade; signal-event reboot
After this I continued with the "PCI Setup - you MUST perform this step the first time you bring up SAIL-2.2.1"
Thank you again for guiding / helping me.
-
NO problem.
Here is what is happening. To run ISDN2E cards (which you have), you need a specially modified version of asterisk. Digium themselves don't do a lot with ISDN2E because it's hardly ever used in America. The version you have installed is the "vanilla" version, i.e. without the ISDN2 support. SAIL is recognsing your card and asking Asterisk to load the correct driver for it (zaphfc) but that driver isn't present in your install.
So...
You have a couple of chioces...
You can run as you are and simply use VoIP to send and receive your phonecalls. If, on the other hand, you really want to use your ISDN2E circuit then the easiest way forward is to install the SARK .iso. This is a complete SME server installation with SAIL and asterisk already pre-installed. Send an e-mail to admin@selintra.com requesting the ISDN2E .iso and we will send you the download url so you can do a re-install from scratch. It takes about the same time as a regular SME install.
Kind Regards
S
-
That was a quick reply. Thank you for that.
I do not really need the ISDN2E, as all the phones I would like to use are IP systems.
I was a bit confused about your howto, and the "PCI Setup - you MUST perform this step the first time you bring up SAIL-2.2.1"
Anyway... Now I'm going to try and get my Voip accounts to work.
Once again thank you for your help.
PS: The ISDN card in the system is indeed an Euro version.
-
you MUST.....
You really MUST, even if you have no cards. If you don't then conference rooms won't work. This is due to the fact that Asterisk needs a timing device of some description for certain things that it does. Normally, it takes its timing from the clock on the first card on the system. If no cards are present then ZTDUMMY can be loaded to provide the timing source. SAIL PCI Cards panel will automatically load ZTDUMMY if it cant find or load any cards so everyone shuld run it at least once.
Kind Regards
S
-
Hi again.
Now I'm confused again.
So.. I MUST do the "PCI Setup .." (what I did and got the 'error' ) to get it to work.
If so, The only option I really have is to email you, and install the SARK version.
I thought as you mentioned above "You can run as you are and simply use VoIP to send and receive your phonecalls." I was okay.
Again I'm only going to use IP phones.
Sorry for all the confusion.
-
No...
You are fine. You DID run it. This output from lsmod....
...
ztdummy 2900 0
zaptel 197636 3 ztdummy
crc_ccitt 2241 1 zaptel
...
tells me that everything is OK.
:-)
Best
S
-
All understood now
If everyone was as helpful as you, the world would be so much nicer :-)
Thank you.