<div dir="ltr">Digium phones, which (as far as I can tell with my experience) do not support VPN yet.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 11:57 AM, Justin Killen <span dir="ltr">&lt;<a href="mailto:jkillen@allamericanasphalt.com" target="_blank">jkillen@allamericanasphalt.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Or if it&#39;s just a couple phones, you might be able to setup a vpn connection directly on the phone itself - have it vpn into &#39;HQ&#39; and get an address on that network.  I&#39;m not sure which phones you&#39;re using though or what phones support that setup.<br>

<span class="HOEnZb"><font color="#888888"><br>
Justin Killen<br>
</font></span><div class="im HOEnZb"><br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Justin Killen<br>

Sent: Thursday, February 07, 2013 9:55 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
</div><div class="HOEnZb"><div class="h5">Subject: Re: [asterisk-users] Asterisk calls between 2 private networks<br>
<br>
I don&#39;t see how that would really solve anything - instead of the server sending the 192.168.x.x packets onto the local network, it will send them up toward the internet and get black-holed.  What probably makes more sense would be to switch the subnet on one of the networks, AND put up a vpn between them, adding the routes for the private networks to cross thru the tunnels.<br>

<br>
Justin Killen<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Frank<br>

Sent: Thursday, February 07, 2013 9:49 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Cc: Eric Wieling<br>
Subject: Re: [asterisk-users] Asterisk calls between 2 private networks<br>
<br>
I thought about that.<br>
I will give it a shot tonight and will post back my results in here.<br>
Thanks<br>
<br>
On 2/7/13 12:39 PM, Eric Wieling wrote:<br>
&gt; The easiest thing to is renumber one of the networks so they are not using the same address block.<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Frank<br>

&gt; Sent: Thursday, February 07, 2013 12:27 PM<br>
&gt; To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
&gt; Subject: Re: [asterisk-users] Asterisk calls between 2 private networks<br>
&gt;<br>
&gt; AJS,<br>
&gt;<br>
&gt; That is a solution that I am envisaging.<br>
&gt; But I would really love to try to work out with my issue first. It will allow me to deploy more phones in separates buildlings in the future. If I do the IAX solution, it means that for every building, I need a box..<br>

&gt; Which I would like to prevent.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 2/7/13 10:46 AM, A J Stiles wrote:<br>
&gt;&gt; On Thursday 07 February 2013, Frank wrote:<br>
&gt;&gt;&gt; My apologies if this topic was already discussed in the past.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here is my scenario:<br>
&gt;&gt;&gt; Network A - 192.168.1.0<br>
&gt;&gt;&gt; 1 Asterisk<br>
&gt;&gt;&gt; 1 Digium phone<br>
&gt;&gt;&gt; Router does NAT from the public IP to asterisk, and forward ports<br>
&gt;&gt;&gt; 5060tcp/udp and 10k-20k udp<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Network B - 192.168.1.0<br>
&gt;&gt;&gt; 1 Digium phone, registering to the public IP of network A<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; My SIP.CONF has:<br>
&gt;&gt;&gt; nat=yes<br>
&gt;&gt;&gt; localnet=<a href="http://192.168.1.0/255.255.255.0" target="_blank">192.168.1.0/255.255.255.0</a><br>
&gt;&gt;&gt; externaddr=public_ip_of_network_a<br>
&gt;&gt;&gt; directmedia=no<br>
&gt;&gt;<br>
&gt;&gt; My  (lazy)  solution to this problem was to throw hardware at it .....<br>
&gt;&gt;<br>
&gt;&gt; Bearing in mind that Asterisk will run on just about any old scrapper<br>
&gt;&gt; (or even a Raspberry Pi, if you feel so inclined),  there&#39;s little<br>
&gt;&gt; point even trying to send SIP over the Internet.  Just have an<br>
&gt;&gt; Asterisk box at each end, and then you only need a much simpler-to-configure IAX trunk between the two.<br>
&gt;&gt; The routers at each end then just need one port -- UDP 4569 --<br>
&gt;&gt; forwarded to the Asterisk box  (if it isn&#39;t configured as the default DMZ machine).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; _____________________________________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> -- New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;                 <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
&gt;<br>
&gt; asterisk-users mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;     <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<br>
&gt; --<br>
&gt; _____________________________________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;                 <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
&gt;<br>
&gt; asterisk-users mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;     <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<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>
<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>
<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><br clear="all"><div><br></div>-- <br>-Chris Harrington<br><div>ACSDi Office: 763.559.5800</div><div><div>Mobile Phone: 612.326.4248</div></div><div><br></div>
</div>