[asterisk-users] asterisk and telewell isdn hfc problem

Giedrius Augys voipas at gmail.com
Sun Aug 12 02:00:45 CDT 2007


Hi,
 I have debian etch 4.0 machine (2.6.18) with two TW-ISDN PCI (Hfc) cards. I
use bristuff-0.3.0-PRE-1y-e (asterisk-1.2.17,libpri-1.2.4,zaptel-1.2.16). I
also have patched zaphfc with zaphfc_0.4.0-test1_florz-13.diff.gz   (I load
module: insmod /usr/src/bristuff-0.3.0-PRE-1y-e/zaphfc/zaphfc.ko modes=1
debug=1).   So i want to test two cards and make loop between them. So one
card would be NT, another TE. My configurations:

/etc/zaptel.conf:
loadzone=lt
defaultzone=lt
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
span=2,0,3,ccs,ami
bchan=4-5
dchan=6

/etc/asterisk/zapata.conf
[channels]

switchtype = euroisdn
; p2mp NT mode
signalling = bri_net_ptmp

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

immediate=yes
group = 1
context=from-internal
channel => 1-2

signalling = bri_cpe_ptmp
group = 2
context=from-internal
channel => 4-5


So I get this from asterisk logs:

Aug 12 03:08:23 DEBUG[2997] chan_sip.c: build_route: Contact hop:
<sip:100 at 192.168.0.1
>
Aug 12 03:08:23 VERBOSE[3046] logger.c:     -- Executing
Dial("SIP/100-081c6668", "ZAP/g1/52040004|60") in new stack
Aug 12 03:08:23 VERBOSE[3046] logger.c:     -- Requested transfer
capability: 0x00 - SPEECH
Aug 12 03:08:23 VERBOSE[3046] logger.c:     -- Called g1/52040004
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: Set option AUDIO MODE, value: ON(1)
on Zap/1-1
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: Hangup: channel: 1 index = 0, normal
= 17, callwait = -1, thirdcall = -1
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: Not yet hungup...  Calling hangup
once with icause, and clearing call
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: disabled echo cancellation on
channel 1
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: Set option TDD MODE, value: OFF(0)
on Zap/1-1
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: Updated conferencing on 1, with 0
conference users
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: Set option AUDIO MODE, value: OFF(0)
on Zap/1-1
Aug 12 03:08:25 DEBUG[3046] chan_zap.c: disabled echo cancellation on
channel 1
Aug 12 03:08:25 VERBOSE[3046] logger.c:     -- Hungup 'Zap/1-1'
Aug 12 03:08:25 DEBUG[3046] app_dial.c: Exiting with DIALSTATUS=CANCEL.



And kernel log:
Aug 12 11:01:25 pbx kernel: zaphfc: Card 0 configured for NT mode
Aug 12 11:01:25 pbx kernel: zaphfc: Card 0 configured for master mode
Aug 12 11:01:25 pbx kernel: ACPI: PCI Interrupt 0000:04:01.0[A] -> GSI 17
(level, low) -> IRQ 177
Aug 12 11:01:25 pbx kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured at
mem 0xe01faf00 fifo 0xdaef0000(0x1aef0000) IRQ 177 HZ 250
Aug 12 11:01:25 pbx kernel: zaphfc: Card 1 configured for TE mode
Aug 12 11:01:25 pbx kernel: zaphfc: Card 1 configured for master mode
Aug 12 11:01:25 pbx kernel: zaphfc: 2 hfc-pci card(s) in this box.
Aug 12 11:01:25 pbx kernel: Registered tone zone 22 (Lithuania)


Aug 12 03:08:25 pbx kernel: zaphfc[1]: b channel buffer underrun: 1, 0
Aug 12 03:08:25 pbx kernel: zaphfc[1]: b channel buffer overflow: 24, 24


Any ideas , how to fix this problem? Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070812/a9cec908/attachment.htm 


More information about the asterisk-users mailing list