<div dir="ltr">that strange,<br>I see the packet sent with ethereal on my pc, and don&#39;t see the packet on the server with tcpdump..<br><br>will look into that more,<br><br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 1:23 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Opensips logs go to syslog.<br>
<br>
to see the SIPS messages on the network, use tcpdump/wireshark or ngrep<br>
tools.<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
nir elkayam wrote:<br>
&gt; hi,<br>
&gt;<br>
</div><div class="im">&gt; still no replay,<br>
&gt; could it be MTU related? how can I view msg to/from the server?<br>
&gt;<br>
&gt; nir<br>
&gt;<br>
&gt; On Wed, Dec 2, 2009 at 1:16 AM, Bogdan-Andrei Iancu<br>
</div><div class="im">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     do :<br>
&gt;<br>
&gt;     # main request routing logic<br>
&gt;<br>
&gt;     ......<br>
&gt;     route{<br>
&gt;<br>
&gt;        force_rport(); #this is the new line!!!!!<br>
&gt;<br>
&gt;        if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>
&gt;            sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);<br>
&gt;            exit;<br>
&gt;        }<br>
&gt;     ......<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;<br>
&gt;     nir elkayam wrote:<br>
&gt;     &gt; hi,<br>
&gt;     &gt;<br>
&gt;     &gt; thanks for the replay,<br>
&gt;     &gt; not sure i understand what u suggested,<br>
&gt;     &gt; attached my opensips.cfg, i have seen force_rport in the file at<br>
&gt;     all,<br>
&gt;     &gt;<br>
&gt;     &gt; thanks again for the replay,<br>
&gt;     &gt; nir<br>
&gt;     &gt;<br>
&gt;     &gt; On Wed, Dec 2, 2009 at 1:00 AM, Bogdan-Andrei Iancu<br>
&gt;     &gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>
</div><div class="im">&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;&gt;<br>
&gt;     wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;     ok, by sure you have it the beginning of the script (in<br>
&gt;     request route,<br>
&gt;     &gt;     first line) a &quot;force_rport();&quot; call - this will ensure the<br>
&gt;     proper<br>
&gt;     &gt;     routing of SIP replies through the NAT pinghole.<br>
&gt;     &gt;<br>
&gt;     &gt;     Regards,<br>
&gt;     &gt;     Bogdan<br>
&gt;     &gt;<br>
&gt;     &gt;     nir elkayam wrote:<br>
&gt;     &gt;     &gt; yes, but i use rport and i get the notification..<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; On Wed, Dec 2, 2009 at 12:50 AM, Bogdan-Andrei Iancu<br>
&gt;     &gt;     &gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;<br>
</div><div><div></div><div class="h5">&gt;     &gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;&gt;&gt;<br>
&gt;     &gt;     wrote:<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     is your client behind the NAT, by any chance ?<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Regards,<br>
&gt;     &gt;     &gt;     Bogdan<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     nir elkayam wrote:<br>
&gt;     &gt;     &gt;     &gt; hi,<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; I am using pjsip - sip stack.<br>
&gt;     &gt;     &gt;     &gt; by ack i mean the 200 OK respones to the unsubscribe<br>
&gt;     request.<br>
&gt;     &gt;     &gt;     &gt; what happend is that the sip stack keep sending the<br>
&gt;     &gt;     unsubscribe for<br>
&gt;     &gt;     &gt;     &gt; about 30 sec ( ~3 sec intervals) and then it stops.<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; when i use TCP transport, it sends the ack right away..<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; nir<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; On Wed, Dec 2, 2009 at 12:44 AM, Bogdan-Andrei Iancu<br>
&gt;     &gt;     &gt;     &gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;<br>
&gt;     &gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;&gt;<br>
&gt;     &gt;     &gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>
&gt;     &gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>
&gt;     &gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br>
&gt;     &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;     &gt;     wrote:<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; Hi Nir,<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; how do you do the &quot;unsubscribe&quot; from the client? and<br>
&gt;     what<br>
&gt;     &gt;     do you<br>
&gt;     &gt;     &gt;     &gt; understand by &quot;acknowledge&quot; - from SIP point of view ?<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; Regards,<br>
&gt;     &gt;     &gt;     &gt; Bogdan<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; nir elkayam wrote:<br>
&gt;     &gt;     &gt;     &gt; &gt; hi,<br>
&gt;     &gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt;     &gt; &gt; I am experementing with the presence.<br>
&gt;     &gt;     &gt;     &gt; &gt; when I use tcp, and i do unsubscribe all is well but<br>
&gt;     &gt;     with udp the<br>
&gt;     &gt;     &gt;     &gt; &gt; server doesn&#39;t acknolenge my unsubscribe.<br>
&gt;     &gt;     &gt;     &gt; &gt; any idea on how to test that? is there a way to see<br>
&gt;     &gt;     incomming<br>
&gt;     &gt;     &gt;     msg on<br>
&gt;     &gt;     &gt;     &gt; &gt; the server?<br>
&gt;     &gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt;     &gt; &gt; thanks,<br>
&gt;     &gt;     &gt;     &gt; &gt; nir<br>
&gt;     &gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;<br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>ניר אלקיים<br>טל: 050-3930056<br><a href="mailto:nir.elkayam@gmail.com">nir.elkayam@gmail.com</a><br><br>
</div>