<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Atle is right, the only (really) reliable way (from server side) is
manual configuration based on knowledge of the network setup for a
group of users :-) <br>
The NAT optimization paper found as part of the What's New 2.0 on
iptel.org shows how this can be accomplished through the use of a realm
attribute per account.<br>
g-)<br>
<br>
Atle Samuelsen wrote:
<blockquote cite="mid20070305212007.GD69432@mystic.cyberhouse.no"
 type="cite">
  <pre wrap="">Hi rafael,

I might be wrong.. but it's REALLY hard to know if a user is behind the
same nat.. due to that : 

on sip-proxy you see that user Alice and Bob come from the same IP, and
that they have the same "ip-range" in say contact. 

you say "Oh, we see he's behind the same nat.."
but..

you dont really know what other equitment the other user has behind
his nat. Say a user has 3 routers
router 1: 
192.168.1.1 on "inside"
193.212.1.10 on "outside"

router 2: is conected to inside of router 1: 
192.168.9.1 on "inside"
192.168.1.2 on "outside"

router 3: is concted to router 2's inside:
192.168.1.1 on "inside"
192.168.9.1 on "outside"

one phone is now connected to router 3, and one to router 1.

on router 3 the phone gets the "internal" ip: 192.168.1.2. 
on router 1 the phone gets the ip 192.168.1.3

the phone on router 1, can not send rtppackets to the phone on router
3.. and router 3, can not send to router 1.. evenwhilethey are "looking"
to be behind the same nat.

- Atle

ps: if anybody has a working solutio for this, exept ice/turn/stun
whatever it's now called.. fel free to update me :)

* Rafael J. Risco G.V. <a class="moz-txt-link-rfc2396E" href="mailto:rafael.risco@gmail.com">&lt;rafael.risco@gmail.com&gt;</a> [070305 22:06]:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi
does anyone has a working example for this escenario?

thanks
rafael

_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openser.org">Users@openser.org</a>
<a class="moz-txt-link-freetext" href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>


  </pre>
</blockquote>
</body>
</html>