<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 &quot;Wildcard X100P Board 1&quot; (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 &quot;Wildcard X100P Board 1&quot; (MASTER) <br>
;;; line=&quot;1 WCFXO/0/0 FXSKS  (SWEC: MG2)&quot;<br>signalling=fxs_ks<br>callerid=asreceived<br>group=0<br>context=from-pstn<br>channel =&gt; 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 &#39;/etc/asterisk/asterisk.conf&#39;:   == Found<br>  == Parsing &#39;/etc/asterisk/extconfig.conf&#39;:   == 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(&quot;SIP/1001-0a041428&quot;, &quot;user-callerid,SKIPTTL,&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:1] Set(&quot;SIP/1001-0a041428&quot;, &quot;AMPUSER=1001&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:2] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;0?report&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:3] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;1?Set(REALCALLERIDNUM=1001)&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:4] Set(&quot;SIP/1001-0a041428&quot;, &quot;AMPUSER=1001&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:5] Set(&quot;SIP/1001-0a041428&quot;, &quot;AMPUSERCIDNAME=Gean Carlo&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:6] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;0?report&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:7] Set(&quot;SIP/1001-0a041428&quot;, &quot;AMPUSERCID=1001&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:8] Set(&quot;SIP/1001-0a041428&quot;, &quot;CALLERID(all)=&quot;Gean Carlo&quot; &lt;1001&gt;&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:9] Set(&quot;SIP/1001-0a041428&quot;, &quot;REALCALLERIDNUM=1001&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:10] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(CHANNEL(language)=)&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:11] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?continue&quot;) in new stack<br>    -- Goto (macro-user-callerid,s,20)<br>    -- Executing [s@macro-user-callerid:20] NoOp(&quot;SIP/1001-0a041428&quot;, &quot;Using CallerID &quot;Gean Carlo&quot; &lt;1001&gt;&quot;) in new stack<br>
    -- Executing [910314@from-internal:2] Set(&quot;SIP/1001-0a041428&quot;, &quot;_NODEST=&quot;) in new stack<br>    -- Executing [910314@from-internal:3] Macro(&quot;SIP/1001-0a041428&quot;, &quot;record-enable,1001,OUT,&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:1] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?check&quot;) in new stack<br>    -- Goto (macro-record-enable,s,4)<br>    -- Executing [s@macro-record-enable:4] AGI(&quot;SIP/1001-0a041428&quot;, &quot;recordingcheck,20100531-221827,1275355107.6&quot;) in new stack<br>
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> recordingcheck,20100531-221827,1275355107.6: Outbound recording not enabled<br>    -- &lt;SIP/1001-0a041428&gt;AGI Script recordingcheck completed, returning 0<br>
    -- Executing [s@macro-record-enable:5] MacroExit(&quot;SIP/1001-0a041428&quot;, &quot;&quot;) in new stack<br>    -- Executing [910314@from-internal:4] Macro(&quot;SIP/1001-0a041428&quot;, &quot;dialout-trunk,1,10314,,&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:1] Set(&quot;SIP/1001-0a041428&quot;, &quot;DIAL_TRUNK=1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:2] GosubIf(&quot;SIP/1001-0a041428&quot;, &quot;0?sub-pincheck,s,1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:3] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;0?disabletrunk,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:4] Set(&quot;SIP/1001-0a041428&quot;, &quot;DIAL_NUMBER=10314&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:5] Set(&quot;SIP/1001-0a041428&quot;, &quot;DIAL_TRUNK_OPTIONS=tr&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:6] Set(&quot;SIP/1001-0a041428&quot;, &quot;OUTBOUND_GROUP=OUT_1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:7] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?nomax&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,s,9)<br>    -- Executing [s@macro-dialout-trunk:9] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;0?skipoutcid&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:10] Set(&quot;SIP/1001-0a041428&quot;, &quot;DIAL_TRUNK_OPTIONS=&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:11] Macro(&quot;SIP/1001-0a041428&quot;, &quot;outbound-callerid,1&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:1] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(CALLERPRES()=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:2] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(REALCALLERIDNUM=1001)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:3] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?normcid&quot;) in new stack<br>    -- Goto (macro-outbound-callerid,s,6)<br>    -- Executing [s@macro-outbound-callerid:6] Set(&quot;SIP/1001-0a041428&quot;, &quot;USEROUTCID=&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:7] Set(&quot;SIP/1001-0a041428&quot;, &quot;EMERGENCYCID=&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:8] Set(&quot;SIP/1001-0a041428&quot;, &quot;TRUNKOUTCID=&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:9] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?trunkcid&quot;) in new stack<br>    -- Goto (macro-outbound-callerid,s,12)<br>    -- Executing [s@macro-outbound-callerid:12] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:13] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:14] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(CALLERPRES()=prohib_passed_screen)&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:12] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?AGI(fixlocalprefix)&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:13] Set(&quot;SIP/1001-0a041428&quot;, &quot;OUTNUM=10314&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:14] Set(&quot;SIP/1001-0a041428&quot;, &quot;custom=DAHDI/g0&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:15] ExecIf(&quot;SIP/1001-0a041428&quot;, &quot;0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:16] Macro(&quot;SIP/1001-0a041428&quot;, &quot;dialout-trunk-predial-hook,&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(&quot;SIP/1001-0a041428&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:17] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;0?bypass,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:18] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;0?customtrunk&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:19] Dial(&quot;SIP/1001-0a041428&quot;, &quot;DAHDI/g0/10314,300,&quot;) in new stack<br>    -- Called g0/10314<br>    -- DAHDI/1-1 answered SIP/1001-0a041428<br>    -- Executing [h@macro-dialout-trunk:1] Macro(&quot;SIP/1001-0a041428&quot;, &quot;hangupcall,&quot;) in new stack<br>
    -- Executing [s@macro-hangupcall:1] ResetCDR(&quot;SIP/1001-0a041428&quot;, &quot;vw&quot;) in new stack<br>    -- Executing [s@macro-hangupcall:2] NoCDR(&quot;SIP/1001-0a041428&quot;, &quot;&quot;) in new stack<br>    -- Executing [s@macro-hangupcall:3] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?skiprg&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,6)<br>    -- Executing [s@macro-hangupcall:6] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?skipblkvm&quot;) in new stack<br>    -- Goto (macro-hangupcall,s,9)<br>    -- Executing [s@macro-hangupcall:9] GotoIf(&quot;SIP/1001-0a041428&quot;, &quot;1?theend&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,11)<br>    -- Executing [s@macro-hangupcall:11] Hangup(&quot;SIP/1001-0a041428&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on &#39;SIP/1001-0a041428&#39; in macro &#39;hangupcall&#39;<br>
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on &#39;SIP/1001-0a041428&#39;<br>    -- Hungup &#39;DAHDI/1-1&#39;<br>  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on &#39;SIP/1001-0a041428&#39; in macro &#39;dialout-trunk&#39;<br>
  == Spawn extension (from-internal, 910314, 4) exited non-zero on &#39;SIP/1001-0a041428&#39;<br>homebox*CLI&gt; <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>-- <br>________________________________________<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>