[asterisk-users] mISDN problems
Enrico Pasqualotto
enrico at pasqualotto.org
Thu Jun 21 03:34:11 CDT 2007
Hi all,
we're buildin an Asterisk box based on an Intel IXP425 board.
The board uses a Beronet BN2S0 ISDN card, mISDN 1.1.4 and asterisk 1.4.2.
hfc_multi has been patched to compile under big endian cpu, and so also
capi kernel files.
All the modules seem to load correctly (configuration was made with
misdn-init config), but when starting cha_misdn, asterisk outputs the
following lines:
P[ 1] Restarting this port.
P[ 1] Stack:0x174f10
P[ 1] empty_chan_in_stack: 1
P[ 1] $$$ CLEANUP CALLED pid:0
P[ 1] empty_chan_in_stack: 2
P[ 1] $$$ CLEANUP CALLED pid:0
P[ 1] empty_chan_in_stack: 3
P[ 1] $$$ CLEANUP CALLED pid:0
P[ 1] L1: PH L1Link Up!
P[ 0] MGMT: SSTATUS: L1_ACTIVATED
P[ 1] % GOT L2 DeActivate Info.
P[ 1] !!! Could not Get the L2 up after 3 Attemps!!!
P[ 1] % GOT L2 Activate Info.
P[ 1] % GOT L2 DeActivate Info.
P[ 1] % GOT L2 DeActivate Info.
P[ 1] % GOT L2 DeActivate Info.
P[ 1] % GOT L2 DeActivate Info.
P[ 1] % GOT L2 DeActivate Info.
P[ 1] !!! Could not Get the L2 up after 3 Attemps!!!
This error is generated by a function into asterisk package in file
channels/misdn/isdn_lib.c
misdn-init start output:
dip01:/mnt/externfs/beronet/install-misdn-mqueue/mISDN-1_1_4# misdn-init
start
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcmulti type=0x1 protocol=0x12,0x22
layermask=0x3,0xf poll=128 debug=0x88
/sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=160 dtmfthreshold=100
dmesg related output:
Modular ISDN Stack core version (1_1_4) revision ($Revision: 1.40 $)
mISDNd: kernel daemon started (current:c2c2bac0)
ISDN L1 driver version 1.20
mISDNd: test event done
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN Capi 2.0 driver file version 1.21
mISDN: HFC-multi driver Rev. 1.68
HFC-multi: card manufacturer: 'Cologne Chip AG' card name: 'HFC-2S Beronet
Card' clock: double
PCI: enabling device 0000:00:05.0 (0000 -> 0003)
HFC-2S#1: defined at IOBASE 0x1000 IRQ 28 HZ 100 leds-type 3
HFC_multi: resetting HFC with chip ID=0xc revision=1
hfcpci_probe: DIPs(0x9f) jumpers(0x1)
HFC_manager: channel 2 (0..31) data c30d0000 prim f1681 arg 00000000
HFC_manager: MGR_REGLAYER
HFC_manager: channel 2 (0..31) data c30d0000 prim f1482 arg 00000000
HFC_manager: MGR_SETSTACK
HFC_manager: channel 2 (0..31) data c30d0000 prim f4182 arg 00000000
HFC_manager: channel 6 (0..31) data c63b2800 prim f1681 arg 00000000
HFC_manager: MGR_REGLAYER
HFC_manager: channel 6 (0..31) data c63b2800 prim f1a82 arg cb150e50
HFC_manager: MGR_***STPARA
HFC_manager: channel 6 (0..31) data c63b2800 prim f1a82 arg cb150e50
HFC_manager: MGR_***STPARA
HFC_manager: channel 6 (0..31) data c63b2800 prim f1482 arg 00000000
HFC_manager: MGR_SETSTACK
1 devices registered
HFC_manager: channel 6 (0..31) data c63b2800 prim f4182 arg 00000000
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2
dtmfthreshold(100)
mISDN_dsp: DSP clocks every 160 samples. This equals 2 jiffies.
The only output that we see when interacting with a phone connected to a
PBX is a string like
0x64 0x7f 0x01
but it seems more related to layer1.
Once we have seen an error from mISDN_read, coded 22, but never have been
able to reproduce it.
The same configuration on x86 work perfectly.
Any idea?
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3557 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070621/f486a59a/attachment.bin
More information about the asterisk-users
mailing list