<div dir="ltr"><div>Hi David,<br><br></div>Direct media should work either way. if your phones are behind NAT you will also require the NAT option enabled in asterisk, How ever  the tricky part in all this is that you wont be able to acurately keep track of calls on these phones. If or any unforeseen reason the phone goes offline or you dont recieve BYE signal, asterisk wont be able to know that the call has ended. So if call information is critical for you then byepassmedia is not recomended for you.<br>
<br>Regards,<br>Qasim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 8:48 PM, David Wessell <span dir="ltr">&lt;<a href="mailto:david@ringfree.biz" target="_blank">david@ringfree.biz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>Kevin,</div>
<div><br>
</div>
<div>Thanks for the info. Clarification. The asterisk server is NOT on the same LAN as the phones. The asterisk server is in a datacenter only accessible via WAN.</div>
<div><br>
</div>
<div>However, all of the phones are in side of the same LAN. Will directmedia still function that way?</div>
<div><br>
</div>
<div>Thanks</div>
<div>David</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>Kevin Larsen &lt;<a href="mailto:kevin.larsen@pioneerballoon.com" target="_blank">kevin.larsen@pioneerballoon.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>Asterisk Users Mailing List - Non-Commercial Discussion &lt;<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Thursday, April 25, 2013 9:16 AM<div class="im"><br>
<span style="font-weight:bold">To: </span>Asterisk Users Mailing List - Non-Commercial Discussion &lt;<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>&gt;<br>
</div><span style="font-weight:bold">Subject: </span>Re: [asterisk-users] Sip and the media path<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div><font face="sans-serif">You will want to look at the directmedia option. You will want all the phones on the same lan as the Asterisk server to be directmedia=yes and the ones on the wan to be directmedia=no. Then, internal calls will send the
 media between themselves without involving Asterisk, but ones outside on the wan will be forced to talk directly to the Asterisk server for everything. You might also want to look at the nonat option of directmedia.</font><br>

<font face="sans-serif"><br>
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208</font> <br>
<br>
<br>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">From:        </font><font face="sans-serif" size="1">David Wessell &lt;<a href="mailto:david@ringfree.biz" target="_blank">david@ringfree.biz</a>&gt;</font><br>
<font color="#5f5f5f" face="sans-serif" size="1">To:        </font><font face="sans-serif" size="1">Asterisk Users Mailing List - Non-Commercial Discussion &lt;<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>&gt;,
</font><br>
<font color="#5f5f5f" face="sans-serif" size="1">Date:        </font><font face="sans-serif" size="1">04/25/2013 07:33 AM</font><br>
<font color="#5f5f5f" face="sans-serif" size="1">Subject:        </font><font face="sans-serif" size="1">[asterisk-users] Sip and the media path</font><br>
<font color="#5f5f5f" face="sans-serif" size="1">Sent by:        </font><font face="sans-serif" size="1"><a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a></font><br>

<hr noshade>
<br>
<br>
<br>
<font face="Calibri">We&#39;re running asterisk 1.8 in the DC on a public IP address.</font><br>
<br>
<font face="Calibri">Connecting to it are about 200 phones behind a LAN in a remote location.</font><br>
<br>
<font face="Calibri">Is there a way to reliably keep asterisk out of the media stream on internal calls inside that LAN? All phones are Polycom Soundpoint phones.</font><br>
<br>
<font face="Calibri">Asterisk would say in the media stream for any calls that traverse from LAN to WAN. However it would step out for LAN to LAN calls.</font><br>
<br>
<font face="Calibri">Thanks</font> <br>
<font face="Calibri">David</font> <br>
<tt><font>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by </font></tt><a href="http://www.api-digital.com/" target="_blank"><tt><font>http://www.api-digital.com</font></tt></a><tt><font> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              </font></tt><a href="http://www.asterisk.org/hello" target="_blank"><tt><font>http://www.asterisk.org/hello</font></tt></a><tt><font><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  </font></tt><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"><tt><font>http://lists.digium.com/mailman/listinfo/asterisk-users</font></tt></a><br>
</div>
</div>
</div></div></span>
</div>

<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></blockquote></div><br></div>