<!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.2800.1611" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>continua sim,
ja estava habilitado!<BR><BR>saca só, a linha chega direto na placa X100P,
ele<BR>atende tudo e tal, mas nao reconhece os DTMF.<BR><BR>Via sip ele funciona
perfeito!<BR><BR>segue abaixo as confs. do zapata.conf, zaptel.conf e a
extension<BR><BR>zaptel.conf<BR>=======<BR>fxsks=1<BR>loadzone
= br<BR>defaultzone =
br<BR><BR>zapata.conf<BR>=======<BR>[channels]<BR>context=entrada<BR>signalling=fxs_ks<BR>callerid=asreceived<BR>mailbox=<BR>group=0<BR>relaxdtmf=yes<BR>busydetect=no<BR>channel
=> 1<BR><BR>extensions.conf<BR>==========<BR>[entrada]<BR>
exten => s,1, Answer<BR> exten => s,2,
GoTo(valida_funcionario,s,1)<BR><BR>[valida_funcionario]<BR><BR>exten =>
s,1,PlayBack(dig_funcionario)<BR>exten =>
s,2,Read(digi_func,,4,,,30000)<BR>exten => s,3,System(echo ${digi_func}
><BR>/usr/share/asterisk/agi-bin/funcionario.txt)<BR>exten =>
s,4,PlayBack(dig_senha)<BR>exten => s,5,Read(digi_senha,,5,,,30000)<BR>exten
=> s,6,System(echo ${digi_senha}
><BR>/usr/share/asterisk/agi-bin/senha.txt)<BR>exten =>
s,7,Agi,valida_funcionario.php<BR><BR><BR>Tambem estou postando aqui o debug do
console do asterisk<BR><BR> -- Starting simple switch on
'Zap/1-1'<BR>Jun 19 10:30:40 NOTICE[21503]: chan_zap.c:6195 ss_thread: Got event
18 (Ring<BR>Begin)...<BR>Jun 19 10:30:41 NOTICE[21503]: chan_zap.c:6195
ss_thread: Got event 2<BR>(Ring/Answered)...<BR> -- Executing
Answer("Zap/1-1", "") in new stack<BR> -- Executing
Goto("Zap/1-1", "valida_funcionario|s|1") in new stack<BR> --
Goto (valida_funcionario,s,1)<BR> -- Executing
Playback("Zap/1-1", "dig_funcionario") in new stack<BR> --
Playing 'dig_funcionario' (language 'en')<BR> -- Executing
Read("Zap/1-1", "digi_func||4|||30000") in new stack<BR> --
Accepting a maximum of 4
digits.<BR><BR><BR>Obrigado</FONT><BR></FONT></DIV></BODY></HTML>