TiTi
02/02/2006, 16h49
Bonjour,
Je viens de réussir à supprimer complétement l'écho sur cette carte.
J'utilise :
Debian gnu/linux sarge - kernel 2.6.15.1
Asterisk Version 1.2.4
Zaptel Version 1.2.3
Libpri Version 1.2.2
Postgresql et Apache2
Tout ca sur un vieux coucou récupérer de derrière les fagots :lol: (Celeron500 - 64 mo de ram - ddur udma 66)
Appréciant fortement ce forum, je poste donc ici la procédure :
1. Modifier le fichier /usr/src/zaptel/zconfig.h
. décommenter la ligne ECHO_CAN_MG2
. idem pour AGGRESSIVE_SUPPRESSOR
Ensuite j'ai décommenter aussi ceci pour tester :
. CONFIG_ZAPTEL_WATCHDOG
. FXSFLASH
2. Modifier le fichier /usr/src/wcfxo.c
. debug=1
. monitor=1
. boost=1
3. Mon zapata.conf :
[channels]
;----- carte -----
language=fr
signalling=fxs_ks ;warning au démarrage mais bon ...
busydetect=yes
busycount=1
callprogress=yes
;hanguponpolarityswitch=yes ;marche pas, ignoring au boot ...
;usedistinctiveringdetection=yes ;marche pas, ignoring au boot ...
;----- niveau sonore -----
;rxwink=300 ;marche pas, ignoring au boot ...
;rxgain=5 ;c'est pire qd j'y touche
;txgain=-5 ;c'est pire qd j'y touche
;----- traitement écho -----
echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs.
echocancelwhenbridged=yes
echotraining=500 ; J'ai essayer de 0 à 900 mais pas vu de différence, à 1000 il l'ignore au boot
;----- détection hangup -----
;hanguponpolarityswitch=yes ;warning au démarrage ...
;----- callerid stuff -----
; Type of caller ID signalling in use
; bell = bell202 as used in US
; v23 = v23 as used in the UK
; dtmf = DTMF as used in Denmark, Sweden and Netherlands
;cidsignalling=dtmf ;a priori on utilise dmtf en france
; What signals the start of caller ID
; ring = a ring signals the start
; polarity = polarity reversal signals the start
;cidstart=polarity ;ca bug complet mais diminue la latence et accélère la détection du hangup
;callwaitingcallerid=yes ;a retester
usecallerid=yes
hidecallerid=no
immediate=no
;----- routage -----
group=1
context= free
channel => 1
kern.log :
Feb 2 18:03:19 asterisk kernel: Zapata Telephony Interface Registered on major 196
Feb 2 18:03:19 asterisk kernel: Zaptel Version: Echo Canceller: MG2 (aggressive)
Feb 2 18:03:19 asterisk kernel: Zaptel watchdog on duty!
Feb 2 18:03:25 asterisk kernel: New regoffset: 7
Feb 2 18:03:25 asterisk kernel: wcfxo: Boosting receive signal
Feb 2 18:03:25 asterisk kernel: wcfxo: DAA mode is 'FCC'
Feb 2 18:03:25 asterisk kernel: Found a Wildcard FXO: Generic Clone
Feb 2 18:03:25 asterisk kernel: BATTERY!
Feb 2 18:03:25 asterisk kernel: Registered tone zone 2 (France)
Je continue mes investigation concernant le callerid, mais je suis certain que c'est possible car hier j'ai branché un tel sur la sortie "Phone" de la carte, et le téléphone affichait bien le nom et le numéro de l'appelant... à suivre donc :roll:
edit : pour info, j'avais activé le codec gsm pour tous mes postes sip dans sip.conf
Je viens de réussir à supprimer complétement l'écho sur cette carte.
J'utilise :
Debian gnu/linux sarge - kernel 2.6.15.1
Asterisk Version 1.2.4
Zaptel Version 1.2.3
Libpri Version 1.2.2
Postgresql et Apache2
Tout ca sur un vieux coucou récupérer de derrière les fagots :lol: (Celeron500 - 64 mo de ram - ddur udma 66)
Appréciant fortement ce forum, je poste donc ici la procédure :
1. Modifier le fichier /usr/src/zaptel/zconfig.h
. décommenter la ligne ECHO_CAN_MG2
. idem pour AGGRESSIVE_SUPPRESSOR
Ensuite j'ai décommenter aussi ceci pour tester :
. CONFIG_ZAPTEL_WATCHDOG
. FXSFLASH
2. Modifier le fichier /usr/src/wcfxo.c
. debug=1
. monitor=1
. boost=1
3. Mon zapata.conf :
[channels]
;----- carte -----
language=fr
signalling=fxs_ks ;warning au démarrage mais bon ...
busydetect=yes
busycount=1
callprogress=yes
;hanguponpolarityswitch=yes ;marche pas, ignoring au boot ...
;usedistinctiveringdetection=yes ;marche pas, ignoring au boot ...
;----- niveau sonore -----
;rxwink=300 ;marche pas, ignoring au boot ...
;rxgain=5 ;c'est pire qd j'y touche
;txgain=-5 ;c'est pire qd j'y touche
;----- traitement écho -----
echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs.
echocancelwhenbridged=yes
echotraining=500 ; J'ai essayer de 0 à 900 mais pas vu de différence, à 1000 il l'ignore au boot
;----- détection hangup -----
;hanguponpolarityswitch=yes ;warning au démarrage ...
;----- callerid stuff -----
; Type of caller ID signalling in use
; bell = bell202 as used in US
; v23 = v23 as used in the UK
; dtmf = DTMF as used in Denmark, Sweden and Netherlands
;cidsignalling=dtmf ;a priori on utilise dmtf en france
; What signals the start of caller ID
; ring = a ring signals the start
; polarity = polarity reversal signals the start
;cidstart=polarity ;ca bug complet mais diminue la latence et accélère la détection du hangup
;callwaitingcallerid=yes ;a retester
usecallerid=yes
hidecallerid=no
immediate=no
;----- routage -----
group=1
context= free
channel => 1
kern.log :
Feb 2 18:03:19 asterisk kernel: Zapata Telephony Interface Registered on major 196
Feb 2 18:03:19 asterisk kernel: Zaptel Version: Echo Canceller: MG2 (aggressive)
Feb 2 18:03:19 asterisk kernel: Zaptel watchdog on duty!
Feb 2 18:03:25 asterisk kernel: New regoffset: 7
Feb 2 18:03:25 asterisk kernel: wcfxo: Boosting receive signal
Feb 2 18:03:25 asterisk kernel: wcfxo: DAA mode is 'FCC'
Feb 2 18:03:25 asterisk kernel: Found a Wildcard FXO: Generic Clone
Feb 2 18:03:25 asterisk kernel: BATTERY!
Feb 2 18:03:25 asterisk kernel: Registered tone zone 2 (France)
Je continue mes investigation concernant le callerid, mais je suis certain que c'est possible car hier j'ai branché un tel sur la sortie "Phone" de la carte, et le téléphone affichait bien le nom et le numéro de l'appelant... à suivre donc :roll:
edit : pour info, j'avais activé le codec gsm pour tous mes postes sip dans sip.conf