Giordano Grandis
2005-Jun-27 03:15 UTC
R: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received
I have the same problem in a box with 2 HFC-PCI, but i already remove the row in modprobe.conf and load the module manually. Both cards works fine Any idea ? Giordano -----Messaggio originale----- Da: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Per conto di Julian J. M. Inviato: luned? 27 giugno 2005 12.04 A: Asterisk Users Mailing List - Non-Commercial Discussion Oggetto: Re: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received I had a similar problem with a recent install: * TDM11B * 1 Port HFC Card I got that messages about HDLC Framing errors. It ended up being the way I loaded the required kernel modules. 1) Remove or comment "install" lines in /etc/modprobe.conf (or modules.conf), regarding the kernel modules for the TDM and the HFC Card. They usually launch ztcfg. 2) In the init script, load both modules manually (modprobe wcfxs zaphfc) 3) Issue the ztcfg command 4) Load asterisk That way it worked without problems. Julian J. M. On 6/27/05, David Masure <d.masure@ucr.fr> wrote:> > > Hi all, > > I'm using asterisk 1.0.6 with bristuff-0.2.0-rc7k. I've already set > up 3 boxes with the same config, but I'm facing something strange with > the fourth one : > > In my messages log, I've got thoses lines : > > 0xff). > kernel: zaphfc: empty HDLC frame or bad CRC received (framelen = 13, > stat = 0xff). > kernel: zaphfc: empty HDLC frame or bad CRC received (framelen = 11, > stat = 0xff). > kernel: zaphfc: empty HDLC frame or bad CRC received (framelen = 6, > stat = 0xff). > > This problem causes asterisk to crash... The only thing to do is a > nice reboot :-) > > I read some informations about it in the list telling that's because > of a wrong signalling type... But as, I am using the same config > everywhere, I don't believe the problem is on the box ... > > Questions .... > > 1) The asterisk box is located in France...so could this be that the > telco (France Telecom) is powering it's lines with different > signalling (for example mutli point and point to point ?) > > 2) Does anyone ever face the same problem ? > > 3) Does someone know how to cope with this problem ? > > Thanks for your help ...I'm really don't know what to do ....!!! >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Ivan Ricondo
2005-Jun-27 07:20 UTC
R: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received
I have been trying to configure a similar configuration (a digium card connected to a mobile phone, in order to make calls to the mobile network, and a HFC ISDN card, connected to two lines, the 2 ISDN cards). In order to make this configuration I don't know to make the configuration (I have asterisk 1.0.6 bristuffed), when I load the digium card driver, if there is something about the isdn configuration in /etc/zaptel.conf, the computer hungs. Is there any place where I can get information about this configuration? Regards, Ivan>From: "Giordano Grandis" <g.grandis@invidea.it> >Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion ><asterisk-users@lists.digium.com> >To: "Julian J. M." <julianjm@gmail.com>,"Asterisk Users Mailing List - >Non-Commercial Discussion" <asterisk-users@lists.digium.com> >Subject: R: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received >Date: Mon, 27 Jun 2005 12:15:35 +0200 > >I have the same problem in a box with 2 HFC-PCI, but i already remove the >row in modprobe.conf and load the module manually. >Both cards works fine > >Any idea ? > > >Giordano > > >-----Messaggio originale----- >Da: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@lists.digium.com] Per conto di Julian J. M. >Inviato: luned? 27 giugno 2005 12.04 >A: Asterisk Users Mailing List - Non-Commercial Discussion >Oggetto: Re: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received > >I had a similar problem with a recent install: > * TDM11B > * 1 Port HFC Card > >I got that messages about HDLC Framing errors. It ended up being the way I >loaded the required kernel modules. > >1) Remove or comment "install" lines in /etc/modprobe.conf (or >modules.conf), regarding the kernel modules for the TDM and the HFC Card. >They usually launch ztcfg. >2) In the init script, load both modules manually (modprobe wcfxs zaphfc) >3) Issue the ztcfg command >4) Load asterisk > >That way it worked without problems. > >Julian J. M. > >On 6/27/05, David Masure <d.masure@ucr.fr> wrote: > > > > > > Hi all, > > > > I'm using asterisk 1.0.6 with bristuff-0.2.0-rc7k. I've already set > > up 3 boxes with the same config, but I'm facing something strange with > > the fourth one : > > > > In my messages log, I've got thoses lines : > > > > 0xff). > > kernel: zaphfc: empty HDLC frame or bad CRC received (framelen = 13, > > stat = 0xff). > > kernel: zaphfc: empty HDLC frame or bad CRC received (framelen = 11, > > stat = 0xff). > > kernel: zaphfc: empty HDLC frame or bad CRC received (framelen = 6, > > stat = 0xff). > > > > This problem causes asterisk to crash... The only thing to do is a > > nice reboot :-) > > > > I read some informations about it in the list telling that's because > > of a wrong signalling type... But as, I am using the same config > > everywhere, I don't believe the problem is on the box ... > > > > Questions .... > > > > 1) The asterisk box is located in France...so could this be that the > > telco (France Telecom) is powering it's lines with different > > signalling (for example mutli point and point to point ?) > > > > 2) Does anyone ever face the same problem ? > > > > 3) Does someone know how to cope with this problem ? > > > > Thanks for your help ...I'm really don't know what to do ....!!! > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Yousef Herzallah
2005-Jul-22 06:28 UTC
R: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received
I found the same problem, u have to use normal patch cable to connect from ISDN card to ISDN connector, And u r in italy I think, in italy u have to use p2mp TE mode signalling=bri_cpe_ptmp, with telcom, Good luck -----Messaggio originale----- Da: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Per conto di Marc Sutter Inviato: luned? 18 luglio 2005 18.58 A: Asterisk Users Mailing List - Non-Commercial Discussion Oggetto: Re: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received there is a list item about this issu: http://lists.digium.com/pipermail/asterisk-users/2004-November/070918.html alternatively you can try this solution on debian: # 4)Modules configuration for startup with zaphfc AND wcfxs on # debian stable 3.1 sarge kernel 2.4.27-2-386 # Here a configuration to fix this issue at boottime emacs /etc/modutils/zaptel # match it to: post-install zaphfc /sbin/ztcfg #post-install tor2 /sbin/ztcfg #post-install wcusb /sbin/ztcfg #post-install wcfxo /sbin/ztcfg #post-install ztdynamic /sbin/ztcfg #post-install ztd-eth /sbin/ztcfg #post-install wct1xxp /sbin/ztcfg #post-install wct4xxp /sbin/ztcfg #post-install wcte11xp /sbin/ztcfg alias wctdm wcfxs #post-install torisa /sbin/ztcfg #post-install wcfxs /sbin/ztcfg # end of file /etc/modutils/zaptel #Update the /etc/modules.conf file with: user@host$ update-modules user@host$ emacs /etc/modules # add a line like the following at end of the file zaphfc # and finaly reboot for testing user@host$ reboot On jeu, 2005-07-07 at 18:18 +0200, Yousef Herzallah wrote:> I have this problem > zaphfc: empty HDLC frame or bad CRC received > My configurations are > cat /proc/zaptel/1 > Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [NT] layer 1 ACTIVATED (G3)" > AMI/CCS > > 1 ZTHFC1/0/1 Clear > 2 ZTHFC1/0/2 Clear > 3 ZTHFC1/0/3 HDLCFCS > > cat /etc/zaptel.conf > # hfc-s pci a span definition > # most of the values should be bogus because we are not really zaptel > loadzone=it > defaultzone=it > span=1,1,3,ccs,ami > bchan=1-2 > dchan=3 > > cat /etc/asterisk/zapata.conf > ; > ; Zapata telephony interface > ; > ; Configuration file > > [channels] > language=it > switchtype=euroisdn > > ; p2mp TE mode > ;signalling=bri_cpe_ptmp > ; p2p TE mode > ;signalling=bri_cpe > ; p2mp NT mode > ;signalling=bri_net_ptmp > ; p2p NT mode > signalling=bri_net > > pridialplan=dynamic > prilocaldialplan=local > nationalprefix=0 > internationalprefix=00 > > echocancel=yes > echotraining=100 > echocancelwhenbridged=yes > > immediate=yes > group=1 > context=default > channel => 1 > channel => 2 > > ztcfg -vv > > Zaptel Configuration > =====================> > SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) > > Channel map: > > Channel 01: Individual Clear channel (Default) (Slaves: 01) > Channel 02: Individual Clear channel (Default) (Slaves: 02) > Channel 03: D-channel (Default) (Slaves: 03) > > 3 channels configured. > > > Help > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users