randall
2011-Jun-01 06:06 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
Hi all, After running fine for a few months now asterisk seems to hang frequently , still functioning but the DAHDI channels seem busy (users report a busy signal when calling or being called) A reboot will allow it to run for another day or maybe 2 or 3 till the problem occurs again. running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel 2.6.32-5-686 i get the following errors: pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 2 (happens on all 4 spans) and the following in dmesg: [ 9004.635323] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX DROP: BADFCS: 252 [ 9004.635332] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX: current packet[0..2]: 55 55 FC [ 9004.635340] NOTICE-xpd_bri: XBUS-00/XPD-01: Multibyte Drop: errno=-71 Channel 0/1, span 1 got hangup, cause 18 According to my searching on the web the last two weeks i understand that the first mentioned error can indicate a wrong configuration setting or buggy hardware. Have tried many options but the dahdi config as copied over from the same machine (with elastix 1.4) seems the only one that seem to work anybody has a clue? much appreciated some gory details below, HARDWARE: D201GLY2 motherboard usb:001/002 xpp_usb+ e4e4:1162 Astribank-modular FPGA-firmware DAHDI CONFIG: dahdi-channels.conf ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #00/00: BRI_TE" (MASTER) group=0,11 context=from-pstn switchtype = euroisdn signalling = bri_cpe_ptmp channel => 1-2 context = default group = 63 ; Span 2: XBUS-00/XPD-01 "Xorcom XPD #00/01: BRI_TE" group=0,12 context=from-pstn switchtype = euroisdn signalling = bri_cpe_ptmp channel => 4-5 context = default group = 63 ; Span 3: XBUS-00/XPD-02 "Xorcom XPD #00/02: BRI_TE" group=0,13 context=from-pstn switchtype = euroisdn signalling = bri_cpe_ptmp channel => 7-8 context = default group = 63 ; Span 4: XBUS-00/XPD-03 "Xorcom XPD #00/03: BRI_TE" group=0,14 context=from-pstn switchtype = euroisdn signalling = bri_cpe_ptmp channel => 10-11 context = default group = 63 chan_dahdi.conf [channels] context=from-pstn signalling=fxs_ks rxwink=300 ; Atlas seems to use long (250ms) winks pridialplan=local prilocaldialplan=local usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no faxdetect=incoming echotraining=800 rxgain=0.0 txgain=0.0 callgroup=1 pickupgroup=1 ;Uncomment these lines if you have problems with the disconection of your analog lines ;busydetect=yes ;busycount=3 immediate=no
mahesh katta
2011-Jun-01 07:04 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On Wed, Jun 1, 2011 at 11:36 AM, randall <randall at songshu.org> wrote:> Hi all, > > After running fine for a few months now asterisk seems to hang > frequently , still functioning but the DAHDI channels seem busy (users > report a busy signal when calling or being called) > > A reboot will allow it to run for another day or maybe 2 or 3 till the > problem occurs again. > > > running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel > 2.6.32-5-686 > > i get the following errors: > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span > 2 > >Your telco provider has crc on or off , that is not matching with your server cross check with them. and this problem solve 4 problems> (happens on all 4 spans) > > and the following in dmesg: > [ 9004.635323] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX DROP: BADFCS: 252 > [ 9004.635332] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX: current > packet[0..2]: 55 55 FC > [ 9004.635340] NOTICE-xpd_bri: XBUS-00/XPD-01: Multibyte Drop: errno=-71 > > > Channel 0/1, span 1 got hangup, cause 18 > > According to my searching on the web the last two weeks i understand > that the first mentioned error can indicate a wrong configuration > setting or buggy hardware. > > Have tried many options but the dahdi config as copied over from the > same machine (with elastix 1.4) seems the only one that seem to work > > anybody has a clue? > much appreciated > > some gory details below, > > HARDWARE: > D201GLY2 motherboard > usb:001/002 xpp_usb+ e4e4:1162 Astribank-modular FPGA-firmware > > > DAHDI CONFIG: > > dahdi-channels.conf > > ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #00/00: BRI_TE" (MASTER) > group=0,11 > context=from-pstn > switchtype = euroisdn > signalling = bri_cpe_ptmp > channel => 1-2 > context = default > group = 63 > > ; Span 2: XBUS-00/XPD-01 "Xorcom XPD #00/01: BRI_TE" > group=0,12 > context=from-pstn > switchtype = euroisdn > signalling = bri_cpe_ptmp > channel => 4-5 > context = default > group = 63 > > ; Span 3: XBUS-00/XPD-02 "Xorcom XPD #00/02: BRI_TE" > group=0,13 > context=from-pstn > switchtype = euroisdn > signalling = bri_cpe_ptmp > channel => 7-8 > context = default > group = 63 > > ; Span 4: XBUS-00/XPD-03 "Xorcom XPD #00/03: BRI_TE" > group=0,14 > context=from-pstn > switchtype = euroisdn > signalling = bri_cpe_ptmp > channel => 10-11 > context = default > group = 63 > > > chan_dahdi.conf > > [channels] > context=from-pstn > signalling=fxs_ks > rxwink=300 ; Atlas seems to use long (250ms) winks > pridialplan=local > prilocaldialplan=local > usecallerid=yes > hidecallerid=no > callwaiting=yes > usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > canpark=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=no > faxdetect=incoming > echotraining=800 > rxgain=0.0 > txgain=0.0 > callgroup=1 > pickupgroup=1 > ;Uncomment these lines if you have problems with the disconection of > your analog lines > ;busydetect=yes > ;busycount=3 > immediate=no > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110601/d1abf2fa/attachment.htm>
randall
2011-Jun-01 07:37 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On 06/01/2011 09:04 AM, mahesh katta wrote:> > > On Wed, Jun 1, 2011 at 11:36 AM, randall <randall at songshu.org > <mailto:randall at songshu.org>> wrote: > > Hi all, > > After running fine for a few months now asterisk seems to hang > frequently , still functioning but the DAHDI channels seem busy (users > report a busy signal when calling or being called) > > A reboot will allow it to run for another day or maybe 2 or 3 till the > problem occurs again. > > > running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel > 2.6.32-5-686 > > i get the following errors: > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel > of span 2 > > > Your telco provider has crc on or off , that is not matching with > your server cross check with them. > and this problem solve 4 problems > >thanks for the reply, what is crc (same as crc-4?) and where can i set this?
mahesh katta
2011-Jun-01 07:44 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On Wed, Jun 1, 2011 at 1:07 PM, randall <randall at songshu.org> wrote:> On 06/01/2011 09:04 AM, mahesh katta wrote: > > > > > > On Wed, Jun 1, 2011 at 11:36 AM, randall <randall at songshu.org > > <mailto:randall at songshu.org>> wrote: > > > > Hi all, > > > > After running fine for a few months now asterisk seems to hang > > frequently , still functioning but the DAHDI channels seem busy > (users > > report a busy signal when calling or being called) > > > > A reboot will allow it to run for another day or maybe 2 or 3 till > the > > problem occurs again. > > > > > > running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel > > 2.6.32-5-686 > > > > i get the following errors: > > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel > > of span 2 > > > > > > Your telco provider has crc on or off , that is not matching with > > your server cross check with them. > > and this problem solve 4 problems > > > > > thanks for the reply, > > what is crc (same as crc-4?) > and where can i set this? > > same crc or crc4> -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110601/78730973/attachment.htm>
randall
2011-Jun-01 08:00 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
> > i get the following errors: > > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel > > of span 2 > > > > > > Your telco provider has crc on or off , that is not matching with > > your server cross check with them. > > and this problem solve 4 problems > > > > > thanks for the reply, > > what is crc (same as crc-4?) > and where can i set this? > > same crc or crc4 > > --adding crc as follows, span=1,1,0,ccs,ami,crc, causes DAHDI to not load at all
mahesh katta
2011-Jun-01 08:07 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On Wed, Jun 1, 2011 at 1:30 PM, randall <randall at songshu.org> wrote:> > > > i get the following errors: > > > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary > D-channel > > > of span 2 > > > > > > > > > Your telco provider has crc on or off , that is not matching > with > > > your server cross check with them. > > > and this problem solve 4 problems > > > > > > > > thanks for the reply, > > > > what is crc (same as crc-4?) > > and where can i set this? > > > > same crc or crc4 > > > > -- > adding crc as follows, span=1,1,0,ccs,ami,crc, causes DAHDI to not load > at all > > span=1,1,0,ccs,ami,crc4> -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110601/744033c7/attachment.htm>
randall
2011-Jun-01 08:09 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On 06/01/2011 10:07 AM, mahesh katta wrote:> > > On Wed, Jun 1, 2011 at 1:30 PM, randall <randall at songshu.org > <mailto:randall at songshu.org>> wrote: > > > > > i get the following errors: > > > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary > D-channel > > > of span 2 > > > > > > > > > Your telco provider has crc on or off , that is not > matching with > > > your server cross check with them. > > > and this problem solve 4 problems > > > > > > > > thanks for the reply, > > > > what is crc (same as crc-4?) > > and where can i set this? > > > > same crc or crc4 > > > > -- > adding crc as follows, span=1,1,0,ccs,ami,crc, causes DAHDI to not load > at all > > span=1,1,0,ccs,ami,crc4crc4 has the same effect> > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > Best Regards, > > Mahesh Katta > *BUZZ**WORKS*Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM+91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Webhttp://www.buzzworks.com > <http://www.buzzworks.com/> > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Tzafrir Cohen
2011-Jun-01 13:41 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On Wed, Jun 01, 2011 at 08:06:02AM +0200, randall wrote:> Hi all, > > After running fine for a few months now asterisk seems to hang > frequently , still functioning but the DAHDI channels seem busy (users > report a busy signal when calling or being called) > > A reboot will allow it to run for another day or maybe 2 or 3 till the > problem occurs again. > > > running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel > 2.6.32-5-686 > > i get the following errors: > pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 2 > > (happens on all 4 spans) > > and the following in dmesg: > [ 9004.635323] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX DROP: BADFCS: 252 > [ 9004.635332] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX: current > packet[0..2]: 55 55 FC > [ 9004.635340] NOTICE-xpd_bri: XBUS-00/XPD-01: Multibyte Drop: errno=-71 > > > Channel 0/1, span 1 got hangup, cause 18Is this happening in the middle of a call? Or only a while after the call ended? -- 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
randall
2011-Jun-01 13:55 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On 06/01/2011 03:41 PM, Tzafrir Cohen wrote:> On Wed, Jun 01, 2011 at 08:06:02AM +0200, randall wrote: >> Hi all, >> >> After running fine for a few months now asterisk seems to hang >> frequently , still functioning but the DAHDI channels seem busy (users >> report a busy signal when calling or being called) >> >> A reboot will allow it to run for another day or maybe 2 or 3 till the >> problem occurs again. >> >> >> running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel >> 2.6.32-5-686 >> >> i get the following errors: >> pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 2 >> >> (happens on all 4 spans) >> >> and the following in dmesg: >> [ 9004.635323] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX DROP: BADFCS: 252 >> [ 9004.635332] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX: current >> packet[0..2]: 55 55 FC >> [ 9004.635340] NOTICE-xpd_bri: XBUS-00/XPD-01: Multibyte Drop: errno=-71 >> >> >> Channel 0/1, span 1 got hangup, cause 18 > > Is this happening in the middle of a call? Or only a while after the > call ended? >the "bad fcs" messages seem to happen random the hangup happens when a call through DAHDI is attempted, (usually after it has been working fine for a while a day or 2)
randall
2011-Jun-01 14:10 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On 06/01/2011 03:55 PM, randall wrote:> On 06/01/2011 03:41 PM, Tzafrir Cohen wrote: >> On Wed, Jun 01, 2011 at 08:06:02AM +0200, randall wrote: >>> Hi all, >>> >>> After running fine for a few months now asterisk seems to hang >>> frequently , still functioning but the DAHDI channels seem busy (users >>> report a busy signal when calling or being called) >>> >>> A reboot will allow it to run for another day or maybe 2 or 3 till the >>> problem occurs again. >>> >>> >>> running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel >>> 2.6.32-5-686 >>> >>> i get the following errors: >>> pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 2 >>> >>> (happens on all 4 spans) >>> >>> and the following in dmesg: >>> [ 9004.635323] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX DROP: BADFCS: 252 >>> [ 9004.635332] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX: current >>> packet[0..2]: 55 55 FC >>> [ 9004.635340] NOTICE-xpd_bri: XBUS-00/XPD-01: Multibyte Drop: errno=-71 >>> >>> >>> Channel 0/1, span 1 got hangup, cause 18 >> >> Is this happening in the middle of a call? Or only a while after the >> call ended? >> > > the "bad fcs" messages seem to happen randomthere seems to be a relation indeed, have seen them happen randomly quite spurious, but they indeed tend to happen a while after the call is made.> > the hangup happens when a call through DAHDI is attempted, > (usually after it has been working fine for a while a day or 2)
Tzafrir Cohen
2011-Jun-01 15:42 UTC
[asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel
On Wed, Jun 01, 2011 at 04:10:34PM +0200, randall wrote:> On 06/01/2011 03:55 PM, randall wrote: > > On 06/01/2011 03:41 PM, Tzafrir Cohen wrote: > >> On Wed, Jun 01, 2011 at 08:06:02AM +0200, randall wrote: > >>> Hi all, > >>> > >>> After running fine for a few months now asterisk seems to hang > >>> frequently , still functioning but the DAHDI channels seem busy (users > >>> report a busy signal when calling or being called) > >>> > >>> A reboot will allow it to run for another day or maybe 2 or 3 till the > >>> problem occurs again. > >>> > >>> > >>> running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel > >>> 2.6.32-5-686 > >>> > >>> i get the following errors: > >>> pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 2 > >>> > >>> (happens on all 4 spans) > >>> > >>> and the following in dmesg: > >>> [ 9004.635323] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX DROP: BADFCS: 252 > >>> [ 9004.635332] NOTICE-xpd_bri: XBUS-00/XPD-01: D-Chan RX: current > >>> packet[0..2]: 55 55 FC > >>> [ 9004.635340] NOTICE-xpd_bri: XBUS-00/XPD-01: Multibyte Drop: errno=-71 > >>> > >>> > >>> Channel 0/1, span 1 got hangup, cause 18 > >> > >> Is this happening in the middle of a call? Or only a while after the > >> call ended? > >> > > > > the "bad fcs" messages seem to happen random > there seems to be a relation indeed, have seen them happen randomly > quite spurious, but they indeed tend to happen a while after the call is > made.A while after a call is made? A while after a call is ended? Maybe the provider intentionally sets layer 1 down ("to save power")? That makes sense on PtMP, though I was not aware of this being used on PtP. -- 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