Não sei se chegou o email ontem, mas estou re-enviando e aceito a ajuda de todos. Att.<br><div class="gmail_quote"><br><div>Boa Noite senhores,<br clear="all"></div><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>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 :</div>
<div><br></div><div>DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)<br><br></div><div>/etc/dahdi/system.conf ( estava original echocanceller mg2)</div><div><br></div><div># Autogenerated by /usr/sbin/dahdi_genconf on Mon May 31 20:37:19 2010<br>
# If you edit this file and execute /usr/sbin/dahdi_genconf again,<br># your manual changes will be LOST.<br># Dahdi Configuration File<br>#<br># This file is parsed by the Dahdi Configurator, dahdi_cfg<br>#<br># Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)<br>
fxsks=1<br>echocanceller=oslec,1-240<br><br># Global data<br><br>loadzone = br<br>defaultzone = br</div><div><br></div><div>/etc/asterisk/dahdi_channels.conf</div><div><br>; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) <br>
;;; line="1 WCFXO/0/0 FXSKS (SWEC: MG2)"<br>signalling=fxs_ks<br>callerid=asreceived<br>group=0<br>context=from-pstn<br>channel => 1<br>callerid=<br>group=<br>context=default<br><br>/etc/asterisk/chan_dahdi.conf<br>
</div><div><br></div><div>;<br>; DAHDI telephony<br>;<br>; Configuration file<br><br>[trunkgroups]<br><br>[channels]<br><br>language=en<br>context=from-zaptel<br>signalling=fxs_ks<br>rxwink=300 ; Atlas seems to use long (250ms) winks<br>
;<br>; Whether or not to do distinctive ring detection on FXO lines<br>;<br>;usedistinctiveringdetection=yes<br><br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>
threewaycalling=yes<br>transfer=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=no<br>echotraining=800<br>rxgain=0<br>txgain=0<br>group=0<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br>
<br>;faxdetect=both<br>faxdetect=incoming<br>;faxdetect=outgoing<br>;faxdetect=no<br><br>;Include setup-pstn configs<br>#include dahdi-channels.conf<br><br></div><div>Já tentei tirar e colocar esse echotrainning e não muda nada</div>
<div><br></div><div>já mexi no ganho e fui aumentando até 10 e o mesmo ruido chato continua.</div><div><br></div><div>Por isto tentei instalar o Oslec, mas sem sucesso. Se puderem me ajudar fico mto grato.</div><div><br>
</div>
<div>Log do Asterisk com -vvvr</div><div><br></div><div> == Parsing '/etc/asterisk/asterisk.conf': == Found<br> == Parsing '/etc/asterisk/extconfig.conf': == Found<br>Connected to Asterisk 1.6.0.10-FONCORE-r40 currently running on homebox (pid = 3304)<br>
Verbosity is at least 3<br> == Using SIP RTP TOS bits 184<br> == Using SIP RTP CoS mark 5<br> == Using SIP VRTP TOS bits 136<br> == Using SIP VRTP CoS mark 6<br> -- Executing [910314@from-internal:1] Macro("SIP/1001-0a041428", "user-callerid,SKIPTTL,") in new stack<br>
-- Executing [s@macro-user-callerid:1] Set("SIP/1001-0a041428", "AMPUSER=1001") in new stack<br> -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1001-0a041428", "0?report") in new stack<br>
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1001-0a041428", "1?Set(REALCALLERIDNUM=1001)") in new stack<br> -- Executing [s@macro-user-callerid:4] Set("SIP/1001-0a041428", "AMPUSER=1001") in new stack<br>
-- Executing [s@macro-user-callerid:5] Set("SIP/1001-0a041428", "AMPUSERCIDNAME=Gean Carlo") in new stack<br> -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1001-0a041428", "0?report") in new stack<br>
-- Executing [s@macro-user-callerid:7] Set("SIP/1001-0a041428", "AMPUSERCID=1001") in new stack<br> -- Executing [s@macro-user-callerid:8] Set("SIP/1001-0a041428", "CALLERID(all)="Gean Carlo" <1001>") in new stack<br>
-- Executing [s@macro-user-callerid:9] Set("SIP/1001-0a041428", "REALCALLERIDNUM=1001") in new stack<br> -- Executing [s@macro-user-callerid:10] ExecIf("SIP/1001-0a041428", "0?Set(CHANNEL(language)=)") in new stack<br>
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/1001-0a041428", "1?continue") in new stack<br> -- Goto (macro-user-callerid,s,20)<br> -- Executing [s@macro-user-callerid:20] NoOp("SIP/1001-0a041428", "Using CallerID "Gean Carlo" <1001>") in new stack<br>
-- Executing [910314@from-internal:2] Set("SIP/1001-0a041428", "_NODEST=") in new stack<br> -- Executing [910314@from-internal:3] Macro("SIP/1001-0a041428", "record-enable,1001,OUT,") in new stack<br>
-- Executing [s@macro-record-enable:1] GotoIf("SIP/1001-0a041428", "1?check") in new stack<br> -- Goto (macro-record-enable,s,4)<br> -- Executing [s@macro-record-enable:4] AGI("SIP/1001-0a041428", "recordingcheck,20100531-221827,1275355107.6") in new stack<br>
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> recordingcheck,20100531-221827,1275355107.6: Outbound recording not enabled<br> -- <SIP/1001-0a041428>AGI Script recordingcheck completed, returning 0<br>
-- Executing [s@macro-record-enable:5] MacroExit("SIP/1001-0a041428", "") in new stack<br> -- Executing [910314@from-internal:4] Macro("SIP/1001-0a041428", "dialout-trunk,1,10314,,") in new stack<br>
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1001-0a041428", "DIAL_TRUNK=1") in new stack<br> -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1001-0a041428", "0?sub-pincheck,s,1") in new stack<br>
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1001-0a041428", "0?disabletrunk,1") in new stack<br> -- Executing [s@macro-dialout-trunk:4] Set("SIP/1001-0a041428", "DIAL_NUMBER=10314") in new stack<br>
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1001-0a041428", "DIAL_TRUNK_OPTIONS=tr") in new stack<br> -- Executing [s@macro-dialout-trunk:6] Set("SIP/1001-0a041428", "OUTBOUND_GROUP=OUT_1") in new stack<br>
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1001-0a041428", "1?nomax") in new stack<br> -- Goto (macro-dialout-trunk,s,9)<br> -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1001-0a041428", "0?skipoutcid") in new stack<br>
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1001-0a041428", "DIAL_TRUNK_OPTIONS=") in new stack<br> -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1001-0a041428", "outbound-callerid,1") in new stack<br>
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1001-0a041428", "0?Set(CALLERPRES()=)") in new stack<br> -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1001-0a041428", "0?Set(REALCALLERIDNUM=1001)") in new stack<br>
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1001-0a041428", "1?normcid") in new stack<br> -- Goto (macro-outbound-callerid,s,6)<br> -- Executing [s@macro-outbound-callerid:6] Set("SIP/1001-0a041428", "USEROUTCID=") in new stack<br>
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1001-0a041428", "EMERGENCYCID=") in new stack<br> -- Executing [s@macro-outbound-callerid:8] Set("SIP/1001-0a041428", "TRUNKOUTCID=") in new stack<br>
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1001-0a041428", "1?trunkcid") in new stack<br> -- Goto (macro-outbound-callerid,s,12)<br> -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1001-0a041428", "0?Set(CALLERID(all)=)") in new stack<br>
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1001-0a041428", "0?Set(CALLERID(all)=)") in new stack<br> -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1001-0a041428", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack<br>
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1001-0a041428", "0?AGI(fixlocalprefix)") in new stack<br> -- Executing [s@macro-dialout-trunk:13] Set("SIP/1001-0a041428", "OUTNUM=10314") in new stack<br>
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1001-0a041428", "custom=DAHDI/g0") in new stack<br> -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1001-0a041428", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack<br>
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/1001-0a041428", "dialout-trunk-predial-hook,") in new stack<br> -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1001-0a041428", "") in new stack<br>
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1001-0a041428", "0?bypass,1") in new stack<br> -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1001-0a041428", "0?customtrunk") in new stack<br>
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/1001-0a041428", "DAHDI/g0/10314,300,") in new stack<br> -- Called g0/10314<br> -- DAHDI/1-1 answered SIP/1001-0a041428<br> -- Executing [h@macro-dialout-trunk:1] Macro("SIP/1001-0a041428", "hangupcall,") in new stack<br>
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/1001-0a041428", "vw") in new stack<br> -- Executing [s@macro-hangupcall:2] NoCDR("SIP/1001-0a041428", "") in new stack<br> -- Executing [s@macro-hangupcall:3] GotoIf("SIP/1001-0a041428", "1?skiprg") in new stack<br>
-- Goto (macro-hangupcall,s,6)<br> -- Executing [s@macro-hangupcall:6] GotoIf("SIP/1001-0a041428", "1?skipblkvm") in new stack<br> -- Goto (macro-hangupcall,s,9)<br> -- Executing [s@macro-hangupcall:9] GotoIf("SIP/1001-0a041428", "1?theend") in new stack<br>
-- Goto (macro-hangupcall,s,11)<br> -- Executing [s@macro-hangupcall:11] Hangup("SIP/1001-0a041428", "") in new stack<br> == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1001-0a041428' in macro 'hangupcall'<br>
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/1001-0a041428'<br> -- Hungup 'DAHDI/1-1'<br> == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/1001-0a041428' in macro 'dialout-trunk'<br>
== Spawn extension (from-internal, 910314, 4) exited non-zero on 'SIP/1001-0a041428'<br>homebox*CLI> <br><br></div><div><br></div><div>Funciona legal, pena é o ruido chato. Obrigado pela contribuição de todos</div>
<div><br></div><div>Att.</div><br clear="all"></div>________________________________________<br>Gean Carlo Vila Lobus<br>Bacharel em Sistemas de Informação<br>Unoesc Campus Videira<br>Pós-Graduando em Redes e Segurança de Sistemas<br>
Pontifícia Universidade Católica do Paraná<br>Celular 49 8817 2820<br>Email: <a href="mailto:vilalobus@gmail.com">vilalobus@gmail.com</a><br>________________________________________<br><br>