I&#39;ll give a try to this parameter...I didn&#39;t pay enough attention to the serdev mail....<br><br>Maybe a reasonable approach would be to be able to define a presence outbound proxy (as it&#39;s done in presence_b2b) and you can set up &quot;easily&quot; a separate presence proxy or route the messages to yourself so you can process it again in your config script. This would, however, break just a little bit 3261 routing algorithm....easy but I don&#39;t like it...
<br><br>Thinking loud...what about Path or Service-Route headers compatibility in presence modules?? Setting up these headers would allow flexible routing while keeping compliancy to standards...Can this be achieved with 
2.0 release and select framework??<br><br>Regards,<br><br>Samuel.<br><br><div><span class="gmail_quote">2007/8/6, Vaclav Kubart &lt;<a href="mailto:vaclav.kubart@iptel.org">vaclav.kubart@iptel.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, you are right.<br><br>But Maxim has introduced new module parameter by which you can say, that<br>NOTIFY is not target refresh request and thus NOTIFY responses won&#39;t<br>refresh the target.<br><br>From my point of view is this only temporary hack (because NOTIFY was in
<br>some discussions aggreed to be target refresh). Better solution is<br>probably to let the NOTIFY go through config script and process it and<br>its responses by nathelper.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vaclav<br><br>On Po, srp 06, 2007 at 10:24:17 +0200, samuel wrote:
<br>&gt; mmmm<br>&gt;<br>&gt; coming back to the discussion....the missing OK Contact mangle happened with<br>&gt; a separated prosence proxy...<br>&gt;<br>&gt; I was wondering...In the case of a single SIP server<br>&gt; (proxy,registrar,presence,...) when the &quot;presence&quot; part sends the NOTIFY to
<br>&gt; a natted UA and this latter one replies with the 200OK, the Contact would<br>&gt; contain the internal IP and since this NOTIFY is not handled by the SER<br>&gt; route config file , it can not be managed by nathelper|mediaproxy options.
<br>&gt; This would cause a modification in the target of the dialog to the internal<br>&gt; IP (following RFC 3261) and the presence dialog would be useless because no<br>&gt; notifications would work....am I right?<br>&gt;
<br>&gt; Thanks,<br>&gt; Samuel.<br>&gt;<br>&gt; 2007/8/3, samuel &lt;<a href="mailto:samu60@gmail.com">samu60@gmail.com</a>&gt;:<br>&gt; &gt;<br>&gt; &gt; Ok.<br>&gt; &gt;<br>&gt; &gt; I found out the &quot;problem&quot;, there was a missing NAT handling of the
<br>&gt; &gt; responses, and the 200 OK response updated the target dialog with a<br>&gt; &gt; non-routable IP. That&#39;s why further messages had the wronf Req-URI.<br>&gt; &gt;<br>&gt; &gt; Thanks for your pointers,<br>
&gt; &gt; sam.<br>&gt; &gt;<br>&gt; &gt; 2007/8/2, Vaclav Kubart &lt;<a href="mailto:vaclav.kubart@iptel.org">vaclav.kubart@iptel.org</a>&gt;:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hi Samuel,<br>&gt; &gt; &gt; Maxim Sobolev was fighting with NAT and presence some time ago.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I was trying to allow calling script route block when sending NOTIFY to<br>&gt; &gt; &gt; allow its modifications, but I had not enough time to get results.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; The NOTIFY should be constructed according RFC 3261; the request URI
<br>&gt; &gt; &gt; should be the value from Contact of the SUBSCRIBE request (if only loose<br>&gt; &gt; &gt; routers in routes appear).<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; To, From, Via and routes should follow RFC 3261 too.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Contact header value is the address at which the SUBSCRIBE request<br>&gt; &gt; &gt; arrives to the server (according examples in RFC 3856, this is<br>&gt; &gt; &gt; controversial but possible).
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Modifying of async_auth_queries should have no influence on sent<br>&gt; &gt; &gt; NOTIFYs. If does, it is probably a bug.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; All headers you mentioned are derived from dialog initiating SUBSCRIBE
<br>&gt; &gt; &gt; request as RFC says.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vaclav<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On Čt, srp 02, 2007 at 12:05:02 +0200, samuel wrote:<br>&gt; &gt; &gt; &gt; Hi all!!!<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; I&#39;m experiencing quite difficulties setting up a dedicated (and<br>&gt; &gt; &gt; separated)<br>&gt; &gt; &gt; &gt; presence server with NATted end-points and the dstblacklist feature.<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; I&#39;d like to get some info about the construction of the most important<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; headers (Req-URI,Contact,To,From,Via,Routr) for the different NOTIFY<br>&gt; &gt; &gt; &gt; modalities depending on the state of the subscription.
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Setting up async_auth_queries I&#39;ve seen the pending and the active<br>&gt; &gt; &gt; NOTIFY<br>&gt; &gt; &gt; &gt; have different Req-URI and the second one is blocked by the NAT
<br>&gt; &gt; &gt; router.<br>&gt; &gt; &gt; &gt; Further mid-dialog NOTIFYs providing changes in the presence status<br>&gt; &gt; &gt; has also<br>&gt; &gt; &gt; &gt; different headers...<br>&gt; &gt; &gt; &gt; My main concern is whether the info for constructing the routing
<br>&gt; &gt; &gt; headers is<br>&gt; &gt; &gt; &gt; taken from location table, from watcherinfo.dialog table, or from the<br>&gt; &gt; &gt; &gt; incoming message...I know I could follow the code but an explanation<br>&gt; &gt; &gt; would
<br>&gt; &gt; &gt; &gt; provide a really helpfull overview and later checking the code will be<br>&gt; &gt; &gt; much<br>&gt; &gt; &gt; &gt; simpler.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks in advance,
<br>&gt; &gt; &gt; &gt; Samuel.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; Serusers mailing list<br>&gt; &gt; &gt; &gt; <a href="mailto:Serusers@lists.iptel.org">
Serusers@lists.iptel.org</a><br>&gt; &gt; &gt; &gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br><br>&gt; _______________________________________________
<br>&gt; Serusers mailing list<br>&gt; <a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>&gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers
</a><br><br></blockquote></div><br>