<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Pessoal,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Após configurar o asterisk, tentei fazer uma 
discagem usando um tronco fxs e o asterisk apresentou o seguinte 
erro:</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Unable to create channel of type 'ZAP' 
(cause 0 - Unknown)</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Alguém teve o mesmo problema? Como posso 
resolvê-lo? Desde já agradeço a ajuda.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Segue trechos dos aquivos de 
configuração:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><STRONG>### zapata.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>[channels]<BR>language=br<BR>context=entrada<BR>switchtype=national<BR>signalling=fxs_ks<BR>rxwink=300<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=yes<BR>echotraining=yes<BR>echotraining=800<BR>relaxdtmf=yes<BR>rxgain=0.0<BR>txgain=0.0<BR>group=1<BR>callgroup=1<BR>pickupgroup=1<BR>immediate=no<BR>busydetect=yes<BR>busycount=4<BR>musiconhold=default<BR>channel=&gt;1,2 
; Dos canias, um de cada placa md3200<BR>callerid="Interface FXO" 
&lt;0000000000&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><STRONG>## extensions.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[from-sip]<BR>include =&gt; 
zapatasaidaramal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;libera chamadas pela zapramal para ramais<BR>include =&gt; 
zapatasaidalocal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;libera chamadas pela zaplocal para ramais<BR>include =&gt; 
zapatasaidaddd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;libera chamadas pela zapddd para ramais<BR>exten =&gt; 
201,1,Dial(SIP/201,20)<BR>exten =&gt; 202,1,Dial(SIP/202,20)<BR>exten =&gt; 
203,1,Dial(SIP/203,20)<BR>exten =&gt; 204,1,Dial(SIP/204,20)<BR>exten =&gt; 
207,1,Dial(SIP/207,20)<BR>exten =&gt; 208,1,Dial(SIP/208,20)<BR>exten =&gt; 
301,1,Dial(SIP/301,20)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>[zapatasaidaramal]<BR>exten =&gt; 
_9NZXX,1,Dial(ZAP/1/${EXTEN:1})&nbsp;&nbsp;&nbsp; ;disque 9 + numero local para 
uma ligacao local<BR>exten =&gt; 
_9NZXX,2,Congestion()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;se nao atender<BR>exten =&gt; 
_9NZXX,102,Congestion()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;se estiver ocupado</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[zapatasaidalocal]<BR>exten =&gt; 
_91NZXXXXXX,1,Dial(ZAP/1/${EXTEN:1})&nbsp;&nbsp;&nbsp; ;disque 9 + numero local 
para uma ligacao local<BR>exten =&gt; 
_91NZXXXXXX,2,Congestion()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;se nao atender<BR>exten =&gt; 
_91NZXXXXXX,102,Congestion()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;se estiver ocupado</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[zapatasaidaddd]<BR>exten =&gt; 
_92XZZZZNNXXXXXX,1,Dial(ZAP/1/${EXTEN:2})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;disque 
91 + ligacao ddd normal para fazer um ddd<BR>exten =&gt; 
_92XZZZZNNXXXXXX,2,Congestion()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;se nao atender<BR>exten =&gt; 
_92XZZZZNNXXXXXX,102,Congestion()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
;se estiver ocupado<BR></DIV></FONT></BODY></HTML>