Prezado Colega,<div><br></div><div>Tenho um conf que um amigo me passou usei e funfou, teste qq coisa da um salve.</div><div><br></div><div>É só alterar os parametros relativos a sua rede e ao seu sipserver entra no modo config é só colar e salvar q já vai está valendo esta configuração.</div>
<div><br></div><div>-----------INICIO-------------------------</div><div><p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">hostname Router</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">boot-start-marker</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">warm-reboot</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">boot-end-marker</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">card type e1 0 2</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">logging message-counter syslog</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">logging buffered 51200</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">no aaa new-model</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">clock timezone GMT -3</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">network-clock-participate wic 2</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">dot11 syslog</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">ip source-route</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">ip cef</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">no ipv6 cef</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">multilink bundle-name authenticated</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice service voip</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">fax protocol t38 ls-redundancy 2 hs-redundancy 0
fallback pass-through g711alaw</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> </span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">h323</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">sip</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> rel1xx disable</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice class codec 1</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">codec preference 1 g729r8</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">codec preference 2 g711alaw</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">codec preference 3 g711ulaw</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice call send-alert</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice call convert-discpi-to-prog</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice call carrier capacity active</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice rtp send-recv</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice-card 0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">archive</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">log config</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> hidekeys</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">controller E1 0/2/0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">framing NO-CRC4</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">ds0-group 0 timeslots 1-15,17-31 type r2-digital
r2-compelled ani</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">cas-custom 0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> country brazil</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> metering</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> release-ack</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New""> answer-signal
group-b 1</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">description PABX R2</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">interface FastEthernet0/0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">ip address 192.168.1.220 255.255.255.0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">duplex auto</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">speed auto</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">interface FastEthernet0/1</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">no ip address</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">shutdown</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">duplex auto</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">speed auto</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">ip forward-protocol nd</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">ip route 0.0.0.0 0.0.0.0 192.168.1.1</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">no ip http server</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">no ip http secure-server</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">control-plane</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">disable-eadi</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice-port 0/2/0:0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">input gain 3</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">output attenuation -3</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">cptone BR</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">bearer-cap 3100Hz</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">mgcp fax t38 ecm</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">mgcp behavior g729-variants static-pt</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">dial-peer voice 1 pots</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">description E1 PABX para SIP</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">incoming called-number .T</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">no digit-strip</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">direct-inward-dial</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">dial-peer voice 2 voip</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">description E1 PABX para SIP</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">destination-pattern .T</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">voice-class codec 1</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">session protocol sipv2</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">session target ipv4:<a href="http://100.100.100.1:5060">100.100.100.1:5060</a></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">session transport udp</span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">dtmf-relay
rtp-nte</span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">no vad</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">sip-ua</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">nat symmetric check-media-src</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">line con 0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">line aux 0</span></p>
<p class="MsoPlainText"><span lang="EN-US" style="font-family:"Courier New"">line vty 0 4</span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">login</span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">!</span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">scheduler
allocate 20000 1000</span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">end</span></p><p class="MsoPlainText"><span style="font-family:"Courier New"">----------------FIM------------------</span></p><p class="MsoPlainText">
<span style="font-family:"Courier New""><br></span></p></div><div><br></div><div><div class="gmail_quote">Em 10 de setembro de 2012 09:05, Nicolau Costa <span dir="ltr"><<a href="mailto:nicogen@gmail.com" target="_blank">nicogen@gmail.com</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bom dia pessoal,<br><br>Estou tentando configurar um router Cisco 2801 com uma placa E1.<br>Alguem já fez essa configuração e pode me ajudar?<br>
A sinalização é R2.<br>Já fiz algumas configurações mas ainda não obtive sucesso.<br>
<br>A configuração referente ao E1 do meu router está assim:<br><br>controller E1 0/1/0<br> framing NO-CRC4<br> ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani<br> cas-custom 0<br> country brazil<br> answer-signal group-b 1<br>
!<br>dial-peer voice 1 voip<br> destination-pattern ....<br> session protocol sipv2<br> session target ipv4:<a href="http://192.168.140.240:5060" target="_blank">192.168.140.240:5060</a><br> session transport udp<br> dtmf-relay rtp-nte<br>
codec g711ulaw<br>!<br>dial-peer voice 2 pots<br> service session<br> destination-pattern [0-9]T<br> direct-inward-dial<br> port 0/1/0:0<br>!<br>!<br>sip-ua<br> sip-server ipv4:<a href="http://192.168.140.240:5060" target="_blank">192.168.140.240:5060</a><br>
!<br>!<br>end<br><br><br>Alguem pode me ajudar??<br><br><br>Abraço<span class="HOEnZb"><font color="#888888"><br><br>Nicolau Costa<br><br>
</font></span><br>_______________________________________________<br>
KHOMP Inovação: External Board Series<br>
Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.<br>
Tenha a External Series Experience na sua aplicação. Visite <a href="http://www.khomp.com" target="_blank">www.khomp.com</a><br>
_______________________________________________<br>
DIGIVOICE Fabricante de Placas de Voz e Channel Bank<br>
20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br>
Centro Treinamento - Curso de PABX IP - Asterisk - Site <a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a><br>
________<br>
YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<br>
email: <a href="mailto:yealink@commlogik.com.br">yealink@commlogik.com.br</a> | <a href="http://www.commlogik.com.br" target="_blank">www.commlogik.com.br</a> | <a href="tel:%2811%29%205503-1011" value="+551155031011">(11) 5503-1011</a><br>
______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div>
<br></div>