Caros:<br>Comprei uma placa TDM410PFL ja instalei e fiz os testes basicos e esta duto ok.<br>Esta placa possui 4 postas FX0.<br>Conectei um telefone em uma das portas pra fazer testes de ligação.<br><br>O core show channels mostra: 0 active channels,
0 active calls<br><br>Como eu pego linha e faço uma ligação por esta placa saido pela justvoip<br><br>Tem todos os arquivos de configuração a baixo.<br><br>
<br><br>----------------------------------------------------------<br><b>zaptel.conf</b><br>fxoks=1,2,3,4<br>loadzone=us<br>defaultzone=us<br><br>-----------------------------------------------------------<br><b>zapata.conf</b><br>
[channels]<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>threewaycalling=yes<br>transfer=yes<br>echocancel=yes<br>echocancelwhenbridged=ye<br>rxgain=0.0<br>txgain=0.0<br>Group=1<br>echocancel=yes<br>signalling=fxs_ks<br>
context=Incoming<br>channel=1-4<br><br>-----------------------------------------------------------------------------<br><b>sip.conf</b><br>[general]<br>bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)<br>
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)<br>srvlookup=yes ; Enable DNS SRV lookups on outbound calls<br>register=<a href="http://jose:joselog@justvoip.com:5060/jose">jose:joselog@justvoip.com:5060/jose</a><br>
<br>[justvoip]<br>type=peer<br>host=<a href="http://sip.justvoip.com">sip.justvoip.com</a><br>fromdomain=<a href="http://sip.justvoip.com">sip.justvoip.com</a><br>fromuser=jose<br>username=jose<br>secret=joselog<br>qualify=yes<br>
canreinvite=no<br>dtmfmode=rfc2833<br>context=ext-local<br>incominglimit=1<br>language=pt_BR<br>disallow=all<br>allow=ulaw<br>allow=alaw<br>allow=g729<br><br><br>----------------------------------------------------------<br>
<b>extensions.conf</b><br>[general]<br>static=yes<br>writeprotect=no<br>clearglobalvars=no<br>pedantic=no<br><br>[globals]<br><br>[Incoming]<br> exten => s,1,Noop(Recebendo)<br> exten => s,n,Set(CHANNEL(language)=pt_BR)<br>
exten => s,n,Answer<br> exten => s,n,Wait(1)<br> exten => s,n,Background(/var/lib/asterisk/pt_BR/vm-enter-num-to-call)<br> exten => s,n,WaitExten(25)<br><br> include => local<br> include => brasil<br>
include => exterior<br><br>[brasil]<br> exten => _XXXXXXXXXX,1,Dial(SIP/justvoip/0055${EXTEN},25,TWK)<br> exten => _XXXXXXXXXX,2,Congestion()<br> exten => _XXXXXXXXXX,3,Hangup()<br><br>[local]<br> exten => _XXXXXXXX,1,Dial(SIP/justvoip/005531${EXTEN},25,rtT)<br>
exten => _XXXXXXXX,2,Congestion()<br> exten => _XXXXXXXX,3,Hangup()<br><br>[exterior]<br> exten => _XXXXXXXXXXXX,1,Dial(SIP/justvoip/00${EXTEN},25,TWK)<br> exten => _XXXXXXXXXXXX,2,Congestion()<br> exten => _XXXXXXXXXX,103,Hangup()<br>
<br>[ext-local]<br> include => local<br> include => brasil<br> include => exterior<br>-----------------------------------------------------------------------------------------------<br><br><br>
<br>
voip*CLI> core show channels<br>
Channel Location State Application(Data)<br>
0 active channels<br>
0 active calls<br><br>--------------------------------------------------------------------------------------------------<br>#ztcfg -vv<br><br>Zaptel Version: 1.4.12.1<br>Echo Canceller: MG2<br>Configuration<br>======================<br>
<br><br>Channel map:<br><br>Channel 01: FXO Kewlstart (Default) (Slaves: 01)<br>Channel 02: FXO Kewlstart (Default) (Slaves: 02)<br>Channel 03: FXO Kewlstart (Default) (Slaves: 03)<br>Channel 04: FXO Kewlstart (Default) (Slaves: 04)<br>
<br>4 channels to configure.<br><br>-----------------------------------------------------------------------------------<br><br><br>-----------------------------------------------------------------------------------<br clear="all">
<br><br><br>-- <br>Atenciosamente,<br>Márcio Erli<br>E-Mail: <a href="mailto:marcioerli@gamil.com">marcioerli@gamil.com</a><br>Site: <a href="http://www.marcioerli.com.br">www.marcioerli.com.br</a><br>MSN: <a href="mailto:merlipaula@hotmail.com">merlipaula@hotmail.com</a><br>
Skype: merlipaula<br>Telefone: (31)8864-4917<br>