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