Nunca usei o protocolo IAX, mas até onde sei o tcpdump é um sniffer&nbsp; portanto ela consegue montar qualquer pacote que esteja trafegando entre o host especificado e o server.<br><br>Aí dah pra vê as mensagens, mesmo que não seja SIP(Usei o sip como exemplo), mas com certeza o IAX tem uma troca de mensagem.<br>
<br><div><span class="gmail_quote">Em 26/02/08, <b class="gmail_sendername">Felipe R. Pasa</b> &lt;<a href="mailto:feliperp3@gmail.com">feliperp3@gmail.com</a>&gt; escreveu:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
nao adianta neste caso pois o iaxmodem usa protocolo IAX e nao sip<br> <br> basta ele registar o iaxmodem no asterisk que ja funciona<br> <br> Em 25/02/08, Raniere&lt;<a href="mailto:raniere.ee@gmail.com">raniere.ee@gmail.com</a>&gt; escreveu:<br>
 <br>&gt; Usa o &quot;tcpdump host IP-do-ATA&nbsp;&nbsp;-vv&quot;&nbsp;&nbsp; e veja quais são as mensagens que<br> &gt; estão trafegando.<br> &gt;<br> &gt; O protocolo SIP é composto por:<br> &gt;<br> &gt; ENVITE ---&gt;<br> &gt;<br> &gt; 200 / OK&nbsp;&nbsp;(Se registrou)<br>
 &gt;<br> &gt; 4XX&nbsp;&nbsp;(Se não registrou por uma certa classe de erros)<br> &gt;<br> &gt; 6XX (Se não registrou por uma outra classe de erros)<br> &gt;<br> &gt;<br> &gt; Aí é só ve o que tah sendo retornado pelo servidor.<br>
 &gt;<br> &gt; Em 25/02/08, Eduardo Assis - Pro Redes &lt;<a href="mailto:eassis@linuxmail.org">eassis@linuxmail.org</a>&gt; escreveu:<br> &gt; &gt; Realmente não está logado:<br> &gt; &gt;<br> &gt; &gt; asterisk*CLI&gt; iax2 show peers<br>
 &gt; &gt; Name/Username&nbsp;&nbsp;&nbsp;&nbsp;Host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mask<br> &gt; Port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status<br> &gt; &gt; 6565/6565&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Unspecified)&nbsp;&nbsp; (D)&nbsp;&nbsp;<a href="http://255.255.255.255">255.255.255.255</a>&nbsp;&nbsp;0<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UNKNOWN<br>
 &gt; &gt;<br> &gt; &gt;<br> &gt; &gt; Mas tem algum comando para eu ver o p q não registrou ? e como registrar ?<br> &gt; &gt;<br> &gt; &gt; Abraços.<br> &gt; &gt;<br> &gt; &gt;<br> &gt; &gt;<br> &gt; &gt; &gt; ----- Original Message -----<br>
 &gt; &gt; &gt; From: &quot;Guilherme Loch Waltrick Góes&quot; &lt;<a href="mailto:glwgoes@gmail.com">glwgoes@gmail.com</a>&gt;<br> &gt; &gt; &gt; To: <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br>
 &gt; &gt; &gt; Subject: Re: [AsteriskBrasil] Asterisk 1.4.17 + IAXModem + Hylafax<br> &gt; &gt; &gt; Date: Mon, 25 Feb 2008 14:53:16 -0300<br> &gt; &gt; &gt;<br> &gt; &gt; &gt;<br> &gt; &gt; &gt; Pelo jeito o teu IAXModem não conseguiu registrar no Asterisk. Dá uma<br>
 &gt; olhada<br> &gt; &gt; &gt; com mais carinho nisto.<br> &gt; &gt; &gt;<br> &gt; &gt; &gt; On Mon, Feb 25, 2008 at 2:02 PM, Eduardo Assis - Pro Redes &lt;<br> &gt; &gt; &gt; <a href="mailto:eassis@linuxmail.org">eassis@linuxmail.org</a>&gt; wrote:<br>
 &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; Configurei o Recebimento de fax e estou recebendo o seguinte erro<br> &gt; quando<br> &gt; &gt; &gt; &gt; transfiro para o ramal do Fax:<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; asterisk*CLI&gt;<br>
 &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;-- Executing [6565@proredes:1] Dial(&quot;SIP/10-08205ff0&quot;,<br> &gt; &quot;IAX2/6565|5|r&quot;)<br> &gt; &gt; &gt; &gt; in new stack<br> &gt; &gt; &gt; &gt; [Feb 25 12:54:34] WARNING[3157]: app_dial.c:1111 dial_exec_full:<br>
 &gt; Unable to<br> &gt; &gt; &gt; &gt; create channel of type &#39;IAX2&#39; (cause 3 - No route to destination)<br> &gt; &gt; &gt; &gt;&nbsp;&nbsp;== Everyone is busy/congested at this time (1:0/0/1)<br> &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;-- Executing [6565@proredes:2] Hangup(&quot;SIP/10-08205ff0&quot;, &quot;&quot;) in new<br>
 &gt; &gt; &gt; &gt; stack<br> &gt; &gt; &gt; &gt;&nbsp;&nbsp;== Spawn extension (proredes, 6565, 2) exited non-zero on<br> &gt; &gt; &gt; &gt; &#39;SIP/10-08205ff0&#39;<br> &gt; &gt; &gt; &gt; [Feb 25 12:54:34] NOTICE[3157]: cdr.c:434 ast_cdr_free: CDR on channel<br>
 &gt; &gt; &gt; &gt; &#39;SIP/10-08205ff0&#39; not posted<br> &gt; &gt; &gt; &gt; asterisk*CLI&gt;<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; Segue minhas confs.<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; #cat /etc/iaxmodem/ttyIAX0<br>
 &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; device /dev/ttyIAX0<br> &gt; &gt; &gt; &gt; owner uucp:uucp<br> &gt; &gt; &gt; &gt; mode 660<br> &gt; &gt; &gt; &gt; port 4570<br> &gt; &gt; &gt; &gt; refresh 60<br> &gt; &gt; &gt; &gt; server <a href="http://127.0.0.1">127.0.0.1</a><br>
 &gt; &gt; &gt; &gt; peername 6565<br> &gt; &gt; &gt; &gt; secret 6565<br> &gt; &gt; &gt; &gt; cidname 6565<br> &gt; &gt; &gt; &gt; cidnumber 6565<br> &gt; &gt; &gt; &gt; codec ulaw<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; #cat /etc/asterisk/iax.conf<br>
 &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; [6565]<br> &gt; &gt; &gt; &gt; username=6565<br> &gt; &gt; &gt; &gt; type=friend<br> &gt; &gt; &gt; &gt; context=fax<br> &gt; &gt; &gt; &gt; secret=18<br> &gt; &gt; &gt; &gt; host=dynamic<br>
 &gt; &gt; &gt; &gt; port=5060<br> &gt; &gt; &gt; &gt; callerid=&quot;Fax&quot; &lt;6565&gt;<br> &gt; &gt; &gt; &gt; qualify=yes<br> &gt; &gt; &gt; &gt; call-limit=5<br> &gt; &gt; &gt; &gt; dtmfmode=rfc2833<br> &gt; &gt; &gt; &gt; disallow=all<br>
 &gt; &gt; &gt; &gt; allow=ulaw<br> &gt; &gt; &gt; &gt; allow=alaw<br> &gt; &gt; &gt; &gt; callgroup=55<br> &gt; &gt; &gt; &gt; pickupgroup=55<br> &gt; &gt; &gt; &gt; qualify=yes<br> &gt; &gt; &gt; &gt; canreinvite=no<br>
 &gt; &gt; &gt; &gt; nat=yes<br> &gt; &gt; &gt; &gt; mailbox=6565@device<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; PS:<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; root@asterisk:~# ps ax | grep ia<br> &gt; &gt; &gt; &gt;&nbsp;&nbsp;3064 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0:00 /usr/sbin/iaxmodem ttyIAX0<br>
 &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; root@asterisk:~# ps ax | grep hy<br> &gt; &gt; &gt; &gt;&nbsp;&nbsp;2930 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ss&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/sbin/hfaxd -i hylafax<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; Tenho que fazer mais alguma coisa, ou é somente isso ?<br>
 &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; Abraços.<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; =<br> &gt; &gt; &gt; &gt; Search for products and services at:<br> &gt; &gt; &gt; &gt; <a href="http://search.mail.com">http://search.mail.com</a><br>
 &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; --<br> &gt; &gt; &gt; &gt; Powered by Outblaze<br> &gt; &gt; &gt; &gt; _______________________________________________<br> &gt; &gt; &gt; &gt; Compre uma camiseta da AsteriskBrasil.org!<br>
 &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.voipmania.com.br">http://www.voipmania.com.br</a><br> &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;== <a href="http://VoIPMania.com.br">VoIPMania.com.br</a> ==<br> &gt; &gt; &gt; &gt;<br>
 &gt; &gt; &gt; &gt; _______________________________________________<br> &gt; &gt; &gt; &gt; LIsta de discussões AsteriskBrasil.org<br> &gt; &gt; &gt; &gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
 &gt; &gt; &gt; &gt;<br> &gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt;<br> &gt; &gt; &gt;<br>
 &gt; &gt; &gt;<br> &gt; &gt; &gt; --<br> &gt; &gt; &gt; Guilherme Loch Góes<br> &gt; &gt; &gt;<br> &gt; &gt; &gt; Visite nossa loja virtual: <a href="http://www.shopvoip.com.br">http://www.shopvoip.com.br</a><br> &gt; &gt; &gt;<br>
 &gt; &gt; &gt; Notícias e Fórum sobre VoIP com software livre:<br> &gt; &gt; &gt; <a href="http://www.asteriskexperts.com.br">http://www.asteriskexperts.com.br</a><br> &gt; &gt; &gt;<br> &gt; &gt; &gt; _______________________________________________<br>
 &gt; &gt; &gt; Compre uma camiseta da AsteriskBrasil.org!<br> &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.voipmania.com.br">http://www.voipmania.com.br</a><br> &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;== <a href="http://VoIPMania.com.br">VoIPMania.com.br</a> ==<br>
 &gt; &gt; &gt;<br> &gt; &gt; &gt; _______________________________________________<br> &gt; &gt; &gt; LIsta de discussões AsteriskBrasil.org<br> &gt; &gt; &gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
 &gt; &gt; &gt;<br> &gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br> &gt; &gt;<br> &gt; &gt; &gt;<br> &gt; &gt;<br> &gt; &gt;<br>
 &gt; &gt;<br> &gt; &gt; =<br> <br>&gt; &gt; Investools(R) - Learn Real Estate Investing<br> <br>&gt; &gt; Start Learning Today! Attend a Free Introductory Investment Class.<br> &gt; &gt;<br> &gt; <a href="http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=c5ffe5922e90a31cd6cf55f30f883466">http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=c5ffe5922e90a31cd6cf55f30f883466</a><br>
 &gt; &gt;<br> &gt; &gt;<br> &gt; &gt;<br> &gt; &gt; --<br> &gt; &gt;<br> &gt; &gt; Powered by Outblaze<br> &gt; &gt; _______________________________________________<br> &gt; &gt; Compre uma camiseta da AsteriskBrasil.org!<br>
 &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.voipmania.com.br">http://www.voipmania.com.br</a><br> &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; == <a href="http://VoIPMania.com.br">VoIPMania.com.br</a> ==<br> &gt; &gt;<br> &gt; &gt; _______________________________________________<br>
 &gt; &gt; LIsta de discussões AsteriskBrasil.org<br> &gt; &gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br> &gt; &gt;<br> &gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
 &gt; &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt; --<br> &gt; Raniere dos Santos Machado<br> &gt;&nbsp;&nbsp;Engenheiro Eletricista<br> &gt; Intechne - Tecnologia da Informação<br> &gt; Tel : 55 98 32468182<br> &gt; Cel: 55 98 81633180<br>
 <br>&gt; _______________________________________________<br> &gt;&nbsp;&nbsp;Compre uma camiseta da AsteriskBrasil.org!<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.voipmania.com.br">http://www.voipmania.com.br</a><br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; == <a href="http://VoIPMania.com.br">VoIPMania.com.br</a> ==<br>
 &gt;<br> &gt;&nbsp;&nbsp;_______________________________________________<br> &gt;&nbsp;&nbsp;LIsta de discussões AsteriskBrasil.org<br> &gt;&nbsp;&nbsp;<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
 &gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br> &gt;<br> _______________________________________________<br> Compre uma camiseta da AsteriskBrasil.org!<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.voipmania.com.br">http://www.voipmania.com.br</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;== <a href="http://VoIPMania.com.br">VoIPMania.com.br</a> ==<br> <br> _______________________________________________<br>
 LIsta de discussões AsteriskBrasil.org<br> <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br> <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
 </blockquote></div><br><br clear="all"><br>-- <br>Raniere dos Santos Machado<br>Engenheiro Eletricista<br>Intechne - Tecnologia da Informação<br>Tel : 55 98 32468182<br>Cel: 55 98 81633180