<div dir="ltr">hi,<br><br>still no replay,<br>could it be MTU related? how can I view msg to/from the server?<br><br>nir<br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 1:16 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;">do :<br>
<br>
# main request routing logic<br>
<br>
......<br>
route{<br>
<br>
    force_rport(); #this is the new line!!!!!<br>
<br>
    if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>
        sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);<br>
        exit;<br>
    }<br>
......<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
<br>
nir elkayam wrote:<br>
&gt; hi,<br>
&gt;<br>
</div><div class="im">&gt; thanks for the replay,<br>
&gt; not sure i understand what u suggested,<br>
&gt; attached my opensips.cfg, i have seen force_rport in the file at all,<br>
&gt;<br>
&gt; thanks again for the replay,<br>
&gt; nir<br>
&gt;<br>
&gt; On Wed, Dec 2, 2009 at 1:00 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;     ok, by sure you have it the beginning of the script (in request route,<br>
&gt;     first line) a &quot;force_rport();&quot; call - this will ensure the proper<br>
&gt;     routing of SIP replies through the NAT pinghole.<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     nir elkayam wrote:<br>
&gt;     &gt; yes, but i use rport and i get the notification..<br>
&gt;     &gt;<br>
&gt;     &gt; On Wed, Dec 2, 2009 at 12:50 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><div></div><div class="h5">&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;     is your client behind the NAT, by any chance ?<br>
&gt;     &gt;<br>
&gt;     &gt;     Regards,<br>
&gt;     &gt;     Bogdan<br>
&gt;     &gt;<br>
&gt;     &gt;     nir elkayam wrote:<br>
&gt;     &gt;     &gt; hi,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; I am using pjsip - sip stack.<br>
&gt;     &gt;     &gt; by ack i mean the 200 OK respones to the unsubscribe request.<br>
&gt;     &gt;     &gt; what happend is that the sip stack keep sending the<br>
&gt;     unsubscribe for<br>
&gt;     &gt;     &gt; about 30 sec ( ~3 sec intervals) and then it stops.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; when i use TCP transport, it sends the ack right away..<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; nir<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; On Wed, Dec 2, 2009 at 12:44 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>
&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; Hi Nir,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; how do you do the &quot;unsubscribe&quot; from the client? and what<br>
&gt;     do you<br>
&gt;     &gt;     &gt; understand by &quot;acknowledge&quot; - from SIP point of view ?<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 experementing with the presence.<br>
&gt;     &gt;     &gt; &gt; when I use tcp, and i do unsubscribe all is well but<br>
&gt;     with udp the<br>
&gt;     &gt;     &gt; &gt; server doesn&#39;t acknolenge my unsubscribe.<br>
&gt;     &gt;     &gt; &gt; any idea on how to test that? is there a way to see<br>
&gt;     incomming<br>
&gt;     &gt;     msg on<br>
&gt;     &gt;     &gt; &gt; the server?<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt; &gt; thanks,<br>
&gt;     &gt;     &gt; &gt; nir<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">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>