Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread mahesh katta
On Wed, Jun 1, 2011 at 11:36 AM, 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
>
>
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
--
_
-- 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

Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread randall
On 06/01/2011 09:04 AM, mahesh katta wrote:
> 
> 
> On Wed, Jun 1, 2011 at 11:36 AM, 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
>  
> 
> 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?

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread mahesh katta
On Wed, Jun 1, 2011 at 1:07 PM, randall  wrote:

> On 06/01/2011 09:04 AM, mahesh katta wrote:
> >
> >
> > On Wed, Jun 1, 2011 at 11:36 AM, 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
> >
> >
> > 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
--
_
-- 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

Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread randall

> > 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

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread mahesh katta
On Wed, Jun 1, 2011 at 1:30 PM, randall  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
--
_
-- 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

Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread randall
On 06/01/2011 10:07 AM, mahesh katta wrote:
> 
> 
> On Wed, Jun 1, 2011 at 1:30 PM, randall  > 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
crc4 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
> 
> 
> 
> 
> --
> _
> -- 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


--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread Karsten Wemheuer
Hi randall,

Am Mittwoch, den 01.06.2011, 10:00 +0200 schrieb randall:
> > > 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

As I can see from Your first post, You are using BRI in
point-to-multipoint mode. On BRI lines there is nothing like CRC/CRC4
and that is the reason, why the config is not loading any more.

On a PTMP line there may be some CRC-errors from time to time, when the
provider shuts down the line, which is normal in some countries. But
this has nothing to do with Your initial problem.

Unfortunately I don't know a solution for Your problem. It may be a
hardware issue.

HTH,

Karsten



--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread Tzafrir Cohen
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?

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread randall
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)

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread randall
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.
> 
> the hangup happens when a call through DAHDI is attempted,
> (usually after it has been working fine for a while a day or 2)


--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread Tzafrir Cohen
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.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-01 Thread Steve Davies
On 1 June 2011 15:10, 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.
>>
>> the hangup happens when a call through DAHDI is attempted,
>> (usually after it has been working fine for a while a day or 2)

In my experience, FCS errors are caused by line quality issues, and
usually (not always) are in the telco's equipment. If they are only
happening occasionally, it may be a marginal, but mostly-OK signal on
the wire.

Do you also get occasional poor-quality audio on calls? The issue will
happen more when a call is being setup, or is progressing because
there are more frames being exchanged when a call is in progress.

I have also seen a bad component or dry solder on a voice card cause
this, and even a badly made ISDN cable can be part of the problem. If
none of that helps, I would ask the telco to put a trace on the line.

Hope that helps,
Steve

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-03 Thread randall
On 06/01/2011 05:42 PM, Tzafrir Cohen wrote:
> 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?

kept an eye on this and it seems to happen after a call is ended (+- 25
- 30 seconds) and only when dialed out, but not when another call is in
progress.


> 
> Maybe the provider intentionally sets layer 1 down ("to save power")?
sounds logical with the behaviour mentioned above

> 
> That makes sense on PtMP, though I was not aware of this being used on
> PtP.
> 
i'm clueless on this, telco is China Unicom btw

--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-21 Thread randall
On 06/01/2011 06:28 PM, Steve Davies wrote:
> On 1 June 2011 15:10, 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.
>>>
>>> the hangup happens when a call through DAHDI is attempted,
>>> (usually after it has been working fine for a while a day or 2)
> 
> In my experience, FCS errors are caused by line quality issues, and
> usually (not always) are in the telco's equipment. If they are only
> happening occasionally, it may be a marginal, but mostly-OK signal on
> the wire.
> 
> Do you also get occasional poor-quality audio on calls? The issue will
> happen more when a call is being setup, or is progressing because
> there are more frames being exchanged when a call is in progress.

audio quality seems to be fine ( e.g. had no complaints about that)

> 
> I have also seen a bad component or dry solder on a voice card cause
> this, and even a badly made ISDN cable can be part of the problem. If
> none of that helps, I would ask the telco to put a trace on the line.

would these FCS errors cause the system to become unresponsive leading
to "Channel 0/1, span 1 got hangup, cause 18" after a period of working
fine, or is this an unrelated issue?


> 
> Hope that helps,
> Steve
> 
> --
> _
> -- 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


--
_
-- 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


Re: [asterisk-users] busy hangup HDLC Bad FCS (8) on Primary D-channel

2011-06-21 Thread randall
On 06/01/2011 01:12 PM, Karsten Wemheuer wrote:
> Hi randall,
> 
> Am Mittwoch, den 01.06.2011, 10:00 +0200 schrieb randall:
>>> > 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
> 
> As I can see from Your first post, You are using BRI in
> point-to-multipoint mode. On BRI lines there is nothing like CRC/CRC4
> and that is the reason, why the config is not loading any more.
> 
> On a PTMP line there may be some CRC-errors from time to time, when the
> provider shuts down the line, which is normal in some countries. But
> this has nothing to do with Your initial problem.
> 
> Unfortunately I don't know a solution for Your problem. It may be a
> hardware issue.

is there a way to trace down the hardware causing this?


> 
> HTH,
> 
> Karsten
> 
> 
> 
> --
> _
> -- 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


--
_
-- 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