[asterisk-users] zaptel upgrade trouble (1.2.10 -> 1.2.20.1)

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Oct 2 06:01:46 CDT 2007


On Tue, Oct 02, 2007 at 12:47:55PM +0200, Artifex Maximus wrote:
> On 10/2/07, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> > On Tue, Oct 02, 2007 at 10:06:06AM +0200, Artifex Maximus wrote:
> > > Hello!
> > >
> > > I have been trying upgrade zaptel from 1.2.10 to 1.2.20.1. I am using
> > > asterisk 1.2.10 with one TDM2400P (all 6 module in use) and one
> > > TE405P. When I upgrade to 1.2.20.1 the order of cards mess up and
> > > therefore zaptel.conf is unusable and gives error. Why is it happen
> > > and what do I need to change in zaptel.conf?
> > >
> > > now zaptel.conf is:
> > > loadzone=hu
> > > defaultzone=hu
> > > # GSM
> > > fxsks=1-4
> > > # FAX
> > > fxoks=5-8
> > > # EXT
> > > fxoks=9-24
> > > # PRI
> > > span=2,1,0,ccs,hdb3,crc4
> > > bchan=25-39
> > > dchan=40
> > > bchan=41-55
> > >
> > > zttool shows that my TDM is the first device and T4XXP is from second
> > > to fifth. Nice. After zaptel upgrade TDM is on the fifth position. And
> > > channels in zaptel.conf were messed up of course because 1-24 is not
> > > for TDM.
> >
> > Was there also a change in the kernel ?
> >
> > In the value of MODULES in /etc/{sysconfig,default}/zaptel ?
> Thanks for your answer. Same kernel (2.6.11) and no change in zaptel:
> 
> MODULES="$MODULES wct4xxp"      # TE405P - Quad Span T1/E1 Card (5v version)
> MODULES="$MODULES wctdm24xxp"   # TDM2400P - Modular FXS/FXO interface
> (1-24 ports)
> 
> Might MODULES order count? If so why that wasn't count with zaptel 1.2.10?

It counts if the modules weren't loaded earlier on boot time, and if you
use the proper init.d script.

> 
> I have unload zaptel, remove directory /lib/modules/<kernel>/misc and
> run "depmod -a" before upgrading. Check and replace /etc/init.d/zaptel
> with the new one. And reboot finally.

-- 
               Tzafrir Cohen       
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list