Bonjour F6HQZ,
Merci de ta réponse.
j'ai donc une PRI sur le span 1, et 2 BRI sur les spans 2 et 3.
dahdi_hardware
Code:
pci:0000:02:08.0 wcte12xp+ d161:8000 Wildcard TE121
pci:0000:0a:02.0 wcb4xxp+ d161:b410 Digium Wildcard B410P
Je ne pense pas avoir de probleme d'IRQ car la valeur dans cat /proc/dahdi/1 ou 2 ou 3 n'affiche pas d'errreurs d'IRQ...
Pour info, le span 2 est connecté a la premiere arrivee numeris, avec un cable droit. Le span 3 est connecté a la seconde arrivee numeris avec un cable Digium PRI.
Je vais de suite lire la doc sur les cables mais je pense que cela devrait etre un cable droit pour un BRI. Donc la span 2 devrait marcher...
/etc/dahdi/system.conf
Code:
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Oct 27 18:28:38 2011
# 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: WCT1/0 "Wildcard TE121 Card 0" (MASTER) HDB3/CCS/CRC4 ClockSource
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
# Span 2: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS RED
span=2,2,0,ccs,ami
# termtype: te
bchan=32-33
hardhdlc=34
echocanceller=mg2,32-33
# Span 3: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS RED
span=3,3,0,ccs,ami
# termtype: te
bchan=35-36
hardhdlc=37
echocanceller=mg2,35-36
# Span 4: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS RED
span=4,4,0,ccs,ami
# termtype: te
bchan=38-39
hardhdlc=40
echocanceller=mg2,38-39
# Span 5: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS RED
span=5,0,0,ccs,ami
# termtype: te
bchan=41-42
hardhdlc=43
echocanceller=mg2,41-42
# Global data
loadzone = fr
defaultzone = fr
/etc/asterisk/dahdi_channels.conf
Code:
; Autogenerated by /usr/sbin/dahdi_genconf on Thu Oct 27 18:28:38 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) HDB3/CCS/CRC4 ClockSource
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
; Span 2: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS RED
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 32-33
context = default
group = 63
; Span 3: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS RED
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 35-36
context = default
group = 63
; Span 4: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS RED
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 38-39
context = default
group = 63
; Span 5: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS RED
group=0,15
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 41-42
context = default
group = 63
/etc/asterisk/chan_dahdi.conf (FreePBX includes)
Code:
; Copied from DAHDI Module of FreePBX
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf
/etc/asterisk/chan_dahdi_groups.conf (en plus je le modifie a la main car le module "Dahdi Config" de Freepbx fait de la merde et mets tout en "pri_cpe") :
Code:
; [span_1]
signalling=pri_cpe
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
group=0
context=from-pstn
channel=1-15,17-31
; [span_2]
signalling=bri_cpe
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=1
context=from-pstn
channel=32-33
; [span_3]
signalling=bri_cpe
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=2
context=from-pstn
channel=35-36
; [span_4]
signalling=bri_cpe
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=3
context=from-pstn
channel=38-39
; [span_5]
signalling=bri_cpe
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
group=4
context=from-pstn
channel=41-42
dahdi_scan
Code:
[1]
active=yes
alarms=OK
description=Wildcard TE121 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE121 (VPMADT032)
location=PCI Bus 02 Slot 09
basechan=1
totchans=31
irq=169
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=AMI,HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS
[2]
active=yes
alarms=RED
description=B4XXP (PCI) Card 0 Span 1
name=B4/0/1
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 10 Slot 03
basechan=32
totchans=3
irq=90
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
[3]
active=yes
alarms=RED
description=B4XXP (PCI) Card 0 Span 2
name=B4/0/2
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 10 Slot 03
basechan=35
totchans=3
irq=90
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
[4]
active=yes
alarms=RED
description=B4XXP (PCI) Card 0 Span 3
name=B4/0/3
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 10 Slot 03
basechan=38
totchans=3
irq=90
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
[5]
active=yes
alarms=RED
description=B4XXP (PCI) Card 0 Span 4
name=B4/0/4
manufacturer=Digium
devicetype=Wildcard B410P
location=PCI Bus 10 Slot 03
basechan=41
totchans=3
irq=90
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI,HDB3
framing_opts=ESF,D4,CCS,CRC4
coding=AMI
framing=CCS
Merci encore pour votre aide, je suis paume...
Ronan