Hi Klaus,<br><br>Thanks for your answer!<div><br><div class="gmail_quote">2012/2/3 Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

The Load-Balancer is the only server which sees the real IP Address of the client. Thus, some parts of NAT-Traversal can only be done by the LB.<br></blockquote><div> </div><div>Expecting kind of this answer because also makes sense to me that LB is the only one who can see from where is it really coming :-)  however then if I fix rport in LB could I still do  do operations like                     <i>   fix_nated_register();                         fix_nated_contact();</i>  from S1,S2..SN ? Or that needs to be handled on LB too? </div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
E.g. the LB must use force_rport() and mangle the contact header of the client. Further, if you use light-weight NAT-keep-alive (CR-LF) you have to do it from the LB. If you use OPTIONS requests for NAT-keep-alive you should be possible to do it from the backend servers.<br>

</blockquote><div>We&#39;re using SIP Options..and I would prefer to keep like that. if possible. I will try to do it from S1,S2,...SN first.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
If you use media relays (rtpproxy), either control them from the load balancer or from the backend-servers. If you control them from the backend-servers you have to instruct rtpproxy to accept RTP from all sources (by default it accepts RTP only from the previous SIP hop, which in this case would be the LB and not the public IP address of the SIP client).<br>

</blockquote><div><br></div><div>I believe it would be better to keep RTP Proxy on S1,S2..SN SIP Servers; this way I can have N instances of RTP Proxy instead of a maximum of one (or two if using active-passive LB)</div>
<div>
Isit easy to instruct RTP Proxy to accept media from all sources? I never did. Where can I find this information?  I tried here <a href="http://www.rtpproxy.org/wiki/RTPproxy/FAQ">http://www.rtpproxy.org/wiki/RTPproxy/FAQ</a> and here <a href="http://kamailio.org/docs/modules/3.0.x/modules_k/nathelper.html">http://kamailio.org/docs/modules/3.0.x/modules_k/nathelper.html</a>  but no luck.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
regards<br>
klaus<br>
<br>
PS: You are using the terms UAC and UAS incorrectly. Every SIP node is a UAC and UAS - this term only defines if a node receive requests or sends requests. I think in your case it is better to just call them &quot;SIP clients&quot; and &quot;SIP servers&quot;.</blockquote>

<div> </div><div>Yes you&#39;re right, not correct use of the term, sorry for that. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On 03.02.2012 10:26, Albert Petit wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi , Sorry for previous email. Hit send too soon .<br>
<br>
Good morning,<br>
On my system i&#39;ve a structure similar to:<br>
  SIP Clients                    SIP Platform<br>
[-------------------]        [-----------------------------<u></u>----]<br>
                                               S1 @IP2<br>
                                               S2 @IP3<br>
   SIP UACs              SIP LB                    ...<br>
  [NATted and            @IP1<br>
  non Nattted]<br>
                                                SN  @IPN<br>
<br>
<br>
SIP LB is based on Kamailio dispatcher and is responsible of<br>
distributing the load between different Servers SIP UAS.<br>
<br>
S1, S2,... SN Servers have a Kamailio Server too which will forward<br>
received balanced traffic to appropiate service (Presence , registrar,...)<br>
<br>
<br>
Considering SIP LB and all SIP UAS have Public IP, how NAT from the UACs<br>
could be handled on this scenario?<br>
<br>
Initially I thought NAT should be handled on SIP LB however I would like<br>
the most simple possible load balancer with no need to read user<br>
locations . Responsible of location users should be S1,S2,..:SN<br>
<br></div>
Then, would  it be possible to handle NAT of the SIP UACs *from the SIP<br>
UAS *with NAT Helper module? What i&#39;m afraid is:      If all traffic to<div class="im"><br>
S1,S2,..SN comes from SIP LB then nat_helper could think all clients are<br>
NATTed because top most via will be SIP LB.<br>
<br>
<br>
What I need, I think, is that NAT Helper decides if there is NAT looking<br>
the Via Header added originally by UAC , and not the top most via (which<br>
would be SIP LB). Is that possible? If possible how should i configure<br>
Nat helper for that?<br>
<br>
<br>
BR<br>
Albert<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Albert<br>
</div>