<div><div>to: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>></div><div>cc: Albert Petit <<a href="mailto:albertpetit@gmail.com" target="_blank">albertpetit@gmail.com</a>></div>
<div><br></div><div>Hello Anca</div><div><br></div><div>Sorry but this patch does not help neither :-(</div><div><br></div><div>FYI we applied it against rev 6706.</div><div><br></div><div>I will test this afternoon with a subscriber that is not behind NAT, maybe we can isolate a bit more the problem.</div>
<div><br></div><div>I'm going to answer to Iñaki's email providing tracers.</div><div><br></div><div>Cheers</div><div>Pascal</div></div><div><br></div><br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 3:02 PM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Pascal,<br>
<br>
Please try this revised patch. It is also against svn, take a new copy of the tm module and apply it.<br>
<br>
Thanks and regards,<div><br>
<br>
-- <br>
Anca Vamanu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
<br>
Pascal Maugeri wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Hi Anca<br>
<br>
We just tested the patch you sent us but we don't see any difference.<br>
<br>
Just in case, we recompiled the whole server (first we updated to rev 6700) and applied the patch you kindly sent us:<br>
<br>
svn update<br>
...<br>
patch -p0 < tm_proto_fix.patch<br>
make all<br>
make install<br>
service opensips restart <br>
<br>
The NOTIFY message is still sent over UDP :-(<br>
<br>
What information could we send you in order to help you ?<br>
<br>
A big thank you for your help and fast answer!<br>
<br>
Cheers<br>
Pascal<br>
<br></div><div>
On Tue, Mar 9, 2010 at 4:55 PM, Anca Vamanu <<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a> <mailto:<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>>> wrote:<br>
<br>
Hi Pascal,<br>
<br>
We found the problem - the socket on which the Subscribe was<br>
received was always used when sending the Notify.<br>
Find attached a patch for tm module that should fix this problem.<br>
Please test and report the results.<br>
<br>
Regards,<br>
<br>
-- Anca Vamanu<br></div>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> <<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>><div><br>
<br>
<br>
<br>
Pascal Maugeri wrote:<br>
<br>
Hi<br>
<br>
Using opensips 1.6 we need to have the presence module to send<br>
NOTIFY over TCP rather than UDP when the size of the message<br>
is greater than a given MTU.<br>
<br>
We tried to force it sending a SUBSCRIBE with transport=tcp in<br>
Contact header:<br>
<br>
SUBSCRIBE <a href="mailto:sip%3Aecho123@presence.net" target="_blank">sip:echo123@presence.net</a><br>
<mailto:<a href="mailto:sip%253Aecho123@presence.net" target="_blank">sip%3Aecho123@presence.net</a>><br>
<mailto:<a href="mailto:sip%253Aecho123@presence.net" target="_blank">sip%3Aecho123@presence.net</a><br></div>
<mailto:<a href="mailto:sip%25253Aecho123@presence.net" target="_blank">sip%253Aecho123@presence.net</a>>> SIP/2.0<div><br>
<br>
[...]<br>
Contact: <sip:albertd@10.1.1.24:5233;transport=tcp><br>
Event: presence<br>
<br>
<br>
but the NOTIFY messages are sent over UDP (observe the<br>
"transport=tcp" in the request line):<br>
<br>
NOTIFY sip:albertd@10.1.1.24:5233;transport=tcp SIP/2.0<br>
[...]<br>
Contact: <<a href="http://sip:sa@213.151.105.170:6667" target="_blank">sip:sa@213.151.105.170:6667</a><br>
<<a href="http://sip:sa@213.151.105.170:6667" target="_blank">http://sip:sa@213.151.105.170:6667</a>><br>
<<a href="http://sip:sa@213.151.105.170:6667" target="_blank">http://sip:sa@213.151.105.170:6667</a>>><br>
<br>
Subscription-State: active;expires=120<br>
Content-Type: application/pidf+xml<br>
Content-Length: 1254<br>
<br>
<br>
Could you please let me know what we should do to enable the<br>
sending over TCP ? I don't understand what we're doing wrong.<br>
<br>
Cheers<br>
Pascal<br>
------------------------------------------------------------------------<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div><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>
<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div><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>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
<br>
</div></blockquote>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
<br></blockquote></div><br>