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 ...