[Asterisk-Users] Nasty little incident ...

Rich Adamson radamson at routers.com
Wed Jun 15 09:01:57 MST 2005


> >>We have a te410p, with the following connections:
> >>
> >>span 1 connected to a 32 Channel EuroISDN
> >>span 2 connected to a card in a legacy pbx (Meridian)
> >>span 3 connected to a 10 Channel EuroISDN
> >>span 4 connected to a card in a legacy pbx (Meridian)
> >>
> >>We have no need for the meridian now, and decided to turn it off. I did 
> >>not change the zaptel.conf settings, nor the zapata.conf settings.
> >>
> >>When the meridian was turned off, * would no longer allow any outbound 
> >>or inbound calls through spans 1 and 3 (although these are connected to 
> >>the pstn). When I turned the meridian back on - in a hurry I might add 
> >>;) (had no time to play with configurations) and restarted *, then 
> >>everything was ok again ...
> >>
> >>Should I comment out span 2 and 4, run a ztcfg, unplug the cables in 2 
> >>and 4, and then turn off the meridian ?
> >>
> >>Julian.
> >>
> >>/* zaptel.conf */
> >>
> >>span=1,1,0,ccs,hdb3,crc4
> >>bchan=1-15,17-31
> >>dchan=16
> >>
> >>span=2,0,0,ccs,hdb3,crc4
> >>bchan=32-46,48-62
> >>dchan=47
> >>
> >>span=3,2,0,ccs,hdb3,crc4
> >>bchan=63-77,79-93
> >>dchan=78
> >>
> >>span=4,0,0,ccs,hdb3,crc4
> >>bchan=94-108,110-124
> >>dchan=109
> >>
> >>loadzone=uk
> >>defaultzone=uk
> >>    
> >>
> >
> >Just a wild guess....
> >
> >When the two meridian links disappeared, the channel numbers
> >probably changed. Instead of channels 1 through 124, you probably
> >have channels 1 through 62 and your supporting dialplan (and other
> >channel specific items) likely don't match.
> >  
> >
> 
> I thought that the definitions in the zaptel.conf and zapata.conf (see 
> below) defined the channel numbers, not the physical channels themselves 
> ? I use Dial(zap/g3) to call on the zap channels.
> 
> /* zapata.conf */
> 
> context=isdn32-b
> prilocaldialplan=national
> internationalprefix = 00
> nationalprefix = 0
> localprefix = 01702
> group=1
> signalling=pri_cpe
> switchtype=euroisdn
> channel=1-15,17-31
> 
> context=meridian-b
> group=2
> signalling=pri_net
> switchtype=euroisdn
> channel=32-46,48-62
> 
> context=isdn32-a
> pridialplan=unknown
> group=3
> signalling=pri_cpe
> switchtype=euroisdn
> channel=63-77,79-93
> 
> context=meridian-a
> group=4
> signalling=pri_net
> switchtype=euroisdn
> channel=94-108,110-124

I'm sure there are others on this list that can add to this, but
when the card drivers are loaded and ztfg run, the channels that
are discovered have to be mapped to what's in zaptel.conf one way or
another. (Moving card driver load around changes the discovered 
order and one must manually modify zaptel.conf to match.)

Then each zap channel is defined in zapata.conf, and those definitions
have to match the channel numbers resulting from the above zaptel.conf
stuff.

So, what happens when two E1s disappear? Do the avaiable channel
numbers change at the zaptel.conf level? My best guess is they do,
but I don't have E1s around to play with to prove it. So, that's
my best guess and it certainly can be an incorrect guess on my
part.





More information about the asterisk-users mailing list