Merci ffossard pour votre réponse.
Voilà :
/etc/dahdi/system.conf
Code:
span = 1,1,0,ccs,ami
bchan = 1-2
hardhdlc = 3
echocanceller = mg2,1-240
loadzone = fr
defaultzone = fr
/etc/asterisk/chan_dahdi.conf
Code:
;
; DAHDI Telephony Configuration file
;
; You need to restart Asterisk to re-configure the DAHDI channel
; CLI> module reload chan_dahdi.so
; will reload the configuration file, but not all configuration options
; are re-configured during a reload (signalling, as well as PRI and
; SS7-related settings cannot be changed on a reload).
;
; This file documents many configuration variables. Normally unless you know
; what a variable means or that it should be changed, there's no reason to
; un-comment those lines.
;
; Examples below that are commented out (those lines that begin with a ';' but
; no space afterwards) typically show a value that is not the default value,
; but would make sense under certain circumstances. The default values are
; usually sane. Thus you should typically not touch them unless you know what
; they mean or you know you should change them.
[trunkgroups]
[channels]
#include-d /etc/asterisk/dahdi_channels.conf
language=fr
switchtype=euroisdn
usecallerid=yes
callwaiting=yes
usecallingpres=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
signalling = bri_cpe
/etc/asterisk/dahdi-channels.conf
Code:
; Autogenerated by /usr/sbin/dahdi_genconf on Mon Feb 21 11:32:40 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: WCBRI/0/0 "HB8-0000 Board 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63
; Span 2: WCBRI/0/1 "HB8-0000 Board 1"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63
; Span 3: WCBRI/0/2 "HB8-0000 Board 1"
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 7-8
context = default
group = 63
; Span 4: WCBRI/0/3 "HB8-0000 Board 1"
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 10-11
context = default
group = 63