<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SysAdminMan Blog &#187; Asterisk Hosting &#8211; Elastix, FreePBX, A2Billing &#8211; SysAdminMan</title>
	<atom:link href="http://sysadminman.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysadminman.net/blog</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 15:01:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using Android with FreePBX &#8211; a SIP extension for free</title>
		<link>http://sysadminman.net/blog/2012/using-android-with-freepbx-a-sip-extension-for-free-4033</link>
		<comments>http://sysadminman.net/blog/2012/using-android-with-freepbx-a-sip-extension-for-free-4033#comments</comments>
		<pubDate>Mon, 14 May 2012 15:01:41 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=4033</guid>
		<description><![CDATA[FreePBX is an opensource VOIP PBX system that is built on top of Asterisk and therefore can use SIP to communicate with extensions. This means that we can use any of this SIP clients that are available for Android. One such SIP compliant softphone is called 3CXPhone. This is a simple client that will work [...]]]></description>
			<content:encoded><![CDATA[<p>FreePBX is an opensource VOIP PBX system that is built on top of Asterisk and therefore can use SIP to communicate with extensions. This means that we can use any of this SIP clients that are available for Android.</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/ScreenShot.jpg"><img class="alignright size-medium wp-image-4034" style="margin-top: 0px; margin-bottom: 20px; margin-left: 20px; margin-right: 40px;" title="3CXPhone in Google Play" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/ScreenShot-180x300.jpg" alt="3CXPhone" width="180" height="300" /></a>One such SIP compliant softphone is called 3CXPhone. This is a simple client that will work over both WiFI and 3G.</p>
<p><strong>Bandwidth!! &#8211; </strong>One thing to consider when using a softphone on your Android handset is bandwidth. This might be a problem if you have a cap on your WiFi, but is much more likely to be an issue if you use 3G to make VOIP calls. Here are some quick facts and number to help you decide which codec to use -</p>
<p>G711 &#8211; good audio quality &#8211; uses around 72MB per hour    * also referred to as ulaw and alaw.</p>
<p>GSM &#8211; ok call quality &#8211; uses around 25MB per hour</p>
<p>G729 &#8211; ok call quality &#8211; uses around 21MB per hour    * not included with Asterisk or 3CXPhone</p>
<p>So above are 3 common codec choices with Asterisk. G711 has good quality audio but the trade-off is the amount of bandwidth it uses. If you have a small 3G cap you could quite quickly burn through it. The audio quality with GSM and G729 is OK. It&#8217;s perfectly understandable, and whether it&#8217;s acceptable or not will depend on the person making/receiving the call and their expectations.</p>
<p>G729 has the lowest bandwidth requirements of the 3 but it is not included with Asterisk by default (and is not available for 3CXPhone at all) as there are license costs to run it. You can add G729 to Asterisk but there is a license cost from <a title="G729 Digium" href="http://store.digium.com/products.php?category_id=5" target="_blank">Digium</a> (there is an opensource version of G729 for Asterisk but you should be aware of any license restrictions - <a href="http://asterisk.hosting.lv/">http://asterisk.hosting.lv/</a>). You will also find that there is a higher cost for Android softphones that can run G729.</p>
<p>I would also recommend something like 3G Watchdog if you need to keep track of how much bandwidth you are using - <a href="https://play.google.com/store/apps/details?id=net.rgruet.android.g3watchdog&amp;hl=en">https://play.google.com/store/apps/details?id=net.rgruet.android.g3watchdog&amp;hl=en</a></p>
<p><strong>Setup &#8211; </strong>Installation was straight forward. Just create an extension in FreePBX and then you just need the server IP (or name), extension number and extension secret in 3CXPhone. One thing I did notice was that disabling codecs in 3CXPhone did not seem to work for me. I disabled G711 in 3CXPhone and had G711 and GSM enabled in FreePBX for the extension. The call was still make using G711 and I don&#8217;t think that should be the case. If you want to use GSM I would just have GSM enabled for that extension in FreePBX. It would also be worth double checking what codec is used by checking a call in progress!</p>
<p><strong><span id="more-4033"></span>Making calls - </strong>3CXPhone integrates with your Android contact list so it&#8217;s pretty easy to make calls. Just select the contact from the list, or dial the number. One thing to bear in mind is that the format the Asterisk system expects the phone number in may not be the same as your mobile operator. The interface is pretty simple with the ability to put a call on hold or transfer a call. One omission is that there is no call timer shown when a call is in progress. This would have been very useful if you&#8217;re trying to monitor bandwidth usage.  (in fact a SIP client with a built in bandwidth monitor would be a great idea &#8230;)</p>
<p><strong><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/ScreenShot1.jpg"><img class="alignright size-medium wp-image-4043" style="margin-top: 20px; margin-bottom: 20px; margin-left: 30px; margin-right: 30px;" title="Making a call" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/ScreenShot1-180x300.jpg" alt="Making a call with 3CXPhone" width="180" height="300" /></a>Receiving calls</strong> - Receiving calls worked OK. Just dial the extension number from another extension, or set the extension as a destination for an Inbound Route in FreePBX. One thing to bear in mind is that with power saving potentially turning off the WiFi or patchy 3G coverage when moving around is that receiving calls using any Android client will likely be a hit and miss affair.</p>
<p><strong>Trouble with SIP</strong> - The ability to make inexpensive calls from a mobile phone over 3G has not been lost on the mobile phone carriers! Some actively block SIP connections so you may find that you&#8217;re not able to use it. Also, your terms of service may restrict your ability to make VOIP calls. It&#8217;s worth checking this <strong>before</strong> you find that your mobile phone carrier has cut you off!</p>
<p><strong>Final thoughts</strong> - Using an Android SIP softphone is a great solution for some uses. If you&#8217;re by permanent WiFi that has a good signal and little interference then call quality can be great. If you&#8217;re using 3G then quality is certainly going to be hit and miss, probably unusable in a poor 3G signal area, or when being handed off between cell towers. Being able to use the internet to make inexpensive international calls is great. I&#8217;ve made calls from New Zealand to the UK using a SIP softphone over 3G and the call quality has been fantastic. It&#8217;s not always going to work that way, but when it does it&#8217;s amazing!</p>
<p><strong>Another possibility </strong> - If you make regular international calls to the same number then another option is to get a local DDI number and then forward that in FreePBX to the international number. For example I have a UK phone number that forwards to a land line in New Zealand. This way I can call a local UK number (included in my mobile plan minutes) that forwards to regular phone in New Zealand. International phone calls from your cell phone to the other side of the world for 1p per minute!  (plus the cost of the DDI number and any mobile phone plan minutes)</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/using-android-with-freepbx-a-sip-extension-for-free-4033/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A2Billing customer signup page</title>
		<link>http://sysadminman.net/blog/2012/a2billing-customer-signup-page-4026</link>
		<comments>http://sysadminman.net/blog/2012/a2billing-customer-signup-page-4026#comments</comments>
		<pubDate>Fri, 04 May 2012 17:24:09 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[A2Billing]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[customer]]></category>
		<category><![CDATA[signup page]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=4026</guid>
		<description><![CDATA[By default on the SysAdminMan A2Billing template the customer signup page is disabled. This is because anyone using A2Billing to provide call services to the general public should consider very carefully any fraud implications. Call providers are definite targets for fraudsters and any customer should be closely vetted to ensure they are legitimate. There are [...]]]></description>
			<content:encoded><![CDATA[<p>By default on the SysAdminMan A2Billing template the customer signup page is disabled. This is because anyone using A2Billing to provide call services to the general public should consider very carefully any fraud implications. Call providers are definite targets for fraudsters and any customer should be closely vetted to ensure they are legitimate.</p>
<p>There are many stolen credit cards and PayPal accounts in circulation. You should absolutely not allow automatic signup/activation.</p>
<p>So, with that said, how do you turn on the customer signup page? In A2Billing go to SYSTEM SETTINGS / Global List / signup and set &#8216;enable_signup&#8217; to &#8216;yes&#8217;</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/a2billing-signup.png"><img class="alignnone size-full wp-image-4027" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="a2billing signup" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/a2billing-signup.png" alt="a2billing signup" width="700" height="181" /></a></p>
<p>You should now be able to go to &#8211; https://vps_ip_address/signup.php</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/a2billing-signup-page.png"><img class="alignnone size-full wp-image-4028" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="a2billing signup page" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/a2billing-signup-page.png" alt="a2billing signup page" width="700" height="212" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/a2billing-customer-signup-page-4026/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing files on your VPS &#8211; clearing up disk space</title>
		<link>http://sysadminman.net/blog/2012/managing-files-on-your-vps-clearing-up-disk-space-4019</link>
		<comments>http://sysadminman.net/blog/2012/managing-files-on-your-vps-clearing-up-disk-space-4019#comments</comments>
		<pubDate>Fri, 04 May 2012 16:37:13 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=4019</guid>
		<description><![CDATA[An Asterisk PBX usually requires very little disk space. One of the few exceptions is for voicemail and recordings storage. If a customers VPS runs out of disk space you can pretty much guarantee that the space is being used by recordings. The easiest way to either delete or mass archive the recordings is via [...]]]></description>
			<content:encoded><![CDATA[<p>An Asterisk PBX usually requires very little disk space. One of the few exceptions is for voicemail and recordings storage. If a customers VPS runs out of disk space you can pretty much guarantee that the space is being used by recordings.</p>
<p>The easiest way to either delete or mass archive the recordings is via SCP. This works over the SSH port (22) and you use the root/ssh login details that were provided in the welcome e-mail.</p>
<p>If you&#8217;re a Windows user then there a nice, simple, free application called WinSCP - <a href="http://winscp.net/eng/index.php">http://winscp.net/eng/index.php</a></p>
<p>Just enter your VPS IP address and the root username and password -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/winscp-login.png"><img class="alignnone size-full wp-image-4020" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="winscp login" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/winscp-login.png" alt="winscp login" width="700" height="238" /></a></p>
<p>and then browse to /var/spool/asterisk/monitor where the recordings are stored -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/winscp-browse.png"><img class="alignnone size-full wp-image-4021" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="winscp browse" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/winscp-browse.png" alt="winscp browse" width="700" height="266" /></a></p>
<p>from there you can either delete the &#8220;.wav&#8221; files directly or move them off your VPS and on to your PC</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/managing-files-on-your-vps-clearing-up-disk-space-4019/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whitelist in fail2ban and denyhosts</title>
		<link>http://sysadminman.net/blog/2012/whitelist-in-fail2ban-and-denyhosts-3995</link>
		<comments>http://sysadminman.net/blog/2012/whitelist-in-fail2ban-and-denyhosts-3995#comments</comments>
		<pubDate>Fri, 04 May 2012 10:29:07 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[denyhosts]]></category>
		<category><![CDATA[fail2ban]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3995</guid>
		<description><![CDATA[All SysAdminMan servers come with fail2ban and denyhosts installed. These are two software packages that do similar things so can be confusing. Here are the differences - fail2ban monitors Asterisk logs for failed &#8216;Register&#8217; attempts and blocks the IP using IPTables. This means if you get yourself blocked it will appear as though the server [...]]]></description>
			<content:encoded><![CDATA[<p>All SysAdminMan servers come with fail2ban and denyhosts installed. These are two software packages that do similar things so can be confusing.<br />
Here are the differences -</p>
<p style="padding-left: 30px;"><strong>fail2ban</strong><br />
monitors Asterisk logs for failed &#8216;Register&#8217; attempts and blocks the IP using IPTables. This means if you get yourself blocked it will appear as though the server has gone down</p>
<p style="padding-left: 30px;"><strong>denyhosts</strong><br />
monitors /var/log/secure for failed SSH attempts and just blocks the IP for SSH access. You will get connection refused just for SSH if you get yourself blocked</p>
<p>It&#8217;s possible to whitelist your own IPs so that they don&#8217;t get accidentally blocked by following the instructions below.</p>
<p>You should replace 123.123.123.123 with your own IP -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export ignoreip=&quot;123.123.123.123&quot;<br />
<br />
sed -i &quot;s/ignoreip = /ignoreip = $ignoreip /&quot; /etc/fail2ban/jail.conf<br />
service fail2ban restart<br />
<br />
echo &quot;sshd: $ignoreip&quot; &gt;&gt; /etc/hosts.allow<br />
service denyhosts restart</div></div>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/whitelist-in-fail2ban-and-denyhosts-3995/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreePBX phonebook from Google Contacts</title>
		<link>http://sysadminman.net/blog/2012/freepbx-phonebook-from-google-contacts-3988</link>
		<comments>http://sysadminman.net/blog/2012/freepbx-phonebook-from-google-contacts-3988#comments</comments>
		<pubDate>Fri, 04 May 2012 08:06:59 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[caller id]]></category>
		<category><![CDATA[google contacts]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3988</guid>
		<description><![CDATA[There&#8217;s an interesting post here - http://www.pbxinaflash.com/community/index.php?threads/google-contacts-to-asterisk-phonebook.10943/ - about downloading your Google contacts to your FreePBX/Asterisk server. It&#8217;s just a neat little script that grabs all of your Google contacts and automatically inserts them in to the Asterisk CallerID database. Once the database is updated you can tell FreePBX to lookup the caller ID in the Asterisk [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s an interesting post here - <a href="http://www.pbxinaflash.com/community/index.php?threads/google-contacts-to-asterisk-phonebook.10943/">http://www.pbxinaflash.com/community/index.php?threads/google-contacts-to-asterisk-phonebook.10943/</a> - about downloading your Google contacts to your FreePBX/Asterisk server.</p>
<p>It&#8217;s just a neat little script that grabs all of your Google contacts and automatically inserts them in to the Asterisk CallerID database.</p>
<p>Once the database is updated you can tell FreePBX to lookup the caller ID in the Asterisk database and present that with any incoming calls -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/05/cid-lookup.png"><img class="alignnone size-full wp-image-3989" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="FreePBX caller ID lookup" src="http://sysadminman.net/blog/wp-content/uploads/2012/05/cid-lookup.png" alt="FreePBX caller ID lookup" width="841" height="356" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/freepbx-phonebook-from-google-contacts-3988/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoIP GSM Gateway and Asterisk using VPN:PBX</title>
		<link>http://sysadminman.net/blog/2012/goip-gsm-gateway-and-asterisk-using-vpnpbx-3976</link>
		<comments>http://sysadminman.net/blog/2012/goip-gsm-gateway-and-asterisk-using-vpnpbx-3976#comments</comments>
		<pubDate>Mon, 23 Apr 2012 11:08:58 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPN:PBX]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[goip]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3976</guid>
		<description><![CDATA[Recently I had a VPS customer that was looking to get a GoIP GSM Gateway working with his Asterisk VPS. These little SIP/GSM gateways can be used to connect Asterisk to the GSM/mobile network. The single-sim models can be had for around £100 from e-bay. They are not the easiest boxes in the world to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had a VPS customer that was looking to get a <a title="GoIP GSM Gateway" href="http://www.at338.com/products_goip.html" target="_blank" class="broken_link">GoIP GSM Gateway</a> working with his Asterisk VPS. These little SIP/GSM gateways can be used to connect Asterisk to the GSM/mobile network. The single-sim models can be had for around £100 from e-bay.</p>
<p>They are not the easiest boxes in the world to set up, with the web GUI being rather confusing. Eventually though the GoIP was configured correctly but still calls we intermittent, with connection to the Asterisk server being lost.</p>
<p>As the GoIP box was being hosted behind a residential ADSL router the issues were typical of NAT/Firewall problems. They were probably being caused by a mixture NAT and a SIP ALG (application layer gateway) in the ADSL router.</p>
<p>The solution was to use the new SysAdminMan <a title="VPN:PBX - Asterisk and OpenVPN" href="http://sysadminman.net/sysadminman-vpnpbx-hosting.html" target="_blank">VPN:PBX</a> template which uses OpenVPN to create a secure VPN tunnel to the Asterisk server. The customer purchased a TP-Link 1043 router, flashed the SysAdminMan firmware, and the GoIP was connected to the VPS over the VPN. This meant that private IP address ranges were used, with no NAT happening at all. This is a great example of how using <a title="VPN:PBX - Asterisk and OpenVPN" href="http://sysadminman.net/sysadminman-vpnpbx-hosting.html" target="_blank">VPN:PBX</a> to provide a VPN connection to your Asterisk server is easy to deploy and works around any NAT/Firewall issues.</p>
<p>Here is a diagram showing the customers setup -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/GoIP.png"><img class="alignnone size-full wp-image-3977" style="margin: 20px;" title="GoIP" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/GoIP.png" alt="GoIP using VPNPBX" width="800" height="398" /></a></p>
<p>See here for more information - <a href="http://sysadminman.net/sysadminman-vpnpbx-hosting.html">http://sysadminman.net/sysadminman-vpnpbx-hosting.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/goip-gsm-gateway-and-asterisk-using-vpnpbx-3976/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Product Launch &#8211; VPN:PBX &#8211; Asterisk VPS + OpenVPN</title>
		<link>http://sysadminman.net/blog/2012/product-launch-vpnpbx-asterisk-vps-openvpn-3963</link>
		<comments>http://sysadminman.net/blog/2012/product-launch-vpnpbx-asterisk-vps-openvpn-3963#comments</comments>
		<pubDate>Wed, 18 Apr 2012 10:18:04 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[openwrt]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3963</guid>
		<description><![CDATA[SysAdminMan is launching a new product today called VPN:PBX. This is a Virtual Private Server with Asterisk, FreePBX and OpenVPN pre-installed. There is also a custom firmware (based on OpenWRT) available for the TP-Link TL-WR1043ND broadband router. Details of how to install this custom firmware can be found at - http://sysadminman.net/blog/2012/vpnpbx-getting-started-3890 While SysAdminMan does not sell the TP-Link TL-WR1043ND broadband router directly, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="margin: 10px;" title="VPN:PBX" src="http://sysadminman.net/images/vpnpbx.png" alt="" width="90" height="26" />SysAdminMan is launching a new product today called VPN:PBX. This is a Virtual Private Server with Asterisk, FreePBX and OpenVPN pre-installed.</p>
<p>There is also a custom firmware (based on OpenWRT) available for the TP-Link <a title="TL-WR1043ND" href="http://www.tp-link.com/en/products/details/?model=TL-WR1043ND" rel="noreferrer" target="_blank">TL-WR1043ND</a> broadband router. Details of how to install this custom firmware can be found at - <a href="http://sysadminman.net/blog/2012/vpnpbx-getting-started-3890">http://sysadminman.net/blog/2012/vpnpbx-getting-started-3890</a></p>
<p>While SysAdminMan does not sell the TP-Link TL-WR1043ND broadband router directly, it is available from many retailers including <a href="http://www.amazon.co.uk/gp/product/B002YETVTQ/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;tag=sysadminmanne-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B002YETVTQ">Amazon</a>.</p>
<p>Here is an example of how VPN:PBX and the TL-WR1043ND could be deployed -</p>
<p><img class="alignnone" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="VPN:PBX and TL-WR1043ND deployment" src="http://sysadminman.net/images/VPNPBX%20layout.PNG" alt="" width="800" height="335" /></p>
<p>It can be deployed at a site and provide the following benefits -</p>
<ul>
<li>No changes required to existing router/firewall  (depending on deployment layout chosen)</li>
<li>None of the problems of Network Address Translation associated with SIP as no NAT happens between the VOIP phones and the Asterisk server</li>
<li>Voice traffic to the Asterisk server is encrypted</li>
<li>Easy to deploy with custom firmware for the TL-WR1043ND router which includes OpenVPN client and GUI page for encryption settings</li>
<li>Multiple TL-WR1043NDs can be deployed at multiple sites and connected to the same VPN:PBX server</li>
</ul>
<p>Please see the <a title="VPN:PBX" href="http://sysadminman.net/sysadminman-vpnpbx-hosting.html" target="_blank">product page</a> for more information, or use the <a title="SysAdminMan contact form" href="https://sysadminman.net/contact.php" target="_blank">contact form</a> if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/product-launch-vpnpbx-asterisk-vps-openvpn-3963/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPN:PBX &#8211; Using FreePBX Endpoint Manager</title>
		<link>http://sysadminman.net/blog/2012/vpnpbx-using-freepbx-endpoint-manager-3944</link>
		<comments>http://sysadminman.net/blog/2012/vpnpbx-using-freepbx-endpoint-manager-3944#comments</comments>
		<pubDate>Tue, 17 Apr 2012 19:06:07 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPN:PBX]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3944</guid>
		<description><![CDATA[VPN:PBX is a new offering from SysAdminMan combining Asterisk, FreePBX and OpenVPN. More details can be found here - http://sysadminman.net/sysadminman-vpnpbx-hosting.html While using FreePBX Endpoint Manager is possible with a normal SysAdminMan system, using it with VPN:PBX is really simple as no firewall or router changes are required. Endpoint Manager is a FreePBX module that allows you [...]]]></description>
			<content:encoded><![CDATA[<p>VPN:PBX is a new offering from SysAdminMan combining Asterisk, FreePBX and OpenVPN. More details can be found here - <a href="http://sysadminman.net/sysadminman-vpnpbx-hosting.html">http://sysadminman.net/sysadminman-vpnpbx-hosting.html</a></p>
<p>While using FreePBX Endpoint Manager is possible with a normal SysAdminMan system, using it with VPN:PBX is really simple as no firewall or router changes are required.</p>
<p>Endpoint Manager is a FreePBX module that allows you to configure VOIP handsets centrally &#8211; no settings are required to be entered on the handset itself &#8211; just plug it in!</p>
<p>Here is the way it works -</p>
<ol>
<li>The phone is switched on and given a DHCP address by the TP-Link TL-WR1043ND router</li>
<li>It is also given the IP address of the Asterisk server as it&#8217;s TFTP server &#8211; in this case of a SysAdminMan VPN:VPS that&#8217;s 10.98.0.1</li>
<li>The phone contacts the TFTP server (10.98.0.1) and asks for it&#8217;s configuration settings. It gives the server its MAC address to identify itself</li>
<li>EPM manager identifies the handset based on its MAC address and configures the phone</li>
</ol>
<p>Brilliantly simple and also makes it very easy to deploy new phones and make changes to deployed phones. Endpoint Manager supports lots of different manufacturers handsets including &#8211; Aastra, Grandstream, Polycom, Snom, Cisco and Yealink.</p>
<p>So, how does it work in practice? Here is a quick guide for deploying a new handset with Endpoint Manager -</p>
<p>First get the MAC address of the handset. In this case an Aastra 6755i -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/2012-04-17-19.14.46.jpg"><img class="alignnone size-full wp-image-3945" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Aastra 6755i MAC address" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/2012-04-17-19.14.46.jpg" alt="Aastra 6755i MAC address" width="718" height="223" /></a></p>
<p><span id="more-3944"></span>Next create an extension as normal in FreePBX. The only settings required are User Extension, Display Name and Secret -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/add_extension1.png"><img class="alignnone size-full wp-image-3946" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Add FreePBX extension 1" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/add_extension1.png" alt="Add FreePBX extension 1" width="720" height="220" /></a></p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/add_extension2.png"><img class="alignnone size-full wp-image-3947" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Add FreePBX extension 2" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/add_extension2.png" alt="Add FreePBX extension 2" width="720" height="180" /></a></p>
<p>Next enable the required handset template in Endpoint Manager / Endpoint Configuration -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/EPM_config_1.png"><img class="alignnone size-full wp-image-3948" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Endpoint configuration 1" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/EPM_config_1.png" alt="Endpoint configuration 1" width="720" height="160" /></a></p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/EPM_config_2.png"><img class="alignnone size-full wp-image-3949" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Endpoint Configuration 2" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/EPM_config_2.png" alt="Endpoint Configuration 2" width="720" height="200" /></a></p>
<p>Finally add a device in Endpoint Manager End Point Device List -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/EPM_ADD_DEVICE.png"><img class="alignnone size-full wp-image-3950" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Endpoint device list" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/EPM_ADD_DEVICE.png" alt="Endpoint device list" width="720" height="180" /></a>#</p>
<p>and clink on Rebuild Configs for All Phones -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/REBUILD_CONFIG_.png"><img class="alignnone size-full wp-image-3951" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="EPM rebuild configs" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/REBUILD_CONFIG_.png" alt="EPM rebuild configs" width="720" height="80" /></a></p>
<p>Now when you connect your handset to the network it should connect to Endpoint Manager and download it&#8217;s configuration. Here&#8217;s mine making an echo test call -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/2012-04-17-19.35.36.jpg"><img class="alignnone size-full wp-image-3952" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="Aastra 6755i Endpoint Manager" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/2012-04-17-19.35.36.jpg" alt="Aastra 6755i Endpoint Manager" width="718" height="209" /></a></p>
<p>&nbsp;</p>
<p>Because the TP-Link router creates a OpenVPN tunnel to the VPN:PBX server no NAT, firewall or router changes are required.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/vpnpbx-using-freepbx-endpoint-manager-3944/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPN:PBX &#8211; Getting Started</title>
		<link>http://sysadminman.net/blog/2012/vpnpbx-getting-started-3890</link>
		<comments>http://sysadminman.net/blog/2012/vpnpbx-getting-started-3890#comments</comments>
		<pubDate>Tue, 17 Apr 2012 10:09:11 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPN:PBX]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3890</guid>
		<description><![CDATA[VPN:PBX is the SysAdminMan virtual PBX template that includes Asterisk, FreePBX, A2Billing and OpenVPN. More information can be found here - http://sysadminman.net/sysadminman-vpnpbx-hosting.html It is designed to work with the TP-Link TL-WR1043ND broadband router. A custom OpenWRT firmware is provided to simplify the connection of your network to your SysAdminMan VPS, securely and without the hassle of NAT. [...]]]></description>
			<content:encoded><![CDATA[<p>VPN:PBX is the SysAdminMan virtual PBX template that includes Asterisk, FreePBX, A2Billing and OpenVPN. More information can be found here - <a href="http://sysadminman.net/sysadminman-vpnpbx-hosting.html">http://sysadminman.net/sysadminman-vpnpbx-hosting.html</a></p>
<p>It is designed to work with the TP-Link <a title="TL-WR1043ND" href="http://www.tp-link.com/en/products/details/?model=TL-WR1043ND" target="_blank">TL-WR1043ND</a> broadband router. A custom OpenWRT firmware is provided to simplify the connection of your network to your SysAdminMan VPS, securely and without the hassle of NAT.</p>
<p><strong>STEP 1 &#8211; DOWNLOAD THE CUSTOM FIRMWARE</strong></p>
<p><strong></strong>Download the custom  TP-Link TL-WR1043ND firmware with OpenVPN client installed -</p>
<p><a title="SysAdminMan TP-Link 1043 firmware" href="http://sysadminman.net/openwrt/tl-wr1043nd-sysadminman-v1.0-squashfs-factory.bin" target="_blank">http://sysadminman.net/openwrt/tl-wr1043nd-sysadminman-v1.0-squashfs-factory.bin</a></p>
<p><strong>STEP 2 &#8211; PLUG IN THE TP-LINK <strong>WR1043ND</strong></strong></p>
<ol>
<li>Plug a PC/Laptop in to the yellow port 1</li>
<li>Plug the blue WAN port in to a spare port on your existing internet router</li>
</ol>
<div><span id="more-3890"></span><strong>STEP 3 &#8211; LOG IN TO YOUR TP-LINK WR1043ND AND FLASH THE NEW FIRMWARE</strong></div>
<p><span style="color: #ff0000;">* While every effort is made to test the firmware provided no responsibility can be accepted if you use the firmware above and it renders your router unusable. This is always a risk that is taken when flashing any new firmware to a device *</span></p>
<p>You must log in from a computer connected to a yellow LAN port.</p>
<p>Default IP address : 192.168.1.1</p>
<p>Default username : admin</p>
<p>Default password : admin</p>
<p><strong></strong><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/TP-Link-1043_initial_login.png"><img class="alignnone size-full wp-image-3897" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="TP-Link-1043_initial_login" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/TP-Link-1043_initial_login.png" alt="TP-Link-1043_initial_login" width="800" height="380" /></a></p>
<p>Select System Tools / Firmware upgrade and then choose the firmware image you downloaded above -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/TP-link_firmware_upgrade.png"><img class="alignnone size-full wp-image-3898" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="TP-link_firmware_upgrade" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/TP-link_firmware_upgrade.png" alt="TP-link_firmware_upgrade" width="800" height="300" /></a></p>
<p>Click upgrade and the new firmware will be loaded and the router restarted. Do not disconnect the power while this is happening!! -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/openwrt_upgrade_restarting.png"><img class="alignnone size-full wp-image-3899" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="openwrt_upgrade_restarting" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/openwrt_upgrade_restarting.png" alt="openwrt_upgrade_restarting" width="800" height="180" /></a></p>
<p><strong>STEP 4 &#8211; RESET YOUR COMPUTER OR RENEW YOUR DHCP LEASE</strong></p>
<p>You will now need to get your computer to pick up a new DHCP address from the TP-Link TL-WR1043ND. This will be in the range 10.99.99.X. This can be done by either rebooting, pulling and reinserting the network cable or running the command to renew the IP address. Please note that the WiFi is disabled on the TP-Link TL-WR1043ND firmware so you must use a cabled connection.</p>
<p><strong>SETEP 5 &#8211; LOG IN TO YOU TP-LINK ROUTER AGAIN</strong></p>
<p>Default IP address : 10.99.99.1</p>
<p>Default username : root</p>
<p>Default password : sysadminman</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/OpenWRT_login.png"><img class="alignnone size-full wp-image-3904" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="OpenWRT_login" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/OpenWRT_login.png" alt="OpenWRT_login" width="800" height="300" /></a></p>
<p><strong>STEP 6 &#8211; ENTER THE SYSADMINMAN VPS CONNECTION DETAILS IN TO YOUR TP-LINK ROUTER</strong></p>
<p>For this step you will need the IP address of your SysAdminMan server plus the 3 files that will be sent to you separately. The 3 files are called  ca.crt, tplink.crt and tplink.key.</p>
<p>Click on Network / SysAdminMan and you will see the screen below. Enter your SysAdminMan VPS IP address in the box provided and upload the 3 files. Ensure you upload the correct file to the correct place. Then click Save &amp; Apply -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/SysAdminMan_OpenWRT_VPN_config.png"><img class="alignnone size-full wp-image-3917" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="SysAdminMan_OpenWRT_VPN_config" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/SysAdminMan_OpenWRT_VPN_config.png" alt="SysAdminMan_OpenWRT_VPN_config" width="800" height="360" /></a></p>
<p>Next reboot the router. There is an option to do this under System / Reboot -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/OpenWRT_reboot_router.png"><img class="alignnone size-full wp-image-3918" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="OpenWRT_reboot_router" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/OpenWRT_reboot_router.png" alt="OpenWRT_reboot_router" width="800" height="220" /></a></p>
<p>Now if you log back in and select Network you should see that the &#8216;SYSADMINMAN&#8217; interface has been assigned an IP address of 10.98.0.X -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2012/04/OpenWRT_Network_details.png"><img class="alignnone size-full wp-image-3919" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid; margin: 10px;" title="OpenWRT_Network_details" src="http://sysadminman.net/blog/wp-content/uploads/2012/04/OpenWRT_Network_details.png" alt="OpenWRT_Network_details" width="800" height="340" /></a></p>
<p><strong>STEP 7 &#8211; FINISHED!</strong></p>
<p>And that should be everything. Now any device connected to your TP-Link should be given an IP address in the range 10.99.99.x and be able to connect to your SysAdminMan VPS server using the address 10.98.0.1 over the secure OpenVPN tunnel.</p>
<p>Also, any phone that is connected to your TP-Link that has auto provisioning set will be given a TFTP server address of 10.98.0.1, your SysAdminMan VPS address. This means that you can use the FreePBX EndPoint Manager module to configure your telephone handsets.</p>
<p><span style="text-decoration: underline;">NETWORK DETAILS</span></p>
<ul>
<li>TP-Link LAN address : 10.99.99.X</li>
<li>SysAdminMan VPS address : 10.98.0.1</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/vpnpbx-getting-started-3890/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SysAdminMan now has customers in over 28 countries around the world</title>
		<link>http://sysadminman.net/blog/2012/sysadminman-now-has-customers-in-over-28-countries-around-the-world-3908</link>
		<comments>http://sysadminman.net/blog/2012/sysadminman-now-has-customers-in-over-28-countries-around-the-world-3908#comments</comments>
		<pubDate>Tue, 17 Apr 2012 08:16:55 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3908</guid>
		<description><![CDATA[A couple of years ago I posted this - http://sysadminman.net/blog/2010/voip-vpss-to-customers-in-over-15-countries-1118 - when SysAdminMan had customers in over 15 different countries. I just remembered to check again and now that number is 28 different countries! Having servers based in the UK and US with great network connections has enabled us to provide stable VOIP platforms to customers in countries [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago I posted this - <a href="http://sysadminman.net/blog/2010/voip-vpss-to-customers-in-over-15-countries-1118">http://sysadminman.net/blog/2010/voip-vpss-to-customers-in-over-15-countries-1118</a> - when SysAdminMan had customers in over 15 different countries. I just remembered to check again and now that number is <strong>28</strong> different countries!</p>
<p>Having servers based in the UK and US with great network connections has enabled us to provide stable VOIP platforms to customers in countries as far away as New Zealand, Spain, Canada and India!</p>
<p>Apparently though there are 196 countries &#8211; so still some room for growth yet!</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/sysadminman-now-has-customers-in-over-28-countries-around-the-world-3908/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.820 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 17:24:37 -->

