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