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