Soucis détection du raccroché
J'ai un petit souci de détection du raccrochage des correspondants sur les 2 lignes.
En même temps je me demande pourquoi r1 ressemble à ça:
Code:
serveur*CLI> dahdi show cadences
r1: 125,125,2000,4000
r2: 250,250,500,1000,250,250,500,4000
r3: 125,125,125,125,125,4000
r4: 1000,500,2500,5000
Mon /etc/asterisk/indications contient bien la ligne country=fr
Et mon chandahdi:
Code:
cat /etc/asterisk/chan_dahdi.conf
;
; 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]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
faxdetect=incoming
callgroup=1
pickupgroup=1
dahdichan=1,2
immediate=no
language=fr
loadzone=fr
defaultzone=fr
progzone=fr
dtmfmode=inband
toneduration=300
relaxdtmf=yes
busydetect=yes
busycount=3
busypattern=500,500
hanguponpolarityswitch=yes
echocancel=512
txgain=2
rxgain=6
[home-phones]
context=from-internal ; Uses the [internal] context in extensions.conf
signalling=auto ; fxo_ks Use FXO signalling for an FXS channel - as set in sytem.conf.conf
;channel => 1 ; Telephone attached to port 1
;channel => 2 ; Telephone attached to port 2
dahdichan => 3,4