[asterisk-users] Terrible dahdi_test results

Mike Leddy mike at loop.com.br
Thu May 15 13:01:01 CDT 2014


Thanks for the suggestion Gareth,

The span line I'm using is:

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

Its the same as used with the TE12xP that is normally used on this
E1 line in production which is extremely stable.

I did as you suggested using:

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

After a dahdi_cfg pretty much the same results:

[May 15 17:35:24] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:35:24] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:35:32] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:35:36] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:01] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:05] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:12] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:13] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:21] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:21] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
[May 15 17:36:25] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1

Best regards,

Mike

On Thu, 2014-05-15 at 17:53 +0100, Gareth Blades wrote:
> On 15/05/14 16:28, Mike Leddy wrote:
> > Hi Russ,
> >
> > I rebooted the machine loading dahdi_dummy in /etc/modules before
> > the /etc/init.d/dahdi.
> >
> > Now dahdi_test shows a nearly perfect score:
> >
> > # dahdi_test
> > Opened pseudo dahdi interface, measuring accuracy...
> > 99.998% 99.990% 99.998% 99.996% 99.998% 99.998% 99.997% 99.997%
> > 99.998% 99.997% 99.998% 99.997% 99.998% 99.998% 99.997% 99.998%
> > 99.997% 99.997% 99.997% 99.998% 99.997% 99.998% 99.998% 99.997% ^C
> > --- Results after 24 passes ---
> > Best: 99.998% -- Worst: 99.990% -- Average: 99.997188%
> > Cummulative Accuracy (not per pass): 99.997
> >
> > When I connect a live E1 to the card it does work but I get a fair
> > number of:
> >
> > [May 15 15:10:39] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:10:42] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:10:43] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:10:43] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:10:43] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:10:45] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:01] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:01] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:06] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:12] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:12] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:12] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> > [May 15 15:11:13] NOTICE[4017] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
> >
> > Resulting in:
> >
> > [May 15 15:10:34] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:10:39] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:10:43] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:10:44] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:10:45] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:11:13] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:11:17] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> > [May 15 15:11:22] NOTICE[4017] chan_dahdi.c: PRI got event: Alarm (4) on D-channel of span 1
> >
> > Not usable in production but getting a lot closer.
> >
> > Is there anything else that can be done to improve this ?
> >
> > Best regards,
> >
> > Mike
> >
> >
> 
> Check your span= line in you configuration. If your telco is providing 
> clocking and you are set to generate it yourself then they go out of 
> sync which generally causes errors like these. If you are set to be the 
> clock master try changing it to see if it improves. It should either 
> improve or not work at all.
> 





More information about the asterisk-users mailing list