<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Esses parecem estar certos, mas são todos da interface interna, ou seja, estariam certos mesmo... o problema é na outra interface.</p>
<p>E o lsmod, retornou alguma coisa?</p>
<p>Em 2013-08-13 11:15, Fernando Trilha escreveu:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>Este ai é o tcpdump, o do firewall terei de ver com a pessoa que cuida dele, ele é baseado em linux.</div>
<div> </div>
<div> </div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 630</div>
<div> ACK <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-97b114f393f60c33-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 ACK</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="sip:04833421234@200.193.70.69:5070;transport=UDP",response="92a9dcb0400142f6745fea5d142bd419",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
<div> </div>
<div>11:13:33.051106 IP (tos 0x0, ttl 64, id 6743, offset 0, flags [none], proto UDP (17), length 897)</div>
<div> 192.168.0.101.5070 > 179.252.225.2.5060: SIP, length: 869</div>
<div> SIP/2.0 200 OK</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-054d56ba92c5b7a5-1---d8754z-;received=179.252.225.2;rport=5060</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP>;tag=as45a78870</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 INVITE</div>
<div> Server: Asterisk PBX 1.8.23.0</div>
<div> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</div>
<div> Supported: replaces, timer</div>
<div> Session-Expires: 1800;refresher=uas</div>
<div> Contact: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>></div>
<div> Content-Type: application/sdp</div>
<div> Require: timer</div>
<div> Content-Length: 228</div>
<div> </div>
<div> v=0</div>
<div> o=root 398579285 398579286 IN IP4 200.193.70.69</div>
<div> s=Asterisk PBX 1.8.23.0</div>
<div> c=IN IP4 200.193.70.69</div>
<div> t=0 0</div>
<div> m=audio 12514 RTP/AVP 0 8 3</div>
<div> a=rtpmap:0 PCMU/8000</div>
<div> a=rtpmap:8 PCMA/8000</div>
<div> a=rtpmap:3 GSM/8000</div>
<div> a=ptime:20</div>
<div> a=sendrecv</div>
<div> </div>
<div>11:13:33.257404 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 658)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 630</div>
<div> ACK <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-97b114f393f60c33-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 ACK</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="sip:04833421234@200.193.70.69:5070;transport=UDP",response="92a9dcb0400142f6745fea5d142bd419",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
<div> </div>
<div>11:13:36.376701 IP (tos 0x0, ttl 64, id 6744, offset 0, flags [none], proto UDP (17), length 897)</div>
<div> 192.168.0.101.5070 > 179.252.225.2.5060: SIP, length: 869</div>
<div> SIP/2.0 200 OK</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-054d56ba92c5b7a5-1---d8754z-;received=179.252.225.2;rport=5060</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP>;tag=as45a78870</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 INVITE</div>
<div> Server: Asterisk PBX 1.8.23.0</div>
<div> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</div>
<div> Supported: replaces, timer</div>
<div> Session-Expires: 1800;refresher=uas</div>
<div> Contact: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>></div>
<div> Content-Type: application/sdp</div>
<div> Require: timer</div>
<div> Content-Length: 228</div>
<div> </div>
<div> v=0</div>
<div> o=root 398579285 398579286 IN IP4 200.193.70.69</div>
<div> s=Asterisk PBX 1.8.23.0</div>
<div> c=IN IP4 200.193.70.69</div>
<div> t=0 0</div>
<div> m=audio 12514 RTP/AVP 0 8 3</div>
<div> a=rtpmap:0 PCMU/8000</div>
<div> a=rtpmap:8 PCMA/8000</div>
<div> a=rtpmap:3 GSM/8000</div>
<div> a=ptime:20</div>
<div> a=sendrecv</div>
<div> </div>
<div>11:13:36.432176 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 658)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 630</div>
<div> ACK <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-97b114f393f60c33-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 ACK</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="sip:04833421234@200.193.70.69:5070;transport=UDP",response="92a9dcb0400142f6745fea5d142bd419",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
<div> </div>
<div>11:13:40.377363 IP (tos 0x0, ttl 64, id 6745, offset 0, flags [none], proto UDP (17), length 897)</div>
<div> 192.168.0.101.5070 > 179.252.225.2.5060: SIP, length: 869</div>
<div> SIP/2.0 200 OK</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-054d56ba92c5b7a5-1---d8754z-;received=179.252.225.2;rport=5060</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP>;tag=as45a78870</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 INVITE</div>
<div> Server: Asterisk PBX 1.8.23.0</div>
<div> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</div>
<div> Supported: replaces, timer</div>
<div> Session-Expires: 1800;refresher=uas</div>
<div> Contact: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>></div>
<div> Content-Type: application/sdp</div>
<div> Require: timer</div>
<div> Content-Length: 228</div>
<div> </div>
<div> v=0</div>
<div> o=root 398579285 398579286 IN IP4 200.193.70.69</div>
<div> s=Asterisk PBX 1.8.23.0</div>
<div> c=IN IP4 200.193.70.69</div>
<div> t=0 0</div>
<div> m=audio 12514 RTP/AVP 0 8 3</div>
<div> a=rtpmap:0 PCMU/8000</div>
<div> a=rtpmap:8 PCMA/8000</div>
<div> a=rtpmap:3 GSM/8000</div>
<div> a=ptime:20</div>
<div> a=sendrecv</div>
<div> </div>
<div>11:13:40.422249 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 658)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 630</div>
<div> ACK <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-97b114f393f60c33-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 2 ACK</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="sip:04833421234@200.193.70.69:5070;transport=UDP",response="92a9dcb0400142f6745fea5d142bd419",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
<div> </div>
<div>11:13:40.574233 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 644)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 616</div>
<div> BYE <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-14cb719dd333c35c-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 3 BYE</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>",response="4911bfc1a62265954226f72e9b36d4b1",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
<div> </div>
<div>11:13:41.069084 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 32)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 4</div>
<div> </div>
<div> </div>
<div> </div>
<div>11:13:41.081575 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 644)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 616</div>
<div> BYE <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-14cb719dd333c35c-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 3 BYE</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>",response="4911bfc1a62265954226f72e9b36d4b1",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
<div> </div>
<div>11:13:42.074742 IP (tos 0x0, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 644)</div>
<div> 179.252.225.2.5060 > 192.168.0.101.5070: SIP, length: 616</div>
<div> BYE <a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a> SIP/2.0</div>
<div> Via: SIP/2.0/UDP 179.252.225.2:5060;branch=z9hG4bK-d8754z-14cb719dd333c35c-1---d8754z-</div>
<div> Max-Forwards: 70</div>
<div> Contact: <sip:9962@179.252.225.2:5060;transport=UDP></div>
<div> To: <<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>>;transport=UDP</div>
<div> From: <sip:9962@200.193.70.69:5070;transport=UDP>;tag=6f423601</div>
<div> Call-ID: ZTVhMDgwZTNjOTVhODk1ZjkwNGMzZTkyODgyZjk0N2E.</div>
<div> CSeq: 3 BYE</div>
<div> User-Agent: Zoiper r18976</div>
<div> Authorization: Digest username="9962",realm="asterisk",nonce="42d49556",uri="<a href="http://sip:04833421234@200.193.70.69:5070">sip:04833421234@200.193.70.69:5070</a>",response="4911bfc1a62265954226f72e9b36d4b1",algorithm=MD5</div>
<div> Content-Length: 0</div>
<div> </div>
</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">Em 13 de agosto de 2013 11:10, Jefferson B. Limeira <span><<a href="mailto:jbl@internexxus.com.br">jbl@internexxus.com.br</a>></span> escreveu:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><span style="text-decoration: underline;"></span>
<div>
<p>Firewall/linux ou baseado?</p>
<p>Mostre o resultado de :</p>
<p># lsmod |grep sip</p>
<p>Para debuggar tcpdump -i INTERFACE_LOCAL -s 0 -nn -v port 5060</p>
<p>Aqui minha martelada, aquela pode ser única e certeira ou não ajudar em absolutamente nada... se fizer na interface interna e na externa, verá que os pacotes são diferentes, teu firewall deve estar reescrevendo o pacote SIP. Manda o resultado do lsmod e veja se tem os módulos de conntrack e nat rodando...</p>
<p>Em 2013-08-13 11:03, Fernando Trilha escreveu:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px;">
<div class="im">
<div dir="ltr">Sim tenho um firewall no meio do caminho, mas liberei as portas pra ele.
<div>Como faço para debugar o sip?</div>
</div>
</div>
<div class="gmail_extra">--</div>
</blockquote>
<div class="im">
<div>
<pre>-- <br />[]'s Jefferson B. Limeira
<a href="mailto:jbl@internexxus.com.br">jbl@internexxus.com.br</a>
<a href="tel:%2841%29%209928-8628">(41) 9928-8628</a></pre>
</div>
</div>
</div>
<br />_______________________________________________<br /> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br /> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br /> Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com">www.Khomp.com</a>.<br /> _______________________________________________<br /> ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br /> Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br /> Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br">www.aligera.com.br</a>.<br /> _______________________________________________<br /> Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote>
</div>
<br /><br clear="all" />
<div> </div>
-- <br />
<div dir="ltr">Atte.<br />Fernando Trilha<br />Analista de Suporte
<div>8414 - 6008<br /><a href="mailto:ftrilha@gmail.com">ftrilha@gmail.com</a></div>
<div>::Soluções em informatica e redes corporativas::</div>
</div>
</div>
<br />
<pre>_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com">www.Khomp.com</a>.
_______________________________________________
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br">www.aligera.com.br</a>.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
</blockquote>
<p> </p>
<div>
<pre>-- <br />[]'s Jefferson B. Limeira
jbl@internexxus.com.br
(41) 9928-8628</pre>
</div>
</body></html>