Hi All
I had a little trouble switching over from a T1 Flexgrow line to a PRI T1 line. This was using a Digium card.
This is the error:
Jun 17 16:01:32 VERBOSE[29436] logger.c: == Primary D-Channel on span 1 down
Jun 17 16:01:32 WARNING[29436] chan_zap.c: No D-channels available! Using Primary channel 24 as D-channel anyway!
Jun 17 16:01:32 VERBOSE[29436] logger.c: == Primary D-Channel on span 1 up
Jun 17 16:01:40 VERBOSE[29436] logger.c: !! Not good - head of queue has not been transmitted yet
Jun 17 16:01:41 VERBOSE[29436] logger.c: == Primary D-Channel on span 1 down
Jun 17 16:01:41 WARNING[29436] chan_zap.c: No D-channels available! Using Primary channel 24 as D-channel anyway!
Jun 17 16:01:41 VERBOSE[29436] logger.c: == Primary D-Channel on span 1 up
Jun 17 16:01:50 VERBOSE[29436] logger.c: !! Not good - head of queue has not been transmitted yet
Jun 17 16:01:51 VERBOSE[29436] logger.c: == Primary D-Channel on span 1 down
Jun 17 16:01:51 WARNING[29436] chan_zap.c: No D-channels available! Using Primary channel 24 as D-channel anyway!
the D channel was going up and down.
I discovered that the cause of the issue was the order in which the zaptel.conf file had the loadzone and defaultzone listed.
This is the correct order:
/etc/zaptel.conf
loadzone=us
defaultzone=us
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
To recreate the errors, place the loadzone and defaultzone lines at the bottom of the other lines.
The second thing I noticed (in my case) was that the PRI requires the local area code to prefix a local number. The flexgrow does not require this.
After googling the first issue, I did not find a solution, so I hope this helps someone.
Jonathan Galpin