<div dir="ltr">Anyway, thank you so much. ;-)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 9:32 PM, Rusty Newton <span dir="ltr"><<a href="mailto:rnewton@digium.com" target="_blank">rnewton@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Fri, Feb 21, 2014 at 11:13 AM, Gholamreza Sabery <<a href="mailto:gr.sabery@gmail.com">gr.sabery@gmail.com</a>> wrote:<br>
><br>
> Dear Mr. Newton<br>
> Thank you for your response. I red the wiki and sip.conf sample file and I<br>
> know about directmedia option. Actually these options are for times that you<br>
> know about your connected networks (you know which clients are behind NAT<br>
> and which are not). But my configuration is different. I have an A2Billing<br>
<br>
</div>From my understanding and the documentation, the intent with<br>
directmedia=nonat is that it will act like directmedia=yes if the peer<br>
is detected as *not* being behind NAT, and directmedia=no if the peer<br>
is detected as being behind NAT. This implies that the administrator<br>
would not know ahead of time what is needed, otherwise seemingly you<br>
would just use yes or no. However I'm still not sure that will be<br>
helpful for your particular scenario.<br>
<div class=""><br>
> users. Here I want Asterisk to automatically detect when two users are<br>
> behind the same NAT and redirect their traffic inside that NAT; this way the<br>
> load of RTP traffic on Asterisk server will be reduced.<br>
<br>
</div>I don't know that this is possible with any simple Asterisk<br>
configuration. Good luck!<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Rusty Newton<br>
Digium, Inc. | Community Support Manager<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
direct: +1 256 428 6200<br>
<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>