Dahdi, il n'est pas chargé.Unable to create channel of type 'DAHDI' (cause 66 - Channel not implemented)
Dahdi, il n'est pas chargé.Unable to create channel of type 'DAHDI' (cause 66 - Channel not implemented)
Bonjour,
Dahdi Tourne, mais j'ai finis par trouvé .. c'est la Version d'Asterisk GUI qui fout le merdier ...
ipbx*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
B4XXP (PCI) Card 0 Span 1 OK 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 2 OK 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 3 RED 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 4 RED 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
ipbx*CLI>
Le GUI écrit dans /etc/dahdi/system.com :
span = 1,1,0,ccs,ami
span = 2,2,0,ccs,ami
span = 3,3,0,ccs,ami
span = 4,4,0,ccs,ami
bchan = 1-2,4-5,7-8,10-11
hardhdlc = 3,6,9,12
echocanceller = mg2,1-240
loadzone = fr
defaultzone = fr
Alors que le dahdi_cfg -vv ecrit dans le même fichier :
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Apr 13 14:15:02 2012
# 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: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2
# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" (MASTER) AMI/CCS
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5
# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS RED
span=3,3,0,ccs,ami
# termtype: te
bchan=7-8
hardhdlc=9
echocanceller=mg2,7-8
# Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS RED
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11
# Global data
loadzone = us
defaultzone = us
Je comprends pas que l'on est pas une solution GUI qui ne "parse" pas les files et qui ne sait pas relire sans bidouiller ...
Merci quand même pour l'aide ...
Alternatiq Informatique
SSII spécialisée dans l'architecture Open Source
Il est impossible d’implémenter un GUI qui parse vos fichier de conf, pour une simple raison que les options sont très nombreuses. Déjà avoir un qui génère du code correctement est difficile.
Je détecte que la sortie ne marche plus après un certain temps indéfini pour l'instant ....
après un asterisk + dahdi stop puis start c'est denouveau opérationnel pour un certain temps indéfini ... QUID ?
En laissant le CLI je m'apperçois un WARNING redondant :
[Apr 18 06:28:51] WARNING[4115]: chan_dahdi.c:4277 pri_find_dchan: No D-channels available! Using Primary channel 6 as D-channel anyway!
== Primary D-Channel on span 2 up
== Primary D-Channel on span 1 down
[Apr 18 06:28:54] WARNING[4114]: chan_dahdi.c:4277 pri_find_dchan: No D-channels available! Using Primary channel 3 as D-channel anyway!
== Primary D-Channel on span 1 up
== Primary D-Channel on span 2 down
[Apr 18 06:29:07] WARNING[4115]: chan_dahdi.c:4277 pri_find_dchan: No D-channels available! Using Primary channel 6 as D-channel anyway!
== Primary D-Channel on span 2 up
== Primary D-Channel on span 1 down
Est-ce la source de mon soucis ? ... pourquoi autant de blabla sur le canal D de signalisation ...
Une fois l'émission impossible je vérifis dans le CLI :
ipbx*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
B4XXP (PCI) Card 0 Span 1 OK 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 2 OK 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 3 RED 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
B4XXP (PCI) Card 0 Span 4 RED 0 0 0 CCS AMI 0 db (CSU)/0-133 feet (DSX-1)
== Primary D-Channel on span 2 down
[Apr 18 06:31:15] WARNING[4115]: chan_dahdi.c:4277 pri_find_dchan: No D-channels available! Using Primary channel 6 as D-channel anyway!
== Primary D-Channel on span 2 up
ipbx*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 DID_span_1 fr default In Service
2 DID_span_1 fr default In Service
4 DID_span_2 fr default In Service
5 DID_span_2 fr default In Service
== Primary D-Channel on span 2 down
[Apr 18 06:31:47] WARNING[4115]: chan_dahdi.c:4277 pri_find_dchan: No D-channels available! Using Primary channel 6 as D-channel anyway!
== Primary D-Channel on span 2 up
....
Qui aurait une idée ?
J'ai réinstallé 3x l'ipbx avec juste le fichier users.conf en restauration sans la partie dahdi se trouvant dedans ....
conf : asterisk 1.6.2.23 + dahdi 2.6.0 + libpri 1.4.12 (non patch) + libss7 1.0.2
Alternatiq Informatique
SSII spécialisée dans l'architecture Open Source
Re bonjour,
Je lis différentes solutions ...
Pour asterisk avec une carte Digium B410P que faut-il ?
dadhi (complete linux + tools)
libpri
libss7 ? Nécessaire ?
mISDN ? Nécessaire ?
asterisk 1.x.x
asterisk addon 1.x.x ? Nécessaire ?
Merci
Alternatiq Informatique
SSII spécialisée dans l'architecture Open Source