<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Codec, qual o que vc está usando?</DIV>
<DIV>&nbsp;</DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV>&nbsp;</DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=paulobruck1@gmail.com 
href="mailto:paulobruck1@gmail.com">paulo bruck</A> </DIV>
<DIV><B>Sent:</B> Thursday, December 06, 2012 5:18 PM</DIV>
<DIV><B>To:</B> <A title=asteriskbrasil@listas.asteriskbrasil.org 
href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</A> 
</DIV>
<DIV><B>Subject:</B> [AsteriskBrasil] problemas com snep em ligacões de fora 
para ramal ionterno</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Boa 
tarde pessoal e Raphael 
<DIV>&nbsp;</DIV>
<DIV>Voltando ao problema do SNEP</DIV>
<DIV>&nbsp;</DIV>
<DIV>debian squeeze</DIV>
<DIV>snep 2.0</DIV>
<DIV>asterisk 1.8.16</DIV>
<DIV>ebs khomp com 4fxo + 1 gsm</DIV>
<DIV>&nbsp;</DIV>
<DIV>o que esta funcionando:</DIV>
<DIV>&nbsp;</DIV>
<DIV>ramal -&gt; ramal</DIV>
<DIV>ramal -&gt; fixo via tronco analogico</DIV>
<DIV>ramal -&gt; celular&nbsp; via gsm</DIV>
<DIV>o que não funciona...-&gt; ligação de fora para ramal interno</DIV>
<DIV>&nbsp;</DIV>
<DIV>no snep&nbsp; eu ja cadastrei todos os ramais e troncos da khomp</DIV>
<DIV>ligado no tronco da khomp eu tenho o&nbsp; 35964883</DIV>
<DIV>em tronco normal sem estar ligado na khomp eu tenho o 35964881</DIV>
<DIV>&nbsp;</DIV>
<DIV>seguindo a ideia do Raphael eu coloquei</DIV>
<DIV>uma rota assim na regra de negocios:</DIV>
<DIV>origem - expressao regular - 35964881</DIV>
<DIV>destino - expressao regular 35964883</DIV>
<DIV>&nbsp;</DIV>
<DIV>em acao eu coloquei -&gt; discar diretamente para ramal 1010</DIV>
<DIV>&nbsp;</DIV>
<DIV>quando tento dicar do tel 35964881 para o 35964883 ele me mostra o seguinte 
nos logs do asterisk( quando o rasterisk -vvvvvddddd)</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>&nbsp; == Parsing '/etc/asterisk/asterisk.conf': Parsing 
/etc/asterisk/asterisk.conf</DIV>
<DIV>&nbsp; == Found</DIV>
<DIV>Seeding global EID '00:50:43:00:45:3e' from 'eth0' using 
'siocgifhwaddr'</DIV>
<DIV>&nbsp; == Parsing '/etc/asterisk/extconfig.conf': Parsing 
/etc/asterisk/extconfig.conf</DIV>
<DIV>&nbsp; == Found</DIV>
<DIV>&nbsp; == Binding queues to odbc/snep/queues</DIV>
<DIV>&nbsp; == Binding queue_members to odbc/snep/queue_members</DIV>
<DIV>&nbsp; == Binding voicemail to odbc/snep/voicemail_users</DIV>
<DIV>Connected to Asterisk 1.8.13.1~dfsg-1~bpo60+1 currently running on zeus 
(pid = 8894)</DIV>
<DIV>Verbosity is at least 3</DIV>
<DIV>Core debug was 0 and is now 5</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- Executing [i@default:1] Set("Khomp/B0C2-0.0", 
"CHANNEL(language)=pt_BR") in new stack</DIV>
<DIV>&nbsp;&nbsp;&nbsp; <B>-- Executing [i@default:2] Playback("Khomp/B0C2-0.0", 
"invalid") in new stack</B></DIV>
<DIV>[Dec&nbsp; 6 17:11:35] WARNING[9291]: file.c:663 ast_openstream_full: File 
invalid does not exist in any format</DIV>
<DIV>[Dec&nbsp; 6 17:11:35] WARNING[9291]: file.c:958 ast_streamfile: Unable to 
open invalid (format 0x8 (alaw)): No such file or directory</DIV>
<DIV>[Dec&nbsp; 6 17:11:35] WARNING[9291]: app_playback.c:475 playback_exec: 
ast_streamfile failed on Khomp/B0C2-0.0 for invalid</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- Executing [i@default:3] Hangup("Khomp/B0C2-0.0", "") 
in new stack</DIV>
<DIV>&nbsp; == Spawn extension (default, i, 3) exited non-zero on 
'Khomp/B0C2-0.0'</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- Executing [h@default:1] Hangup("Khomp/B0C2-0.0", "") 
in new stack</DIV>
<DIV>&nbsp; == Spawn extension (default, h, 1) exited non-zero on 
'Khomp/B0C2-0.0'</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>e fica mudo....</DIV>
<DIV>&nbsp;</DIV>
<DIV>quando coloco o que o pessoal da khomp me enviou o abaixo no arquivo 
/etc/asterisk/custom/eof.conf</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>
<DIV>[khomp-00]</DIV>
<DIV>exten =&gt; s,1,Dial(SIP/1010)</DIV>
<DIV>exten =&gt; s,n,Hangup()</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>fiz a ligação&nbsp; e funcionou.</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>&nbsp; == Parsing '/etc/asterisk/asterisk.conf': Parsing 
/etc/asterisk/asterisk.conf</DIV>
<DIV>&nbsp; == Found</DIV>
<DIV>Seeding global EID '00:50:43:00:45:3e' from 'eth0' using 
'siocgifhwaddr'</DIV>
<DIV>&nbsp; == Parsing '/etc/asterisk/extconfig.conf': Parsing 
/etc/asterisk/extconfig.conf</DIV>
<DIV>&nbsp; == Found</DIV>
<DIV>&nbsp; == Binding queues to odbc/snep/queues</DIV>
<DIV>&nbsp; == Binding queue_members to odbc/snep/queue_members</DIV>
<DIV>&nbsp; == Binding voicemail to odbc/snep/voicemail_users</DIV>
<DIV>Connected to Asterisk 1.8.13.1~dfsg-1~bpo60+1 currently running on zeus 
(pid = 11008)</DIV>
<DIV>Verbosity is at least 3</DIV>
<DIV>Core debug was 0 and is now 5</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- Executing [s@khomp-00:1] Dial("Khomp/B0C2-0.0", 
"SIP/1010") in new stack</DIV>
<DIV>&nbsp; == Using SIP RTP TOS bits 184</DIV>
<DIV>&nbsp; == Using SIP RTP CoS mark 5</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- Called SIP/1010</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- SIP/1010-00000000 is ringing</DIV>
<DIV>&nbsp;&nbsp;&nbsp; -- SIP/1010-00000000 answered Khomp/B0C2-0.0</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>pelo que o pessoal da Khomp me passou é algo relacionado ao 
default....</DIV>
<DIV>&nbsp;</DIV>
<DIV>agora a pergunta é, onde arrumo isto???</DIV>
<DIV>&nbsp;</DIV>
<DIV>[]s a todos</DIV>
<DIV>&nbsp;</DIV>
<P>
<HR>
_______________________________________________<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 
www.khomp.com<BR>_______________________________________________<BR>DIGIVOICE&nbsp; 
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 -&nbsp; 
Asterisk&nbsp; - Site&nbsp; www.digivoice.com.br<BR>________<BR>YEALINK: 
Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<BR>email: 
yealink@commlogik.com.br | www.commlogik.com.br | (11) 
5503-1011<BR>______________________________________________<BR>Para remover seu 
email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</DIV></DIV></DIV></BODY></HTML>