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