[Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received

Marc Sutter marc.sutter at xilane.ch
Mon Jul 18 09:57:40 MST 2005


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 at host$ update-modules

user at host$ emacs /etc/modules

# add a line like the following at end of the file 

zaphfc

# and finaly reboot for testing

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




More information about the asterisk-users mailing list