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

Marco Parmeggiani marcopar at inwind.it
Wed May 25 09:54:40 MST 2005


Hi, i've downloaded/compiled/installed the bristuffed asterisk
Asterisk 1.0.7-BRIstuffed-0.2.0-RC8a
and i'm using it with an hfc card. It runs on a debian 3.1 sarge machine
with kernel 2.6.11. Asterisk works well if i configure the card using
isdn4linux.

I'm having problems dialing out (not tried the input yet).

This is the output from asterisk:
-- Accepting AUTHENTICATED call from 192.168.0.5, requested format = 4,
actual format = 4
     -- Executing Dial("IAX2/11 at 11/1", "Zap/g1/3*******") in new stack
     -- Requested transfer capability: 0x00 - SPEECH
     -- Called g1/3**********
     -- Channel 0/1, span 1 got hangup
May 25 11:11:41 WARNING[18260]: app_dial.c:412 wait_for_answer: Unable
to forward voice
     -- Hungup 'Zap/1-1'
   == No one is available to answer at this time
     -- Executing Answer("IAX2/11 at 11/1", "") in new stack
     -- Executing Playtones("IAX2/11 at 11/1", "congestion") in new stack
     -- Executing Congestion("IAX2/11 at 11/1", "") in new stack
   == Spawn extension (esterni, 3*******, 4) exited non-zero on
'IAX2/11 at 11/1'
     -- Executing Goto("IAX2/11 at 11/1", "default|h|1") in new stack
     -- Goto (default,h,1)
     -- Executing Hangup("IAX2/11 at 11/1", "") in new stack
   == Spawn extension (default, h, 1) exited non-zero on 'IAX2/11 at 11/1'
     -- Hungup 'IAX2/11 at 11/1'


this is the message i get in the syslog (a lot of these messages):
zaphfc: empty HDLC frame or bad CRC received (framelen = 5, stat = 0xff,
card = 0).

this is the zaptel.conf:
loadzone=it
defaultzone=it
span=1,1,3,ccs,ami
bchan=1-2
dchan=3

this is the zapata.conf:
group = 1
context=default
signalling = bri_net_ptmp
channel => 1-2

this is the modules.conf:
[modules]
autoload=yes
noload => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
noload => app_intercom.so
load => res_features.so
load => chan_modem.so
load => res_musiconhold.so
load => chan_alsa.so
noload => chan_oss.so
load => chan_zap.so
[global]
chan_modem.so=yes
chan_zap.so=yes

this is the output from the module insertion:
Zapata Telephony Interface Registered on major 196
PCI: Enabling device 0000:00:06.0 (0000 -> 0003)
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 185
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd08eaf00 fifo
0xcd248000(0xd248000) IRQ 185 HZ 1000
zaphfc: Card 0 configured for TE mode
zaphfc: 1 hfc-pci card(s) in this box.

this is the ztcfg -vvv:
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.




Thanks in advance
ciao




More information about the asterisk-users mailing list