E1 Stability!

:smiling_imp:
I have a dual E1 card (TE210P) configured with the following zaptel.conf information:
span=1,0,0,ccs,hdb3
my system also includes a analog card (1 - 4) so the channels are 5 to 35 for the first bank and dchannel is 20 (because I have ccs hdb3 E1).
From time to time I have lost of sync: Primary D-Channel on span 2 down, which are not visible on my other system running dialogic cards and going through the same channel.

After that the TE210P card goes to a “weird” restart process:

Got I-frame while link state 2 == Primary D-Channel on span 2 up ACK received for '1' outside of window of '0' to '0', restarting == Primary D-Channel on span 2 down Jul 18 17:19:04 WARNING[10697]: chan_zap.c:2289 pri_find_dchan: No D-channels available! Using Primary channel 20 as D-channel anyway! !! Got I-frame while link state 2 == Primary D-Channel on span 2 up ACK received for '1' outside of window of '0' to '0', restarting == Primary D-Channel on span 2 down Jul 18 17:19:05 WARNING[10697]: chan_zap.c:2289 pri_find_dchan: No D-channels available! Using Primary channel 20 as D-channel anyway! !! Got I-frame while link state 2 == Primary D-Channel on span 2 up !! Got a UA, but i'm in state 1 !! Got a UA, but i'm in state 1 !! Got reject for frame 1, but we have nothing -- resetting! -- B-channel 0/1 successfully restarted on span 2 !! Got reject for frame 2, retransmitting frame 2 now, updating n_r! !! Got reject for frame 2, retransmitting frame 5 now, updating n_r! !! Got reject for frame 3, retransmitting frame 3 now, updating n_r! !! Got reject for frame 3, retransmitting frame 5 now, updating n_r! !! Got reject for frame 4, retransmitting frame 4 now, updating n_r! !! Got reject for frame 4, retransmitting frame 5 now, updating n_r! !! Got reject for frame 5, retransmitting frame 5 now, updating n_r! !! Got reject for frame 5, retransmitting frame 6 now, updating n_r! -- B-channel 0/2 successfully restarted on span 2 !! Got reject for frame 6, retransmitting frame 6 now, updating n_r! !! Got reject for frame 6, retransmitting frame 7 now, updating n_r! !! Got reject for frame 6, retransmitting frame 8 now, updating n_r! !! Got reject for frame 7, retransmitting frame 7 now, updating n_r! !! Got reject for frame 7, retransmitting frame 8 now, updating n_r! !! Got reject for frame 9, but we have nothing -- resetting! -- B-channel 0/3 successfully restarted on span 2 !! Got reject for frame 11, but we have nothing -- resetting! -- B-channel 0/4 successfully restarted on span 2 -- B-channel 0/5 successfully restarted on span 2 !! Got reject for frame 12, retransmitting frame 12 now, updating n_r! -- B-channel 0/6 successfully restarted on span 2 !! Got reject for frame 13, retransmitting frame 13 now, updating n_r! -- B-channel 0/7 successfully restarted on span 2 !! Got reject for frame 14, retransmitting frame 14 now, updating n_r! -- B-channel 0/8 successfully restarted on span 2 !! Got reject for frame 15, retransmitting frame 15 now, updating n_r! -- B-channel 0/9 successfully restarted on span 2 !! Got reject for frame 16, retransmitting frame 16 now, updating n_r! !! Got reject for frame 17, but we have nothing -- resetting! -- B-channel 0/10 successfully restarted on span 2 -- B-channel 0/11 successfully restarted on span 2 -- B-channel 0/12 successfully restarted on span 2 -- B-channel 0/13 successfully restarted on span 2 -- B-channel 0/14 successfully restarted on span 2 -- B-channel 0/15 successfully restarted on span 2 -- B-channel 0/18 successfully restarted on span 2 -- B-channel 0/19 successfully restarted on span 2 -- B-channel 0/20 successfully restarted on span 2 -- B-channel 0/21 successfully restarted on span 2 -- B-channel 0/22 successfully restarted on span 2 -- B-channel 0/23 successfully restarted on span 2 -- B-channel 0/24 successfully restarted on span 2 -- B-channel 0/25 successfully restarted on span 2 -- B-channel 0/26 successfully restarted on span 2 -- B-channel 0/27 successfully restarted on span 2 -- B-channel 0/28 successfully restarted on span 2 -- B-channel 0/29 successfully restarted on span 2 -- B-channel 0/30 successfully restarted on span 2 -- B-channel 0/31 successfully restarted on span 2
3. Then everything is OK and the system is working propely.
The big inconvenience is that calls are dropped during the lost of sync.

I’m currently running on asterisk lastest SVN and zaptel svn 1152.

I just forgot to mention that the /etc/asterisk/zapata.conf contains the following lines:

switchtype=euroisdn pridialplan=national signalling=pri_cpe

Just a couple of possibilities.

Are you sure the timing setting is correct in: span=1,0,0,ccs,hdb3 ? Could the first zero need to be a 1?

I have a PRI E1 in Argentina that looks like this: span=1,1,0,ccs,hdb3,crc4

Perhaps they gave you the wrong parameters.

I already checked the span parameters and they are ok.
If I change one of them then the line is not up at all.
I checked line parameters with 2 technicians from my telco and every thing is correct. In addition, Dialogic card with same parameters are working fine (not using Asterisk).

nicheware is right - you would want to have the spans defined like so:

span=1,1,0,ccs,hdb3,crc4

that second 1 is the timing source, and you would want to clock off the telco. having that set to 0 means that the card uses it’s own internal timing source, which can have effects similar to what you describe…

i have yet to see an instance where you set hardware to use it’s internal clock when you are connecting to an outside source. the only time you’d want to use 0 is if you had an internal device that would be synching off of that line (another PBX, or a channel bank, for instance).

Oups…
Thought 0 was Clock provided by Telco.
Thanks