ftocc

2.2.8 & Zaptel source required for Sangoma

peteradtel
Posts: 48
Member Since:
2007-07-23

Can we please have the src 4 zaptel on the yum repository?

as i want to my Sangoma card to handle HSDLC and not zaptel
but the sangoma drivers require the /usr/src/zaptel to exist for this to happen
so it can patch zaptel & recompile it 4 me.

which tar.gz should i download for the source?
or is it somewhere on the 2.2.8 disk?

(i like to match the source up with the yum version that is installed on a yum install zaptel)

Many Thanks.



GSnover
Posts: 1408
Member Since:
2006-11-19
Get the source from Digium here:

http://downloads.digium.com/pub/zaptel/zaptel-1.2.21.tar.gz

1) yum install byacc (required by Sangoma source.

2) cd /usr/src

3) yum install kernel-devel or kernel-smp-devel depending on which you are using.

4) ln -s kernels/2.6.9-34.0.2.EL-smp-i686 linux (I am using the SMP kernel)

5) ln -s kernels/2.6.9-34.0.2.EL-smp-i686 linux26 (I am using the SMP kernel)

6) wget http://downloads.digium.com/pub/zaptel/zaptel-1.2.21.tar.gz

7) tar -zxvf zaptel-1.2.21.tar.gz

8) mv zaptel-1.2.21 zaptel

And now you have everything you need, in the right place, for compiling Wanpipe from source except Wanpipe - need to get that from Sangoma here:

ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.2.1.tgz

9) wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.2.1.tgz

10) tar -zxvf wanpipe-3.2.1.tgz

11) cd wanpipe-3.2.1

12) ./Setup install

Greg



peteradtel
Posts: 48
Member Since:
2007-07-23
Many Thanks, What's the Deal with Oslec?

Many Thanks, What's the Deal with Oslec?

I have this when i do a YUM Update
Error: Missing Dependency: oslec is needed by package zaptel-modules
(see below)

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for comps to pack into transaction set.
comps-4.5CENTOS-0.2007050 100% |=========================| 2.3 kB 00:00
---> Package comps.i386 2:4.5CENTOS-0.20070506 set to be updated
---> Downloading header for zaptel to pack into transaction set.
zaptel-1.2.21-2.i686.rpm 100% |=========================| 34 kB 00:00
---> Package zaptel.i686 0:1.2.21-2 set to be updated
---> Downloading header for zaptel-modules to pack into transaction set.
zaptel-modules-1.2.21-2.2 100% |=========================| 26 kB 00:00
---> Package zaptel-modules.i686 0:1.2.21-2.2.6.9_34.0.2.ELsmp set to be updated
--> Running transaction check
--> Processing Dependency: oslec for package: zaptel-modules
--> Finished Dependency Resolution
Error: Missing Dependency: oslec is needed by package zaptel-modules



GSnover
Posts: 1408
Member Since:
2006-11-19
Haven't seen that message...

We only have one a101d - I always use the a101's and just use Mark-2 + Agressive Software EC - The machine that has the a101d is REALLY busy - I probably won't upgrade it this year! Maybe someone else has seen this aspect?

Greg



peteradtel
Posts: 48
Member Since:
2007-07-23
That would be me

That would be me
Will be putting in into a multi-national production environment monday morning.

But need to resolve this oslec thingo problem.

Should i just ignore it 4 now, if so what's the command to do a yum update without updating zaptel
or
should i do a yum remove zaptel* --nodeps

and then compile from code as discussed above?



GSnover
Posts: 1408
Member Since:
2006-11-19
You got me...

I just got into the habit of compiling from source when we used the Sangoma cards - I have never even tried the Packaged version, because the first time that I needed to install one, there was no package for the card I was trying - the a101d - Before I knew about Mark-2 + Aggressive, I was having hellacious problems with Echo, and so was trying a HWEC card, which at the time had no package.

Best I can offer is I will throw an a101d in a SC-440 tomorrow (it's at the office) and try to compile from source with that one and see if I see the errors you are seeing - maybe someone can do it before then, but if not, I will post my results tomorrow - but the plain old a101 I did this morning didn't throw this message.

Greg



majamer
Posts: 171
Member Since:
2007-08-29
I'm getting the same OSLEC

I'm getting the same OSLEC error with a TDM800P card. No Sangoma hardware.

--

Thank you in advance,
Martha Amer



hongbo
Posts: 32
Member Since:
2007-07-03
Missing Dependency: oslec is needed by package zaptel-modules

I have TDM400P card, and I also get this error: Missing Dependency: oslec is needed by package zaptel-modules. Where is the oslec rpm ?

Hongbo



kspare
Posts: 605
Member Since:
2007-02-16
guys I downloaded the zaptel

guys I downloaded the zaptel drivers from digium and compiled them from stock as well.

Once you do this you can update the wan drivers etc, but you will have to run the sangoma fix to get the cards to boot again properly.



kspare
Posts: 605
Member Since:
2007-02-16
cd /usr/src wget

cd /usr/src
wget http://downloads.digium.com/pub/zaptel/zaptel-1.2.21.tar.gz
tar -zxvf zaptel-1.2.21.tar.gz
mv zaptel-1.2.21 zaptel
cd zaptel
make clean
make
make install

wget ftp://ftp.sangoma.com/linux/RPMS/scripts/install_init.sh
chmod +x install_init.sh
./install_init.sh

setup-sangoma

and that should do it...i'm pretty tired so I may have missed a step, but thats the jist
of what I just went though.



jfinstrom
Posts: 1287
Member Since:
2007-03-07
trixbox is built in such a

trixbox is built in such a way that the above will break it, You should file a bug report, I remember reading sangoma has sent over the packages to the tb team and sangoma should install with like 3 commands in the shell....



kspare
Posts: 605
Member Since:
2007-02-16
It should. This oslec isn't

It should. This oslec isn't a sangoma problem it's a zaptel problem. I still used all the wanpipe drivers from yum, but zaptel is broken in yum if you are trying to update.



kerryg
Posts: 6449
Member Since:
2006-05-31
Andrew was messing with the

Andrew was messing with the repo last night and uploaded the wrong file. The repo will be fixed shortly.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



GSnover
Posts: 1408
Member Since:
2006-11-19
Just Checked - It's fixed

10:06 am M.S.T.

Thanks!

Greg



os123
Posts: 12
Member Since:
2006-06-01
Whats fixed? I still have

Whats fixed?
I still have major problems with Zaptel on most of my systems when updating!
Even on 2.2.8 Asterisk breaks and can not start.



GSnover
Posts: 1408
Member Since:
2006-11-19
Older systems will need the Zaptel fix and then

yum update to get current.

2.2.8 machines don't need any patches as it sits right now.

Zaptel fix for older machines is here:

http://www.trixbox.org/wiki/zaptel-not-loading-2-2-x

What specific problems are you having?

Greg



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.