[AsteriskBrasil] Ruido - Eco - x100p

Gean Carlo Vila Lobus geanmyboy em gmail.com
Segunda Maio 31 22:20:20 BRT 2010


Boa Noite senhores,

Estou finalmente finalizando a minha primeira maquina com o asterisk, ela
está quase do jeito que eu pensei. Mas me surpreendi com o software, que faz
bem o que promete.

Me deparei com uma espécie de ruido na linha , que não existe se eu tirar e
colocar uma telefone na ponta. Estou usando uma x100p Wildcard com chipset
motorola.

Tenho instalado um trixbox CE 2.8.0.3 em um Celeron 2.4 com 512 de Ram. Meus
ramais estão funcionando, o sip está com uma qualidade legal.só o trafego da
saida da placa fxo que apresenta um ruido chato e um pequeno echo. Está
instalado o mg2 echo canceller, porém ao tentar mudar para o oslec está
dando um erro :

DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)

/etc/dahdi/system.conf ( estava original echocanceller mg2)

# Autogenerated by /usr/sbin/dahdi_genconf on Mon May 31 20:37:19 2010
# 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: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
fxsks=1
echocanceller=oslec,1-240

# Global data

loadzone = br
defaultzone = br

/etc/asterisk/dahdi_channels.conf

; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
;;; line="1 WCFXO/0/0 FXSKS (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

/etc/asterisk/chan_dahdi.conf

;
; DAHDI telephony
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0
txgain=0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include setup-pstn configs
#include dahdi-channels.conf

Já tentei tirar e colocar esse echotrainning e não muda nada

já mexi no ganho e fui aumentando até 10 e o mesmo ruido chato continua.

Por isto tentei instalar o Oslec, mas sem sucesso. Se puderem me ajudar fico
mto grato.

Log do Asterisk com -vvvr

== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.6.0.10-FONCORE-r40 currently running on homebox (pid
= 3304)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [910314 em from-internal:1] Macro("SIP/1001-0a041428",
"user-callerid,SKIPTTL,") in new stack
-- Executing [s em macro-user-callerid:1] Set("SIP/1001-0a041428",
"AMPUSER=1001") in new stack
-- Executing [s em macro-user-callerid:2] GotoIf("SIP/1001-0a041428",
"0?report") in new stack
-- Executing [s em macro-user-callerid:3] ExecIf("SIP/1001-0a041428",
"1?Set(REALCALLERIDNUM=1001)") in new stack
-- Executing [s em macro-user-callerid:4] Set("SIP/1001-0a041428",
"AMPUSER=1001") in new stack
-- Executing [s em macro-user-callerid:5] Set("SIP/1001-0a041428",
"AMPUSERCIDNAME=Gean Carlo") in new stack
-- Executing [s em macro-user-callerid:6] GotoIf("SIP/1001-0a041428",
"0?report") in new stack
-- Executing [s em macro-user-callerid:7] Set("SIP/1001-0a041428",
"AMPUSERCID=1001") in new stack
-- Executing [s em macro-user-callerid:8] Set("SIP/1001-0a041428",
"CALLERID(all)="Gean Carlo" <1001>") in new stack
-- Executing [s em macro-user-callerid:9] Set("SIP/1001-0a041428",
"REALCALLERIDNUM=1001") in new stack
-- Executing [s em macro-user-callerid:10] ExecIf("SIP/1001-0a041428",
"0?Set(CHANNEL(language)=)") in new stack
-- Executing [s em macro-user-callerid:11] GotoIf("SIP/1001-0a041428",
"1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s em macro-user-callerid:20] NoOp("SIP/1001-0a041428", "Using
CallerID "Gean Carlo" <1001>") in new stack
-- Executing [910314 em from-internal:2] Set("SIP/1001-0a041428", "_NODEST=")
in new stack
-- Executing [910314 em from-internal:3] Macro("SIP/1001-0a041428",
"record-enable,1001,OUT,") in new stack
-- Executing [s em macro-record-enable:1] GotoIf("SIP/1001-0a041428",
"1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s em macro-record-enable:4] AGI("SIP/1001-0a041428",
"recordingcheck,20100531-221827,1275355107.6") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100531-221827,1275355107.6: Outbound recording not enabled
-- <SIP/1001-0a041428>AGI Script recordingcheck completed, returning 0
-- Executing [s em macro-record-enable:5] MacroExit("SIP/1001-0a041428", "") in
new stack
-- Executing [910314 em from-internal:4] Macro("SIP/1001-0a041428",
"dialout-trunk,1,10314,,") in new stack
-- Executing [s em macro-dialout-trunk:1] Set("SIP/1001-0a041428",
"DIAL_TRUNK=1") in new stack
-- Executing [s em macro-dialout-trunk:2] GosubIf("SIP/1001-0a041428",
"0?sub-pincheck,s,1") in new stack
-- Executing [s em macro-dialout-trunk:3] GotoIf("SIP/1001-0a041428",
"0?disabletrunk,1") in new stack
-- Executing [s em macro-dialout-trunk:4] Set("SIP/1001-0a041428",
"DIAL_NUMBER=10314") in new stack
-- Executing [s em macro-dialout-trunk:5] Set("SIP/1001-0a041428",
"DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s em macro-dialout-trunk:6] Set("SIP/1001-0a041428",
"OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s em macro-dialout-trunk:7] GotoIf("SIP/1001-0a041428",
"1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s em macro-dialout-trunk:9] GotoIf("SIP/1001-0a041428",
"0?skipoutcid") in new stack
-- Executing [s em macro-dialout-trunk:10] Set("SIP/1001-0a041428",
"DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s em macro-dialout-trunk:11] Macro("SIP/1001-0a041428",
"outbound-callerid,1") in new stack
-- Executing [s em macro-outbound-callerid:1] ExecIf("SIP/1001-0a041428",
"0?Set(CALLERPRES()=)") in new stack
-- Executing [s em macro-outbound-callerid:2] ExecIf("SIP/1001-0a041428",
"0?Set(REALCALLERIDNUM=1001)") in new stack
-- Executing [s em macro-outbound-callerid:3] GotoIf("SIP/1001-0a041428",
"1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s em macro-outbound-callerid:6] Set("SIP/1001-0a041428",
"USEROUTCID=") in new stack
-- Executing [s em macro-outbound-callerid:7] Set("SIP/1001-0a041428",
"EMERGENCYCID=") in new stack
-- Executing [s em macro-outbound-callerid:8] Set("SIP/1001-0a041428",
"TRUNKOUTCID=") in new stack
-- Executing [s em macro-outbound-callerid:9] GotoIf("SIP/1001-0a041428",
"1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s em macro-outbound-callerid:12] ExecIf("SIP/1001-0a041428",
"0?Set(CALLERID(all)=)") in new stack
-- Executing [s em macro-outbound-callerid:13] ExecIf("SIP/1001-0a041428",
"0?Set(CALLERID(all)=)") in new stack
-- Executing [s em macro-outbound-callerid:14] ExecIf("SIP/1001-0a041428",
"0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s em macro-dialout-trunk:12] ExecIf("SIP/1001-0a041428",
"0?AGI(fixlocalprefix)") in new stack
-- Executing [s em macro-dialout-trunk:13] Set("SIP/1001-0a041428",
"OUTNUM=10314") in new stack
-- Executing [s em macro-dialout-trunk:14] Set("SIP/1001-0a041428",
"custom=DAHDI/g0") in new stack
-- Executing [s em macro-dialout-trunk:15] ExecIf("SIP/1001-0a041428",
"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s em macro-dialout-trunk:16] Macro("SIP/1001-0a041428",
"dialout-trunk-predial-hook,") in new stack
-- Executing [s em macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/1001-0a041428", "") in new stack
-- Executing [s em macro-dialout-trunk:17] GotoIf("SIP/1001-0a041428",
"0?bypass,1") in new stack
-- Executing [s em macro-dialout-trunk:18] GotoIf("SIP/1001-0a041428",
"0?customtrunk") in new stack
-- Executing [s em macro-dialout-trunk:19] Dial("SIP/1001-0a041428",
"DAHDI/g0/10314,300,") in new stack
-- Called g0/10314
-- DAHDI/1-1 answered SIP/1001-0a041428
-- Executing [h em macro-dialout-trunk:1] Macro("SIP/1001-0a041428",
"hangupcall,") in new stack
-- Executing [s em macro-hangupcall:1] ResetCDR("SIP/1001-0a041428", "vw") in
new stack
-- Executing [s em macro-hangupcall:2] NoCDR("SIP/1001-0a041428", "") in new
stack
-- Executing [s em macro-hangupcall:3] GotoIf("SIP/1001-0a041428", "1?skiprg")
in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s em macro-hangupcall:6] GotoIf("SIP/1001-0a041428",
"1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s em macro-hangupcall:9] GotoIf("SIP/1001-0a041428", "1?theend")
in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s em macro-hangupcall:11] Hangup("SIP/1001-0a041428", "") in new
stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/1001-0a041428' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on
'SIP/1001-0a041428'
-- Hungup 'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on
'SIP/1001-0a041428' in macro 'dialout-trunk'
== Spawn extension (from-internal, 910314, 4) exited non-zero on
'SIP/1001-0a041428'
homebox*CLI>


Funciona legal, pena é o ruido chato. Obrigado pela contribuição de todos

Att.

-- 
________________________________________
Gean Carlo Vila Lobus
Bacharel em Sistemas de Informação
Unoesc Campus Videira
Pós-Graduando em Redes e Segurança de Sistemas
Pontifícia Universidade Católica do Paraná
Celular 49 8817 2820
Email: vilalobus em gmail.com
________________________________________
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100531/e2dd5c1e/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil