keywords: ip pbx voip gateway gsm gateway

× Questions about D-110P 1 Span E1/T1/J1 Interface Card

D115P with Alcatel 4400 problem

12 years 2 months ago #6389 by czelusc
HI

I have problem with connection ALCATEL 4400 to D115P (Asterisk) like:

[Nov 18 09:29:56] WARNING[3712]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Nov 18 09:30:00] WARNING[3712]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!

What can be wrong ???

Bellow my settings

I have D115P and install with driver:
[email protected]:~# modinfo /lib/modules/`uname -r`/dahdi/dahdi.ko
filename: /lib/modules/2.6.29.6-smp/dahdi/dahdi.ko
version: 2.3.0.1
alias: dahdi_dummy
license: GPL v2
description: DAHDI Telephony Interface
author: Mark Spencer <This email address is being protected from spambots. You need JavaScript enabled to view it.>
srcversion: 41F355C6A57FFC2BCFAE5FC
depends: crc-ccitt
vermagic: 2.6.29.6-smp SMP mod_unload 686
parm: debug:int
parm: deftaps:int

Asterisk 1.6.2.14 , Dahdi is from you site.

I was set all of sets like instruction on alcatel and asterisk: http://www.voip-info.org/wiki/view/Alcatel+4400+via+PRI

[email protected]:~# dahdi_scan
[1]
active=yes
alarms=OK
description=D115P/D115E (PCI/PCI-E) Card 0 Span 1
name=D115P/D115E/0/1
manufacturer=OpenVox
devicetype=OpenVox D115P/D115E
location=Board ID Switch 0
basechan=1
totchans=31
irq=28
type=digital-E1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS

chan_dahdi:

[channels]
context=default
usecallerid=no
hidecallerid=yes
restrictcid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=1.0
txgain=4.0
group=1
callgroup=1
pickupgroup=1
immediate=no




; Span 1: D115P/D115E/0/1 "D115P/D115E (PCI/PCI-E) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 RED
context=incoming
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

[email protected]:~# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Wed Nov 17 12:29:26 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: D115P/D115E/0/1 "D115P/D115E (PCI/PCI-E) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 ClockSource
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
hardhdlc=16
#dchan=16
echocanceller=none


#mg2,1-15,17-31

# Global data

loadzone = pl
defaultzone = pl

Debug from pri:
Enabled debugging on span 1
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[Nov 18 09:40:12] WARNING[3712]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[Nov 18 09:40:16] WARNING[3712]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[Nov 18 09:40:20] WARNING[3712]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
TEI=0 Sending SABME


Please Help me

i] Last edited by czelusc at 2010-11-18 17:27 [/i
12 years 2 months ago #6390 by miaolin
please paste the dahdi_cfg -vvv output.

also try cat /proc/interrupts to see if the card is generating irq, if no, check the card id switch, make sure it is zero.
12 years 2 months ago #6391 by czelusc
Card generate interrupts , below you can see this


[email protected]:/# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 129 0 0 0 IO-APIC-edge timer
1: 8 0 0 0 IO-APIC-edge i8042
4: 2 0 0 0 IO-APIC-edge
6: 5 0 0 0 IO-APIC-edge floppy
8: 0 0 0 0 IO-APIC-edge rtc0
9: 0 0 0 0 IO-APIC-fasteoi acpi
10: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb1
12: 115 0 0 0 IO-APIC-edge i8042
14: 689272 0 0 0 IO-APIC-edge ide0
15: 0 0 0 0 IO-APIC-edge ide1
28: 76654004 0 0 0 IO-APIC-fasteoi opvxd115
30: 78186 0 0 0 IO-APIC-fasteoi eth0
31: 67288 0 0 0 IO-APIC-fasteoi cciss0
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 76618731 76619855 76619897 76619658 Local timer interrupts
RES: 13292 10160 39399 9951 Rescheduling interrupts
CAL: 26 52 54 45 Function call interrupts
TLB: 1177 1110 2535 2824 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
SPU: 0 0 0 0 Spurious interrupts



DAHDI Tools Version - 2.3.0

DAHDI Version: 2.3.0.1
Echo Canceller(s):
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: none) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: none) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: none) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: none) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: none) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: none) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: none) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: none) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: none) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: none) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: none) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: none) (Slaves: 15)
Channel 16: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: none) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: none) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: none) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: none) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: none) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: none) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: none) (Slaves: 23)
Channel 24: Clear channel (Default) (Echo Canceler: none) (Slaves: 24)
Channel 25: Clear channel (Default) (Echo Canceler: none) (Slaves: 25)
Channel 26: Clear channel (Default) (Echo Canceler: none) (Slaves: 26)
Channel 27: Clear channel (Default) (Echo Canceler: none) (Slaves: 27)
Channel 28: Clear channel (Default) (Echo Canceler: none) (Slaves: 28)
Channel 29: Clear channel (Default) (Echo Canceler: none) (Slaves: 29)
Channel 30: Clear channel (Default) (Echo Canceler: none) (Slaves: 30)
Channel 31: Clear channel (Default) (Echo Canceler: none) (Slaves: 31)

31 channels to configure.

Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 3 to none
Setting echocan for channel 4 to none
Setting echocan for channel 5 to none
Setting echocan for channel 6 to none
Setting echocan for channel 7 to none
Setting echocan for channel 8 to none
Setting echocan for channel 9 to none
Setting echocan for channel 10 to none
Setting echocan for channel 11 to none
Setting echocan for channel 12 to none
Setting echocan for channel 13 to none
Setting echocan for channel 14 to none
Setting echocan for channel 15 to none
Setting echocan for channel 16 to none
Setting echocan for channel 17 to none
Setting echocan for channel 18 to none
Setting echocan for channel 19 to none
Setting echocan for channel 20 to none
Setting echocan for channel 21 to none
Setting echocan for channel 22 to none
Setting echocan for channel 23 to none
Setting echocan for channel 24 to none
Setting echocan for channel 25 to none
Setting echocan for channel 26 to none
Setting echocan for channel 27 to none
Setting echocan for channel 28 to none
Setting echocan for channel 29 to none
Setting echocan for channel 30 to none
Setting echocan for channel 31 to none
12 years 2 months ago #6392 by svolta
Hi,
Is there crc4 in your pri? If not, please disabled the crc4 in /etc/dahdi/system.conf.
12 years 2 months ago #6393 by miaolin
please send ssh root access to This email address is being protected from spambots. You need JavaScript enabled to view it.
12 years 2 months ago #6394 by czelusc
CRC4 is enabled on ALCATEL 4400 and on my dahdi.

I was sended root access.
Time to create page: 0.033 seconds
Powered by Kunena Forum