no primeiro cenario. antes de testar o zztool voce deve "subir" o modulo da sua placa tipo: modprobe wctdm. <br><br>benflodin.<br><br><div><span class="gmail_quote">On 2/23/07, <b class="gmail_sendername">Sadi Nogueira
</b> <<a href="mailto:forums@sadi.eti.br">forums@sadi.eti.br</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Obrigado Josué e Rdo... </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">eu já havia visto esse tuto, mas não tentado... Touché!
Funciona quase tudo perfeitamente (quase tudo porque até o final dessa resposta,
eu estava apanhando com os codecs) ...</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Obrigado mesmo. Faltava tentar esse, mas agora
foi.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left">
<hr>
</div>
<div dir="ltr" align="left"><font face="Tahoma" size="2"><b>De:</b>
<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>
[mailto:<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b>Em nome de
</b>Rdo<br><b>Enviada em:</b> quinta-feira, 22 de fevereiro de 2007
17:57<br><b>Para:</b>
<a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Assunto:</b> Re: [AsteriskBrasil]
Zaptel x Debian - Problemas na compilação<br></font><br></div><div><span class="e" id="q_110fe6ccdbc0294f_1">
<div></div><a href="http://clx.digi.com.br/wiki/bin/view/Asterisk/TutorialAsteriskUnicallFax" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://clx.digi.com.br/wiki/bin/view/Asterisk/TutorialAsteriskUnicallFax
</a><br><br><br><br>
<div><span class="gmail_quote">On 2/22/07, <b class="gmail_sendername">Josué
Conti</b> <<a href="mailto:josueconti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">josueconti@gmail.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Olá,
veja se as bibliotecas abaixo estão instaladas: <pre>apt-get install libnewt-dev libssl0.9.7 libssl-dev zlib1g-dev libncurses5-dev libeditline0 libeditline-dev libedit2 libedit-dev libreadline4-dev libreadline4 kernel-headers-`uname -r' mpg123 libmysqlclient15-dev libtiff4 libtiff4-dev libxml2 libxml2-dev
<br><br></pre>Abraço e boa sorte.<br><br>
<div><span class="gmail_quote">2007/2/22, Sadi Nogueira <<a href="mailto:forums@sadi.eti.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">forums@sadi.eti.br
</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span>
<div>
<div><span><font face="Arial" size="2">Pessoal, não sei se já passou por aqui
uma dúvida parecida e desculpem pelo tamanho do post...</font></span></div>
<div><span><font face="Arial" size="2"></font></span><span><font face="Arial" size="2"></font></span> </div>
<div><span> <font face="Arial" size="2">Já consegui instalar e
fazer funcionar o ASTERISK no FreeBSD por completo, mas por razões
neo-politico-sócio-agropecuária , tenho que manter no ambiente o
Debian.</font></span></div>
<div><span><font face="Arial" size="2">Se eu instalar o Asterisk pelo apt-get do
Debian 3.1 r5 (P-III 600, 256MB, 3C905C-TX), tudo instala normalmente, o
Zaptel não dá erro mas também não funciona. </font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">servidor:~# apt-get install
zaptel<br>Reading Package Lists... Done<br>Building Dependency Tree...
Done<br>The following NEW packages will be installed:<br> zaptel<br>0
upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br>Need to get
0B/39.6kB of archives.<br>After unpacking 311kB of additional disk space
will be used.<br>Selecting previously deselected package zaptel.<br>(Reading
database ... 28758 files and directories currently installed.)<br>Unpacking
zaptel (from .../zaptel_1%3a1.0.7-4.1_i386.deb) ...<br>Setting up zaptel
(1.0.7-4.1) ...</font></span></div>
<div><font face="Arial" size="2"></font> </div>
<div><span><font face="Arial" size="2">servidor:~# zttool<br>Unable to open
/dev/zap/ctl: No such device<br>servidor:~#<br></font></span></div>
<div><span><font face="Arial" size="2">Se eu baixar e tentar compilar,
t<span><font face="Arial" size="2">oda a instalação corre normalmente, exceto a
do zaptel que dá erro assim que eu dou o primeiro comando. Já tentei com o
Kernel 2.4 e com o Kernel 2.6 e acontece a mesma coisa.
</font></span></font></span></div>
<div><span></span><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">servidor:/usr/src/zaptel-1.2# make
clean<br>rm -f torisatool makefw tor2fw.h radfw.h<br>rm -f ztcfg torisatool
makefw ztmonitor ztspeed zttest fxotune zttool<br>rm -f patgen pattest
patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest<br>rm -f *.o
ztcfg tzdriver sethdlc sethdlc-new<br>rm -f zonedata.lo tonezone.lo
libtonezone.so *.lo<br>make -C SUBDIRS=/usr/src/zaptel-1.2
clean<br>make: *** SUBDIRS=/usr/src/zaptel-1.2: No such file or
directory. Stop.<br>make: *** [clean] Error
2<br>servidor:/usr/src/zaptel-1.2#<br></font></span></div>
<div><span><font face="Arial" size="2">Se eu tentar seguir e mandar compilar,
olhem o que ocorre:</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">servidor:/usr/src/zaptel-1.2# make<br>cc
-DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -I. -O4 -g -Wall
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o
gendigits.c<br>cc -o gendigits gendigits.o -lm<br>./gendigits >
tones.h<br>cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -I. -O4 -g
-Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
makefw.c -o makefw<br>./makefw tormenta2.rbt tor2fw >
tor2fw.h<br>Loaded 69900 bytes from file<br>./makefw pciradio.rbt radfw >
radfw.h<br>Loaded 42096 bytes from file</font></span></div>
<div><font face="Arial" size="2"></font> </div>
<div><span><font face="Arial" size="2">cc -I/include -O6 -DMODULE -D__KERNEL__
-DEXPORT_SYMTAB -I/drivers/net -Wall -I. -Wstrict-prototypes
-fomit-frame-pointer -I/drivers/net/wan -I/include/net
-DSTANDALONE_ZAPATA -o zaptel-base.o -c zaptel-base.c<br>In file included
from zaptel-base.c:41:<br>/usr/include/linux/kernel.h:72: error: syntax
error before "size_t"<br>/usr/include/linux/kernel.h:74: error: syntax error
before "size_t"<br>In file included from
/usr/include/linux/timex.h:186,<br>
from
/usr/include/linux/sched.h:11,<br>
from
/usr/include/linux/module.h:10,<br>
from zaptel-base.c:43:<br>/usr/include/linux/time.h:14: error: syntax error
before "time_t"<br>/usr/include/linux/time.h:16: error: syntax error before
'}' token<br>/usr/include/linux/time.h:20: error: syntax error before
"time_t"<br>In file included from
/usr/include/linux/timex.h:186,<br>
from
/usr/include/linux/sched.h:11,<br>
from
/usr/include/linux/module.h:10,<br>
from zaptel-base.c:43:<br>/usr/include/linux/time.h: In function
`timespec_to_jiffies':<br>/usr/include/linux/time.h:198: error:
dereferencing pointer to incomplete type<br>/usr/include/linux/time.h:199:
error: dereferencing pointer to incomplete
type<br>/usr/include/linux/time.h: In function
`jiffies_to_timespec':<br>/usr/include/linux/time.h:219: error:
dereferencing pointer to incomplete type<br>/usr/include/linux/time.h:219:
error: dereferencing pointer to incomplete
type<br>/usr/include/linux/time.h: In function
`timeval_to_jiffies':<br>/usr/include/linux/time.h:237: error: dereferencing
pointer to incomplete type<br>/usr/include/linux/time.h:238: error:
dereferencing pointer to incomplete type<br>/usr/include/linux/time.h: In
function `jiffies_to_timeval':<br>/usr/include/linux/time.h:257: error:
dereferencing pointer to incomplete type<br>/usr/include/linux/time.h:257:
error: dereferencing pointer to incomplete
type<br>/usr/include/linux/time.h:258: error: dereferencing pointer to
incomplete type<br>/usr/include/linux/time.h: In function
`timespec_equal':<br>/usr/include/linux/time.h:263: error: dereferencing
pointer to incomplete type<br>/usr/include/linux/time.h:263: error:
dereferencing pointer to incomplete type<br>/usr/include/linux/time.h:263:
error: dereferencing pointer to incomplete
type<br>/usr/include/linux/time.h:263: error: dereferencing pointer to
incomplete type<br>/usr/include/linux/time.h: In function
`get_seconds':<br>/usr/include/linux/time.h:305: error: invalid use of
undefined type `struct timespec'<br>/usr/include/linux/time.h: At top
level:<br>/usr/include/linux/time.h:329: error: syntax error before
"time_t"<br>/usr/include/linux/time.h: In function
`set_normalized_timespec':<br>/usr/include/linux/time.h:331: error: `nsec'
undeclared (first use in this function)<br>/usr/include/linux/time.h:331:
error: (Each undeclared identifier is reported only
once<br>/usr/include/linux/time.h:331: error: for each function it appears
in.)<br>/usr/include/linux/time.h:333: error: `sec' undeclared (first use in
this function)<br>/usr/include/linux/time.h:339: error: `ts' undeclared
(first use in this function)<br>/usr/include/linux/time.h: At top
level:<br>/usr/include/linux/time.h:359: error: field `it_interval' has
incomplete type<br>/usr/include/linux/time.h:360: error: field `it_value'
has incomplete type<br>/usr/include/linux/time.h:364: error: field
`it_interval' has incomplete type<br>/usr/include/linux/time.h:365: error:
field `it_value' has incomplete type<br>In file included from
/usr/include/linux/sched.h:11,<br>
from
/usr/include/linux/module.h:10,<br>
from zaptel-base.c:43:<br>/usr/include/linux/timex.h:203: error: field
`time' has incomplete type<br>In file included from
/usr/include/linux/string.h:23,<br>
from
/usr/include/linux/bitmap.h:11,<br>
from
/usr/include/linux/cpumask.h:8,<br>
from
/usr/include/linux/sched.h:15,<br>
from
/usr/include/linux/module.h:10,<br>
from zaptel-base.c:43:<br>/usr/include/asm/string.h:41: error: syntax error
before "size_t"<br>/usr/include/asm/string.h: In function
`strncpy':<br>/usr/include/asm/string.h:55: error: `src' undeclared (first
use in this function)<br>/usr/include/asm/string.h:55: error: `dest'
undeclared (first use in this function)<br>/usr/include/asm/string.h:55:
error: `count' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:77: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`strncat':<br>/usr/include/asm/string.h:94: error: `src' undeclared (first
use in this function)<br>/usr/include/asm/string.h:94: error: `dest'
undeclared (first use in this function)<br>/usr/include/asm/string.h:94:
error: `count' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:121: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`strncmp':<br>/usr/include/asm/string.h:139: error: `cs' undeclared (first
use in this function)<br>/usr/include/asm/string.h:139: error: `ct'
undeclared (first use in this function)<br>/usr/include/asm/string.h:139:
error: `count' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:180: error: syntax error before
"strlen"<br>/usr/include/asm/string.h:193: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`__memcpy':<br>/usr/include/asm/string.h:206: error: `n' undeclared (first
use in this function)<br>/usr/include/asm/string.h:206: error: `to'
undeclared (first use in this function)<br>/usr/include/asm/string.h:206:
error: `from' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:215: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`__constant_memcpy':<br>/usr/include/asm/string.h:217: error: `n' undeclared
(first use in this function)<br>/usr/include/asm/string.h:218: error: `to'
undeclared (first use in this function)<br>/usr/include/asm/string.h:218:
error: `from' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:299: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`memmove':<br>/usr/include/asm/string.h:302: error: `dest' undeclared (first
use in this function)<br>/usr/include/asm/string.h:302: error: `src'
undeclared (first use in this function)<br>/usr/include/asm/string.h:307:
error: `n' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:326: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`memchr':<br>/usr/include/asm/string.h:330: error: `count' undeclared (first
use in this function)<br>/usr/include/asm/string.h:338: error: `c'
undeclared (first use in this function)<br>/usr/include/asm/string.h:338:
error: `cs' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:342: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`__memset_generic':<br>/usr/include/asm/string.h:349: error: `c' undeclared
(first use in this function)<br>/usr/include/asm/string.h:349: error: `s'
undeclared (first use in this function)<br>/usr/include/asm/string.h:349:
error: `count' undeclared (first use in this
function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:362: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`__constant_c_memset':<br>/usr/include/asm/string.h:375: error: `c'
undeclared (first use in this function)<br>/usr/include/asm/string.h:375:
error: `count' undeclared (first use in this
function)<br>/usr/include/asm/string.h:375: error: `s' undeclared (first use
in this function)<br>/usr/include/asm/string.h: At top
level:<br>/usr/include/asm/string.h:382: error: syntax error before
"strnlen"<br>/usr/include/asm/string.h:382: error: syntax error before
"size_t"<br>/usr/include/asm/string.h: In function
`strnlen':<br>/usr/include/asm/string.h:397: error: `s' undeclared (first
use in this function)<br>/usr/include/asm/string.h:397: error: `count'
undeclared (first use in this function)<br>...</font></span></div>
<div><span><font face="Arial" size="2">( </font></span><span><font face="Arial" size="2">mais 1 milhão de terabytes de mensagens como essas
seguidas</font></span><span><font face="Arial" size="2">)</font></span></div>
<div><span><font face="Arial" size="2">...</font></span></div>
<div><span><font face="Arial" size="2">zaptel.h:1162: error: storage size of
`confin' isn't known<br>zaptel.h:1163: error: storage size of `confout'
isn't known<br>zaptel-base.c:6560: error: storage size of `zt_fops' isn't
known<br>make: *** [zaptel-base.o] Error
1<br>servidor:/usr/src/zaptel-1.2#</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Alguém já tentou (conseguiu) instalar o
Zaptel no Debian, ou declaradamente não funciona?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Enquanto escrevo esse testamento, tento o
FEDORA CORE 5...</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Abraços.</font></span></div></div></span></div><br>----------------------------------------<br>Estação
VoIP 2006<br>5 e 6 Dezembro<br>Curitiba PR<br><a href="http://www.estacaovoip.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.estacaovoip.com.br
</a><br><br>_______________________________________________<br>LIsta de
discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">AsteriskBrasil@listas.asteriskbrasil.org </a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a>
<br><br>_______________________________________________<br>Acesse o
wiki AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.asteriskbrasil.org
</a><br></blockquote></div><br><br>----------------------------------------<br>Estação
VoIP 2006<br>5 e 6 Dezembro<br>Curitiba PR<br><a href="http://www.estacaovoip.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.estacaovoip.com.br
</a><br><br>_______________________________________________<br>LIsta de
discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">AsteriskBrasil@listas.asteriskbrasil.org
</a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
</a>
<br><br>_______________________________________________<br>Acesse o wiki
AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.asteriskbrasil.org </a><br></blockquote></div><br><br clear="all"><br>--
<br> . ' ' ` . Rodrigo
Sertori<br>: : ' : Analista de
Sistemas<br>`. ` ' ` +55 16 9151
1392<br> `- </span></div></div>
<br>----------------------------------------<br>Estação VoIP 2006<br>5 e 6 Dezembro<br>Curitiba PR<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.estacaovoip.com.br" target="_blank">http://www.estacaovoip.com.br
</a><br><br>_______________________________________________<br>LIsta de discussões AsteriskBrasil.org<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a>
<br><br>_______________________________________________<br>Acesse o wiki AsteriskBrasil.org:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.asteriskbrasil.org" target="_blank">http://www.asteriskbrasil.org
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Andre Souza