<div><div>Hi Anca</div><div><br></div><div>We just tested the patch you sent us but we don&#39;t see any difference.<br><div><br></div><div>Just in case, we recompiled the whole server (first we updated to rev 6700) and applied the patch you kindly sent us:</div>

<div><div><br></div></div></div><blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">

<div><div><div>svn update</div></div></div><div><div><div>...</div></div></div><div><div><div>patch -p0 &lt; tm_proto_fix.patch</div></div></div><div><div><div>make all</div></div></div><div><div><div>make install</div></div>

</div><div><div><div>service opensips restart   </div></div></div></blockquote><div><div><br></div><div>The NOTIFY message is still sent over UDP :-(</div><div><br></div><div>What information could we send you in order to help you ?</div>

<div><br></div><div>A big thank you for your help and fast answer!</div><div><br></div><div>Cheers</div><div>Pascal</div><div><br></div></div></div><div><div><div class="gmail_quote">On Tue, Mar 9, 2010 at 4:55 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>
We found the problem - the socket on which the Subscribe was received was always used when sending the Notify.<br>
Find attached a patch for tm module that should fix this problem. Please test and report the results.<br>
<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>
Pascal Maugeri wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi<br>
<br>
Using opensips 1.6 we need to have the presence module to send NOTIFY over TCP rather than UDP when the size of the message is greater than a given MTU.<br>
<br>
We tried to force it sending a SUBSCRIBE with transport=tcp in Contact header:<br>
<br>
    SUBSCRIBE <a href="mailto:sip%3Aecho123@presence.net" target="_blank">sip:echo123@presence.net</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Aecho123@presence.net" target="_blank">sip%3Aecho123@presence.net</a>&gt; SIP/2.0<div class="im"><br>
    [...]<br>
    Contact: &lt;sip:albertd@10.1.1.24:5233;transport=tcp&gt;<br>
    Event: presence<br>
<br>
<br>
but the NOTIFY messages are sent over UDP (observe the &quot;transport=tcp&quot; in the request line):<br>
<br>
    NOTIFY sip:albertd@10.1.1.24:5233;transport=tcp SIP/2.0<br>
    [...]<br>
    Contact: &lt;<a href="http://sip:sa@213.151.105.170:6667" target="_blank">sip:sa@213.151.105.170:6667</a><br></div>
    &lt;<a href="http://sip:sa@213.151.105.170:6667" target="_blank">http://sip:sa@213.151.105.170:6667</a>&gt;&gt;<div class="im"><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 sending over TCP ? I don&#39;t understand what we&#39;re doing wrong.<br>
<br>
Cheers<br>
Pascal<br></div>
------------------------------------------------------------------------<div class="im"><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">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></div></div>