[asterisk-users] quadbri and bristuff : no answer to isdn setup
message
Grégory Dubois
duboisgreg at gmail.com
Mon May 14 02:12:58 MST 2007
Hi,
I'm trying to install a Junghanns quadbri for a few days but i stay with an
asterisk error. (Everyone is busy/congested )
Asterisk is working with a Fritz PCbut from one year and now i want to add
the quadbri.
The quadbri card has been configured in NT mode and with no 100 ohms S/T
termoination. (I'm not sure if the S/T parameter is correct)
I have installed the bristuff package 0.4.0-test with :
Zaptel-1.4.1
Libpri-1.4.0
Asterisk-1.4.2
The three package has been patched thank's bristuff package before
compiling.
When i try to use the channel ZAP/g1 my isdn equipment refuse to answer the
SETUP message when i make :
Exten => 1,Dial(ZAP/g1/069304993,20,rt)
Thank's for your help.
Here's my asterisk debug console log and my config :
*CLI> dial 1
== Console is full duplex
-- Executing [1 at local:1] Set("OSS/dsp", "CALLERID(all)="069670335"") in
new stack
-- Executing [1 at local:2] Dial("OSS/dsp", "ZAP/g1/069671586|25|rt") in
new stack
1 -- Making new call for cr 134
-- Requested transfer capability: 0x00 - SPEECH
1 nintranet*CLI>
> [ 02 ff 03 08 01 06 05 04 03 80 90 a3 18 01 89 6c 0a 21 81 36 39 36 37 30
33 33 35 70 0a c1 30 36 39 36 37 31 35 38 36 a1 7d 02 91 81 ]
1 nintranet*CLI>
> Unnumbered frame:
1 > SAPI: 00 C/R: 1 EA: 0
> TEI: 127 EA: 1
1 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]
> 41 bytes of data
1 > Protocol Discriminator: Q.931 (8) len=41
1 > Call Ref: len= 1 (reference 6/0x6) (Originator)
1 > Message type: SETUP (5)
1 > [04 03 80 90 a3]
1 > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer
capability: Speech (0)
1 > Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)
1 > Ext: 1 User information layer 1: A-Law
(35)
1 > [18 01 89]I>
1 > Channel ID (len= 3) [ Ext: 1 IntID: Implicit Other Spare: 0
Exclusive Dchan: 0
1 > ChanSel: B1 channel
1 ]
1 > [6c 0a 21 81 36 39 36 37 30 33 33 35]
1 > Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
1 > Presentation: Presentation permitted, user
number passed network screening (1) '69670335' ]
1 > [70 0a c1 30 36 39 36 37 31 35 38 36]
1 > Called Number (len=12) [ Ext: 1 TON: Subscriber Number (4) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '069671586' ]
1 > [a1]net*CLI>
1 > Sending Complete (len= 1)
1 > [7d 02 91 81]
1 > High-layer compatibilty (len= 4) [ 1 0x91 1 0x81 1 ]
1 q931.c:3628 q931_setup: call 134 on channel 1 enters state 1 (Call
Initiated)
-- Called g1/069671586
1 No response to SETUP message
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Initiated, peerstate
Overlap sending
-- Channel 0/1, span 1 got hangup, cause 18
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:3222 zt_setoption: Set option
AUDIO MODE, value: ON(1) on Zap/1-1
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:2674 zt_hangup: Hangup: channel:
1 index = 0, normal = 12, callwait = -1, thirdcall = -1
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:2815 zt_hangup: Already hungup...
Calling hangup once, and clearing call
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Call Initiated, peerstate
Overlap sending
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Initiated, peerstate
Overlap sending
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:1650 zt_disable_ec: disabled echo
cancellation on channel 1
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:3139 zt_setoption: Set option TDD
MODE, value: OFF(0) on Zap/1-1
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:1583 update_conf: Updated
conferencing on 1, with 0 conference users
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:3218 zt_setoption: Set option
AUDIO MODE, value: OFF(0) on Zap/1-1
[May 14 11:10:49] DEBUG[25375]: chan_zap.c:1650 zt_disable_ec: disabled echo
cancellation on channel 1
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'OSS/dsp' status is 'CHANUNAVAIL'
cat /proc/zap/*
Span 1: ztqoz/2/1 "quadBRI PCI ISDN Card 1 Span 1 [NT] (cardID 7) Layer 1
DEACTIVATED (G2)" AMI/CCS
1 ztqoz2/1/1 Clear (In use)
2 ztqoz2/1/2 Clear (In use)
3 ztqoz2/1/3 HDLCFCS (In use)
Span 2: ztqoz/2/2 "quadBRI PCI ISDN Card 1 Span 2 [NT] (cardID 7) Layer 1
DEACTIVATED (G2)" AMI/CCS
4 ztqoz2/2/1 Clear (In use)
5 ztqoz2/2/2 Clear (In use)
6 ztqoz2/2/3 HDLCFCS (In use)
Span 3: ztqoz/2/3 "quadBRI PCI ISDN Card 1 Span 3 [NT] (cardID 7) Layer 1
DEACTIVATED (G2)" AMI/CCS
7 ztqoz2/3/1 Clear (In use)
8 ztqoz2/3/2 Clear (In use)
9 ztqoz2/3/3 HDLCFCS (In use)
Span 4: ztqoz/2/4 "quadBRI PCI ISDN Card 1 Span 4 [NT] (cardID 7) Layer 1
DEACTIVATED (G2)" AMI/CCS
10 ztqoz2/4/1 Clear (In use)
11 ztqoz2/4/2 Clear (In use)
12 ztqoz2/4/3 HDLCFCS (In use)
Lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub
Interface (rev 02)
Subsystem: Dell Unknown device 019d
Flags: bus master, fast devsel, latency 0
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] Vendor Specific Information
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated
Graphics Controller (rev 02) (prog-if 00 [VGA])
Subsystem: Dell Dimension 3000
Flags: fast devsel, IRQ 20
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Memory at feb80000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ed98 [size=8]
Capabilities: [d0] Power Management version 1
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at ff80 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at ff60 [size=32]
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at ff20 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI
Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 0, IRQ 22
Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fea00000-feafffff
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface
Bridge (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at ffa0 [size=16]
Memory at feb7fc00 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller
(rev 02)
Subsystem: Dell Unknown device 019d
Flags: medium devsel, IRQ 17
I/O ports at eda0 [size=32]
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at ee00 [size=256]
I/O ports at edc0 [size=64]
Memory at feb7fa00 (32-bit, non-prefetchable) [size=512]
Memory at feb7f900 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
01:00.0 ISDN controller: Cologne Chip Designs GmbH Unknown device 08b4 (rev
01)
Subsystem: Cologne Chip Designs GmbH Unknown device b550
Flags: medium devsel, IRQ 23
I/O ports at df18 [size=8]
Memory at feafe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
01:01.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH
Fritz!PCI v2.0 ISDN (rev 02)
Subsystem: AVM Audiovisuelles MKTG & Computer System GmbH Fritz!PCI
v2.0 ISDN
Flags: medium devsel, IRQ 19
Memory at feafdfe0 (32-bit, non-prefetchable) [size=32]
I/O ports at df20 [size=32]
Capabilities: [40] Power Management version 2
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet
Controller (rev 02)
Subsystem: Dell Unknown device 019d
Flags: bus master, medium devsel, latency 64, IRQ 18
Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at df40 [size=64]
Capabilities: [dc] Power Management version 2
/etc/zaptel.conf
loadzone=be
defaultzone=be
span=1,1,3,ccs,ami
span=2,2,3,ccs,ami
span=3,3,3,ccs,ami
span=4,4,3,ccs,ami
bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
bchan=10,11
dchan=12
/etc/asterisk/zapata.conf
[channels]
language=fr
context = zap-in-day
switchtype=euroisdn
pridialplan=local
prilocaldialplan=dynamic
internationalprefix = 00
nationalprefix = 0
priindication = passthrough
usecallerid=yes
echocancel=yes
signalling = bri_net_ptmp
group = 1
channel => 1-2
group = 2
channel => 4-5
group = 3
channel => 7-8
group = 4
channel => 10-11
lsmod | grep zap
qozap 27296 12
zaptel 183076 30 qozap,zttranscode
crc_ccitt 2369 1 zaptel
ztcfg -vv
Zaptel Version: 1.4.1
Echo Canceller: MG2
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 399-533 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: D-channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: D-channel (Default) (Slaves: 12)
12 channels configured.
More information about the asterisk-users
mailing list