<!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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Segue trechos dos aquivos de
configuração:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>### zapata.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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=>1,2
; Dos canias, um de cada placa md3200<BR>callerid="Interface FXO"
<0000000000></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>## extensions.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[from-sip]<BR>include =>
zapatasaidaramal
;libera chamadas pela zapramal para ramais<BR>include =>
zapatasaidalocal
;libera chamadas pela zaplocal para ramais<BR>include =>
zapatasaidaddd
;libera chamadas pela zapddd para ramais<BR>exten =>
201,1,Dial(SIP/201,20)<BR>exten => 202,1,Dial(SIP/202,20)<BR>exten =>
203,1,Dial(SIP/203,20)<BR>exten => 204,1,Dial(SIP/204,20)<BR>exten =>
207,1,Dial(SIP/207,20)<BR>exten => 208,1,Dial(SIP/208,20)<BR>exten =>
301,1,Dial(SIP/301,20)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>[zapatasaidaramal]<BR>exten =>
_9NZXX,1,Dial(ZAP/1/${EXTEN:1}) ;disque 9 + numero local para
uma ligacao local<BR>exten =>
_9NZXX,2,Congestion()
;se nao atender<BR>exten =>
_9NZXX,102,Congestion()
;se estiver ocupado</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[zapatasaidalocal]<BR>exten =>
_91NZXXXXXX,1,Dial(ZAP/1/${EXTEN:1}) ;disque 9 + numero local
para uma ligacao local<BR>exten =>
_91NZXXXXXX,2,Congestion()
;se nao atender<BR>exten =>
_91NZXXXXXX,102,Congestion()
;se estiver ocupado</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[zapatasaidaddd]<BR>exten =>
_92XZZZZNNXXXXXX,1,Dial(ZAP/1/${EXTEN:2}) ;disque
91 + ligacao ddd normal para fazer um ddd<BR>exten =>
_92XZZZZNNXXXXXX,2,Congestion()
;se nao atender<BR>exten =>
_92XZZZZNNXXXXXX,102,Congestion()
;se estiver ocupado<BR></DIV></FONT></BODY></HTML>