Hola Iņaki<div><br></div><div>Here is the SIP flow you asked me. </div><div>Hope it helps to spot the problem. Observe the watcher is behind NAT.</div><div><br></div><div><div>SUBSCRIBE <a href="mailto:sip%3Apresentity@presence.net">sip:presentity@presence.net</a> SIP/2.0</div>
<div>Record-Route: <sip:xxx.xxx.xxx.xxx:6666;lr=on></div><div>Call-ID: <a href="mailto:d041f6cae786fea76503d436585708b8@10.1.1.235">d041f6cae786fea76503d436585708b8@10.1.1.235</a></div><div>CSeq: 1 SUBSCRIBE</div><div>
From: "watcher" <<a href="mailto:sip%3Awatcher@presence.net">sip:watcher@presence.net</a>>;tag=94671740</div><div>To: <<a href="mailto:sip%3Apresentity@presence.net">sip:presentity@presence.net</a>></div>
<div>Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:6666;branch=z9hG4bK581b.d3f0fa41.0</div><div>Via: SIP/2.0/UDP 10.1.1.235:5060;rport=5060;received=yyy.yyy.yyy.yyy;branch=z9hG4bKc5Obqwa8W</div><div>Max-Forwards: 69</div><div>Contact: <sip:watcher@10.1.1.235:5060;transport=tcp></div>
<div>Event: presence</div><div>Expires: 3600</div><div>User-Agent: XXX</div><div>Accept: application/pidf+xml</div><div>Content-Length: 0</div><div><br></div><div>SIP/2.0 200 OK</div><div>Record-Route: <sip:xxx.xxx.xxx.xxx:6666;lr=on></div>
<div>Call-ID: <a href="mailto:d041f6cae786fea76503d436585708b8@10.1.1.235">d041f6cae786fea76503d436585708b8@10.1.1.235</a></div><div>CSeq: 1 SUBSCRIBE</div><div>From: "watcher" <<a href="mailto:sip%3Awatcher@presence.net">sip:watcher@presence.net</a>>;tag=94671740</div>
<div>To: <<a href="mailto:sip%3Apresentity@presence.net">sip:presentity@presence.net</a>>;tag=9886f112d485ff608a79084eaa27a247-6965</div><div>Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:6666;branch=z9hG4bK581b.d3f0fa41.0</div>
<div>Via: SIP/2.0/UDP 10.1.1.235:5060;rport=5060;received=yyy.yyy.yyy.yyy;branch=z9hG4bKc5Obqwa8W</div><div>Expires: 120</div><div>Contact: <sip:sa@xxx.xxx.xxx.xxx:6667></div><div>Server: OpenSIPS (1.6.1-notls (x86_64/linux))</div>
<div>Content-Length: 0</div><div><br></div><div>NOTIFY sip:watcher@10.1.1.235:5060;transport=tcp SIP/2.0</div><div>Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:6667;branch=z9hG4bK581b.fd70f1f5.0</div><div>To: <<a href="mailto:sip%3Awatcher@presence.net">sip:watcher@presence.net</a>>;tag=94671740</div>
<div>From: <<a href="mailto:sip%3Apresentity@presence.net">sip:presentity@presence.net</a>>;tag=9886f112d485ff608a79084eaa27a247-6965</div><div>CSeq: 1 NOTIFY</div><div>Call-ID: <a href="mailto:d041f6cae786fea76503d436585708b8@10.1.1.235">d041f6cae786fea76503d436585708b8@10.1.1.235</a></div>
<div>Route: <sip:xxx.xxx.xxx.xxx:6666;lr=on></div><div>Content-Length: 1030</div><div>User-Agent: OpenSIPS (1.6.1-notls (x86_64/linux))</div><div>Max-Forwards: 70</div><div>Event: presence</div><div>Contact: <sip:sa@xxx.xxx.xxx.xxx:6667></div>
<div>Subscription-State: active;expires=120</div><div>Content-Type: application/pidf+xml</div><div><br></div><div>[...]</div></div><div><br></div><div>Cheers</div><div>Pascal<br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 4:23 PM, Iņaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2010/3/10 Pascal Maugeri <<a href="mailto:pascal.maugeri@gmail.com">pascal.maugeri@gmail.com</a>>:<br>
<div class="im">> Hi Anca<br>
> We just tested the patch you sent us but we don't see any difference.<br>
<br>
</div>Could you paste a SIP flow for the SUBSCRIBE and NOTIFY?<br>
<div class="im"><br>
--<br>
Iņaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">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></div>