<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>