Citation Envoyé par olppp Voir le message
Bonjour,

certainement un problème de réglage ISDN
la plupart du temps la numérotation est sur 9 chiffres, le 0 est géré par l'équipement

déjà dans /etc/dahdi/system.conf
loadzone=fr
defaultzone=fr

pour /etc/asterisk/chan_dahdi.conf ça dépend de l'opérateur

par expérience chez SFR

switchtype=euroisdn
pridialplan=dynamic
internationalprefix = 00
nationalprefix = 0

chez Completel

switchtype=euroisdn
pridialplan=unknown
internationalprefix = 00
nationalprefix = 0

la différence au niveau de pridialplan entre SFR et Completel joue sur la présentation des numéros en sortie
Bonjour,

OK avec les infos, mais pourquoi la config vi la GUI de digium ne fait pas le boulot correctement ?

Le fichier system.conf passe de :

# Autogenerated by /usr/sbin/dahdi_genconf on Tue Jun 11 16:53:24 2013
# 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" (MASTER)
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"
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"
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"
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11

# Global data

loadzone = fr
defaultzone = fr

a ceci :

span = 1,1,0,ccs,ami
span = 2,2,0,ccs,ami
bchan = 1-2,4-5
hardhdlc = 3,6
echocanceller = mg2,1-240
loadzone = fr
defaultzone = fr

et que le dahdi-channels dans /etc/asterisk ne passe pas :

; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 12 15:27:10 2013
; 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: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63

; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" (MASTER) AMI/CCS
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63

; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS RED
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 7-8
context = default
group = 63

; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS RED
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 10-11
context = default
group = 63


à ceci :

; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 12 15:27:10 2013
; 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: B4/0/1 "B4XXP (PCI) Card 0 Span 1" AMI/CCS
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 1-2
context = default
group = 63

; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" (MASTER) AMI/CCS
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 4-5
context = default
group = 63

; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS RED
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 7-8
context = default
group = 63

; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS RED
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 10-11
context = default
group = 63


ce qui est important, c'est que je passe de FT en bri_cpe_ptmp a du completel bri_cpe et que sans le faire à la mano ... rien se fait !!!