<?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; Voice Over Internet Protocol</title>
	<atom:link href="http://sysadminman.net/blog/category/voip/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysadminman.net/blog</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 11:24:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>OpenVPN with a SysAdminMan Asterisk VPS and TP-LINK TL-WR1043ND</title>
		<link>http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431</link>
		<comments>http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431#comments</comments>
		<pubDate>Thu, 29 Dec 2011 19:05:49 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3431</guid>
		<description><![CDATA[There are several potential benefits to setting up a VPN to your Asterisk server. All traffic is encrypted and you don&#8217;t need to open lots of ports in the firewall. Also there are no issues with SIP and NAT as traffic is routed over the VPN tunnel. This is a pretty advanced setup but here [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/12/TL-WR1043ND-031.jpg"><img class="alignright size-full wp-image-3478" title="TP-LINK TL-WR1043ND" src="http://sysadminman.net/blog/wp-content/uploads/2011/12/TL-WR1043ND-031.jpg" alt="TP-LINK TL-WR1043ND" width="250" height="150" /></a>There are several potential benefits to setting up a VPN to your Asterisk server. All traffic is encrypted and you don&#8217;t need to open lots of ports in the firewall. Also there are no issues with SIP and NAT as traffic is routed over the VPN tunnel.</p>
<p>This is a pretty advanced setup but here is a walkthrough for setting up a SysAdminMan VPS as an OpenVPN server and then connecting to it with a TP-LINK router running OpenWRT.</p>
<p>Specifically this router is used - <a href="http://www.tp-link.com/en/products/details/?model=TL-WR1043ND" rel="nofollow" >http://www.tp-link.com/en/products/details/?model=TL-WR1043ND</a>. I paid around £40 from Amazon, an absolute bargain for something that will run OpenWRT.</p>
<p><strong><span style="text-decoration: underline;">Setting up the router</span></strong></p>
<p>First you need to flash <a href="https://openwrt.org/" rel="nofollow" title="OpenWRT"  target="_blank">OpenWRT</a> on to the router. This replaces the original firmware. Here are some instructions for this TP-Link router - <a href="http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd?s" rel="nofollow" >http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd?s</a>. I got version 18 of the router and flashed Backfire 10.03.1-rc6 version of OpenWRT.</p>
<p><span id="more-3431"></span></p>
<p>Next the router was connected via the WAN port on the TP-LINK to my home network. The WAN side of your TP-LINK should be given an IP address from your network DHCP server. It will use this to connect to the Internet.</p>
<p>Now connect a PC to a LAN port using a network cable and you should be given an IP address in the range 192.168.1.0/24</p>
<p>Now make the following changes on the router using a web browser. This will install the OpenVPN software and assign a new IP address to the router. If you use a different subnet you will need to change some settings below to match -</p>
<ul>
<li>Assign a password</li>
<li>Change the LAN network address to 10.10.10.1</li>
<li>In OpenWRT go to System / Software and click on Update Lists</li>
<li>Click Available Packages and install OpenVPN</li>
<li>Click System / Administration and enable SSH on the LAN interface</li>
<li>Click System / Startup and Enable and Start OpenVPN</li>
<li>Reboot the router</li>
</ul>
<p><strong><span style="text-decoration: underline;">On the SysAdminMan VPS</span></strong></p>
<p>For this to work you will need a TUN device assigning to your VPS. Please open a support ticket to request this.</p>
<p>First we&#8217;re going to install OpenVPN. This will install from rpmforge, which is set up as standard -</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">yum install openvpn<br />
cp -r /usr/share/doc/openvpn-2.2.0/easy-rsa/2.0/* /etc/openvpn/<br />
chmod +x /etc/openvpn/*<br />
cd /etc/openvpn</div></div>
<p>Now, if you&#8217;d like you can edit /etc/openvpn/vars and change the settings at the bottom to some sensible defaults. This is not required, but will make creating the certificates easier.</p>
<p>Next we&#8217;re going to set up some certificates for OpenVPN. You should run these commands one at a time and answer the questions that are asked -</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">. ./vars<br />
./clean-all<br />
./build-ca<br />
./build-key-server server<br />
./build-key tplink1</div></div>
<p>Now create a file called /etc/openvpn/server.conf with the following settings -</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">port 1194<br />
proto udp<br />
dev tun<br />
ca /etc/openvpn/keys/ca.crt<br />
cert /etc/openvpn/keys/server.crt<br />
key /etc/openvpn/keys/server.key<br />
dh /etc/openvpn/keys/dh1024.pem<br />
server 10.20.0.0 255.255.255.0<br />
ifconfig-pool-persist ipp.txt<br />
client-config-dir ccd<br />
route 10.10.10.0 255.255.255.0<br />
keepalive 10 120<br />
comp-lzo<br />
user nobody<br />
group nobody<br />
persist-key<br />
persist-tun<br />
status openvpn-status.log<br />
verb 3</div></div>
<p>Now we&#8217;re going to tell OpenVPN to route traffic to our LAN behind the TP-LINK router -</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">mkdir ccd<br />
echo &quot;iroute 10.10.10.0 255.255.255.0&quot; &gt;&gt; ccd/tplink1</div></div>
<p>Now fire up OpenVPN -</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">chkconfig openvpn on<br />
service openvpn start</div></div>
<p>Next we need to allow the OpenVPN traffic through the local IPTables firewall -</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">iptables -I INPUT -i tun0 -j ACCEPT<br />
iptables -I INPUT -p udp -m udp --dport 1194 -j ACCEPT<br />
service iptables save</div></div>
<p><strong><span style="text-decoration: underline;">ON THE TP-LINK ROUTER VIA SSH</span></strong></p>
<p>Next from your PC we&#8217;re going to SSH on to the TP-LINK router at 10.10.10.1 and run the following. This will copy the certificate files we created earlier to the router. X.X.X.X should be replaced with your VPS 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">cd /etc/openvpn<br />
scp X.X.X.X:/etc/openvpn/keys/ca.crt .<br />
scp X.X.X.X:/etc/openvpn/keys/tplink1.key .<br />
scp X.X.X.X:/etc/openvpn/keys/tplink1.crt .</div></div>
<p>Now create a copy of the original OpenVPN config file -</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">cp /etc/config/openvpn /etc/config/openvpn.orig</div></div>
<p>Next we&#8217;re going to edit that file and change some settings from the default. These settings start half way down the file under the client configuration settings. Finally reboot the router -</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">vi /etc/config/openvpn<br />
<br />
option enable 1<br />
list remote &quot;X.X.X.X 1194&quot;<br />
option cert /etc/openvpn/tplink1.crt<br />
option key /etc/openvpn/tplink1.key<br />
<br />
reboot</div></div>
<p><strong><span style="text-decoration: underline;">ON THE TP-LINK ROUTER VIA THE WEB GUI</span></strong></p>
<p>First we&#8217;re going to create a new interface that includes the tun interface created by OpenVPN</p>
<ul>
<li>Network / Interfaces / Add New Interface</li>
<li>name &#8211; openvpn</li>
<li>protocol &#8211; unmanaged</li>
<li>interface &#8211; tun0</li>
</ul>
<p>and now we&#8217;re going to allow traffic through the TP-LINK firewall to the VPN -</p>
<ul>
<li>Network / Firewall / Zones / Add</li>
<li>Input / Output / Forward = Accept</li>
<li>Tick lan in Destination and Source zones</li>
</ul>
<p>and now Reboot the router.</p>
<p>And we&#8217;re done!</p>
<p>If you used the settings above then VPS should be accessible on the IP address via the IP 10.20.0.1. You should be able to get to the FreePBX web interface on this address and also use it for your phone configuration.</p>
<p>This is definitely not for the faint hearted as it&#8217;s pretty technical and could require some troubleshooting if things don&#8217;t work immediately. It&#8217;s pretty cool though and should allow for multiple VOIP handsets to be plugged in to the TP-LINK router and connect to the VPS without any worry of NAT problems  (as there&#8217;s no NAT happening across the VPN).</p>
<p>I&#8217;ve done a few test calls which worked well, but I&#8217;ve still got to do some speed tests to see how well the TP-LINK performs.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Back to basics: DIDs, DDIs and Inbound Numbers</title>
		<link>http://sysadminman.net/blog/2011/back-to-basics-dids-ddis-and-inbound-numbers-2985</link>
		<comments>http://sysadminman.net/blog/2011/back-to-basics-dids-ddis-and-inbound-numbers-2985#comments</comments>
		<pubDate>Thu, 29 Sep 2011 15:28:53 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=2985</guid>
		<description><![CDATA[After you&#8217;ve used VOIP for a little while it&#8217;s easy to forget how complicated things can be when just starting out. I thought I&#8217;d write a series of brief posts explaining some of the basics. This post is about Inbound Numbers, and how incoming calls get to your VOIP equipment/server. What numbers are available? You [...]]]></description>
			<content:encoded><![CDATA[<p>After you&#8217;ve used VOIP for a little while it&#8217;s easy to forget how complicated things can be when just starting out. I thought I&#8217;d write a series of brief posts explaining some of the basics.</p>
<p>This post is about Inbound Numbers, and how incoming calls get to your VOIP equipment/server.</p>
<p><strong>What numbers are available?</strong></p>
<p>You can get telephone numbers all over the world. It&#8217;s easier to get numbers in some countries than others. You can also get different types of numbers. For example; in the UK you can get geographic numbers, freephone numbers, national numbers and even mobile numbers.</p>
<p><strong>DID or DDI, which is it? </strong></p>
<p>In the UK we tend to call Inbound numbers DDIs (direct dial-in), the US and other countries call them DIDs (direct inward dialing)</p>
<p><strong>Where do I get an Inbound Number?</strong></p>
<p>There are literally hundreds of call providers that can supply Inbound Numbers. You should choose your provider carefully as it&#8217;s more critical to find a reliable number provider, than a reliable outbound call provider. It&#8217;s very easy to switch to a new outbound call provider but once you have published your incoming phone number it&#8217;s more difficult to move that to a new call provider. Sometimes impossible.</p>
<p>Call providers are referred to as ITSPs (Internet Telephony Service Provider).</p>
<p><span id="more-2985"></span></p>
<p><strong>How do the calls get to my Voice Server/PBX?</strong></p>
<p>Calls initially go to you Inbound Number provider. They are then delivered to your PBX/Voice Server. This happens very quickly. In the world of Asterisk calls are delivered to your server using either SIP or IAX2. Both of these are VOIP standards. The most common standard is SIP and you will find that most ITSPs can deliver the calls to your Asterisk server using SIP.</p>
<p><strong>How much do they cost?</strong></p>
<p>The cost of numbers vary wildly from country to country. Geographic numbers in the UK are very inexpensive, you can ever get free ones. Numbers in other countries can be more expensive. Normally when you buy a number you will pay a fixed monthly fee. This usually includes a number of concurrent channels, plus a number of included minutes. Once you exceed your monthly minute allocation there is sometimes a per minute cost for additional minutes. If you expect more than a couple of concurrent calls and/or lots of calls to your number then check these 2 restrictions carefully when looking for a number.</p>
<p>For freephone numbers you are likely to get no included minutes and pay a per minute rate for all incoming calls.</p>
<p><strong>Can I get a number in any country?</strong></p>
<p><strong></strong>Not necessarily. For instance, anyone can buy a number in the UK or US. However, to buy a number in France you need to prove that you are a resident by providing a utility bill or similar.</p>
<p><strong>What happens to an inbound call when it gets to my Voice Server?</strong></p>
<p>In FreePBX you control what happens to an incoming call by creating an Inbound Route. It could go to an extensions, voicemail, interactive menu, conference room or one of many other options.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/back-to-basics-dids-ddis-and-inbound-numbers-2985/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SysAdminMan authorised installer for Humbug Labs</title>
		<link>http://sysadminman.net/blog/2011/sysadminman-authorised-installer-for-humbug-labs-2780</link>
		<comments>http://sysadminman.net/blog/2011/sysadminman-authorised-installer-for-humbug-labs-2780#comments</comments>
		<pubDate>Thu, 04 Aug 2011 10:46:41 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=2780</guid>
		<description><![CDATA[SysAdminMan is now an authorised installer for Humbug Labs. FREE installation on your SysAdminMan Asterisk VPS! Humbug Telecom Labs provides fraud detection and monitoring for your Asterisk (and other) phone system. If you&#8217;ve seen Google Analytics then Humbug Labs works in a similar way, but for VOIP calls. You install a small client on your Asterisk server, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.humbuglabs.org/index.php/index_c/aff/a90s8f2k02f2f0292ofj0avamn002n " rel="nofollow" ><img class="alignright" style="border-width: 1px; border-color: black; border-style: solid; margin: 20px;" title="Humbug Labs" src="http://www.humbuglabs.org/images/humbug_logo.png" alt="Humbug Labs" width="200" height="95" /></a></p>
<p>SysAdminMan is now an authorised installer for <a href="http://www.humbuglabs.org/index.php/index_c/aff/a90s8f2k02f2f0292ofj0avamn002n " rel="nofollow" title="Humbug Labs VOIP fraud detection"  target="_blank">Humbug Labs</a>. FREE installation on your SysAdminMan Asterisk VPS!</p>
<p>Humbug Telecom Labs provides fraud detection and monitoring for your Asterisk (and other) phone system. If you&#8217;ve seen Google Analytics then Humbug Labs works in a similar way, but for VOIP calls. You install a small client on your Asterisk server, which passively sends call detail records to Humbugs servers in &#8216;the cloud&#8217;.</p>
<p>There you can do all sorts of clever monitoring and alerting via the web portal.</p>
<p>This works great with both FreePBX and A2Billing.</p>
<p>Here are the features included -</p>
<p><span style="color: #ff6600;"><strong>TECHNICAL</strong></span> - receive notifications when certain technical events occur, events that are strong indicators of pending fraud.</p>
<p><span style="color: #ff6600;"><strong>BLACKLIST</strong></span> - be notified of traffic from blacklisted sources:</p>
<ul>
<li>User Defined</li>
<li>Community Blacklist</li>
<li>Geographical &#8211; blacklist entire geographical regions around the globe</li>
</ul>
<p><span style="color: #ff6600;"><strong>TIMESTAMP</strong></span> - be notified when calls originate from your organization at times you deem suspicious.</p>
<ul>
<li>User defined time ranges</li>
<li>Business hours</li>
</ul>
<p><span style="color: #ff6600;"><strong>COST &amp; DURATION</strong></span> - receive alerts when individual calls exceed a specified cost per minute, total cost or duration.</p>
<p><span style="color: #ff6600;"><strong>THRESHOLD</strong></span> - receive alerts when daily or hourly costs, durations, or call volume thresholds are exceeded on a total or per country basis.</p>
<p><span style="color: #ff6600;"><strong>STATISTICAL</strong></span> - user Specific Statistically Significant Anomalies, receive alerts when we identify traffic that is inconsistend with your historic telecom usage.</p>
<p>There is currently no cost for a Humbug Labs account and SysAdminMan is offering free installation if you have a VPS from SysAdminMan. Please raise a ticket in the support system to request this.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/sysadminman-authorised-installer-for-humbug-labs-2780/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nortel 1535 &#8211; WiFi and Language tips</title>
		<link>http://sysadminman.net/blog/2011/nortel-1535-wifi-tips-2759</link>
		<comments>http://sysadminman.net/blog/2011/nortel-1535-wifi-tips-2759#comments</comments>
		<pubDate>Wed, 03 Aug 2011 16:37:45 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=2759</guid>
		<description><![CDATA[These tips were sent to me by a reader of the blog and I thought they might be useful for other people struggling with the Nortel 1535. I&#8217;ve definitely seen that the phone is temperamental myself. Being very choosy about the routers that it will work well with. Here are the tips - When setting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/10/ipphone_1535_200x133.jpg"><img class="alignright size-full wp-image-1505" title="ipphone_1535_200x133" src="http://sysadminman.net/blog/wp-content/uploads/2010/10/ipphone_1535_200x133.jpg" alt="Nortel 1535 WiFi SIP handset" width="200" height="133" /></a>These tips were sent to me by a reader of the blog and I thought they might be useful for other people struggling with the Nortel 1535. I&#8217;ve definitely seen that the phone is temperamental myself. Being very choosy about the routers that it will work well with.</p>
<p>Here are the tips -</p>
<ul>
<li>When setting up WiFi profile, be sure to add the SSID by scanning for WifI AP&#8217;s.</li>
</ul>
<ul>
<li>When setting up or switching to WiFi profile be sure to let the phone scan for AP&#8217;s, and select your SSId from the list.</li>
</ul>
<ul>
<li>Not all 1535 seem to be created equally, mine for instance takes several tries before it finally lists available AP&#8217;s.</li>
</ul>
<ul>
<li>When listing fails, it even tells me Wifi Profile not enabled. Ignore that and try again until eventually the AP&#8217;s are shown.</li>
</ul>
<ul>
<li>Then pick your SSID and configure the security settings. This way the phone stores the WiFi information differently than by entering your SSID by hand. When entered by hand, on restart the phone will connect fine to WiFi but will not automatically register the SIP account. When you let the phone search and list available WiFi AP&#8217;s and you configure the WiFi in this way, the phone will automatically start the registering of the phone after a restart or after switching from LAN to WiFi.</li>
</ul>
<ul>
<li>If the scanning of WiFi fails with &#8220;Wireless profile not enabled&#8221; , it might help to put the phone further away from your WiFi router. If scanning still fails, you can enter the SSID manually and register manually. When the phone is restarted, there is no guarantee that it will automatically register after restart if the SSID is not set via the scanning option. When set the SSID manually, rebooting the phone via telnet will let the phone register at startup&#8230;..</li>
</ul>
<ul>
<li>As the phone I got, has the Turkish branding, I gave a demo at a Turkish restaurant. I set the WiFi security, scanned the WiFi networks, choose the right SSID and it registered fine, even after switching the phone off and on by pulling the power cord out. Back home it could not find any AP&#8217;s, entered the SSId manually, gave a reboot in telnet and registration at startup worked fine.</li>
</ul>
<div><strong>And this tip from another reader for changing the phone&#8217;s language from Turkish to English -</strong></div>
<div>
<ul>
<li>To switch to English setting:</li>
<li>Press the left soft button to go into Menu</li>
<li>Scroll to AYARLAR meni</li>
<li>Press TAMAAN (SELECT).</li>
<li>Select &#8220;Telefon ayarlari &#8220;</li>
<li>Select Dil secenekleri</li>
<li>Select Ingilizce</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/nortel-1535-wifi-tips-2759/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Ekiga open source SoftPhone with Asterisk</title>
		<link>http://sysadminman.net/blog/2011/using-ekiga-open-source-softphone-with-asterisk-2615</link>
		<comments>http://sysadminman.net/blog/2011/using-ekiga-open-source-softphone-with-asterisk-2615#comments</comments>
		<pubDate>Tue, 26 Jul 2011 14:04:35 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=2615</guid>
		<description><![CDATA[I&#8217;ve been playing with a softphone called Ekiga for a little while and I can recommend it. It&#8217;s open source (free!) and is available for both Windows and Linux. I tried the Windows version. Installation is quick and simple and entering the extension details for my Asterisk server got it registered without any problems. One [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/07/ekiga1.png"><img class="alignright size-full wp-image-2633" style="border: 1px solid black; margin: 10px;" title="ekiga" src="http://sysadminman.net/blog/wp-content/uploads/2011/07/ekiga1.png" alt="ekiga" width="400" height="306" /></a>I&#8217;ve been playing with a softphone called <a href="http://ekiga.org/" rel="nofollow" title="Ekiga"  target="_blank">Ekiga</a> for a little while and I can recommend it. It&#8217;s open source (free!) and is available for both Windows and Linux. I tried the Windows version.</p>
<p>Installation is quick and simple and entering the extension details for my Asterisk server got it registered without any problems.</p>
<p>One of the most interesting things is the variety of codecs that Ekiga supports. The &#8216;default&#8217; for most people when using Asterisk is G711, an 8kHz codec. This should give the same quiality as a &#8216;regular&#8217; PSTN telephone call.</p>
<p>Ekiga supports G722, a 16kHz codec, and enabling this, along with a pair of USB headphones (<a href="http://www.plantronics.com/uk/product/audio-655-dsp?skuId=sku5260014" rel="nofollow" title="Plantronics Audio 655"  target="_blank">Plantronics Audio 655</a>) it was definitely possible to hear the difference. Audio on calls sounded clearer and fuller. This obviously assumes that the call is in G722 end-to-end. If it goes on to the PSTN audio will be converted to a lower quality there.</p>
<p>Maybe even more interesting is the support for CELT. This is a very high qulity stereo codec. While this is not currently supported in Asterisk, version 10 will offer pass-trhu support for CELT (<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Codecs+and+Audio+Formats" rel="nofollow" title="Asterisk 10 Audio Codecs"  target="_blank">Asterisk 10 Audio Codecs</a>) and, in the future, hopefully be able to transcode it too.</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/07/ekiga-voice-codecs1.png"><img class="alignright" style="border: 1px solid black; margin: 10px;" title="ekiga voice codecs" src="http://sysadminman.net/blog/wp-content/uploads/2011/07/ekiga-voice-codecs1.png" alt="ekiga voice codecs" width="260" height="146" /></a>Ekiga also offers support for Video.</p>
<p>So if you&#8217;re looking for a simple, quick, cross-platform SoftPhone then it&#8217;s worth checking out Ekiga &#8211; <a href="http://ekiga.org/" rel="nofollow" title="Ekiga"  target="_blank">ekiga.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/using-ekiga-open-source-softphone-with-asterisk-2615/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTC Desire, Android Gingerbread and Asterisk</title>
		<link>http://sysadminman.net/blog/2011/htc-desire-android-gingerbread-and-asterisk-2202</link>
		<comments>http://sysadminman.net/blog/2011/htc-desire-android-gingerbread-and-asterisk-2202#comments</comments>
		<pubDate>Wed, 27 Apr 2011 21:01:47 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[2.3]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[gingerbread]]></category>
		<category><![CDATA[sip]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=2202</guid>
		<description><![CDATA[I&#8217;ve been running the LeeDroid ROM on my HTC Desire for a while now but after trying to upgrade to the latest version went a little haywire I decide to see what other options there were. I wanted to run Android 2.3 &#8211; Gingerbread &#8211; but HTC havn&#8217;t released their HTC Sense for the Desire/Gingerbread [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running the <a href="http://sysadminman.net/blog/2010/updating-o2-htc-desire-to-android-2-2-froyo-1340"title="Installing leedroid on a HTC Desire"  target="_blank">LeeDroid</a> ROM on my <a href="http://www.htc.com/www/product/desire/overview.html" rel="nofollow" title="HTC Desire"  target="_blank">HTC Desire</a> for a while now but after trying to upgrade to the latest version went a little haywire I decide to see what other options there were.</p>
<p>I wanted to run Android 2.3 &#8211; <a href="http://developer.android.com/sdk/android-2.3-highlights.html" rel="nofollow" title="Android 2.3 - Gingerbread"  target="_blank">Gingerbread</a> &#8211; but HTC havn&#8217;t released their HTC Sense for the Desire/Gingerbread combination yet, so if you want to run Android 2.3 you can, just without Sense.</p>
<p>I installed <a href="http://www.cyanogenmod.com/" rel="nofollow" title="cyanogenmod"  target="_blank">CyanogenMod</a> 7.0.2 which is based on Android 2.3.3. The install was easy on my rooted Desire and after having it for a day I don&#8217;t think I&#8217;ll miss HTC Sense.</p>
<p>One really nice feature is the addition of a SIP stack as standard. I was able to type in the name of my Asterisk server, plus the extension and secret, and start making calls immediately. I&#8217;ve used <a href="http://sipdroid.org/" rel="nofollow" title="SipDroid"  target="_blank">SipDroid</a> before but the integration of SIP in Gingerbread seems much nicer.</p>
<p>I called my Asterisk voicemail over both WiFi and 3G without any problems but, as always with VOIP and WiFi/3G, you are going to want a good signal and not be moving around to get acceptable results.</p>
<p>Here are some screenshots of my Gingerbread install -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_41.png"><img class="alignnone size-full wp-image-2213" style="margin: 10px;" title="The Internet Call option settings in Gingerbread" src="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_41.png" alt="The Internet Call option settings in Gingerbread" width="200" height="333" /></a><a href="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_52.png"><img class="alignnone size-full wp-image-2214" style="margin: 10px;" title="Selecting Internet Calling options" src="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_52.png" alt="Selecting Internet Calling options" width="200" height="333" /></a><a href="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_62.png"><img class="alignnone size-full wp-image-2215" style="margin: 10px;" title="Asterisk SIP settings" src="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_62.png" alt="Asterisk SIP settings" width="200" height="333" /></a></p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_72.png"><img class="alignnone size-full wp-image-2216" style="margin: 10px;" title="Choosing whether to make the call over VOIP" src="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_72.png" alt="Choosing whether to make the call over VOIP" width="200" height="333" /></a><a href="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_82.png"><img class="alignnone size-full wp-image-2217" style="margin: 10px;" title="An Asterisk voicemail call in progress" src="http://sysadminman.net/blog/wp-content/uploads/2011/04/mnt_sdcard_screenshots_screenshot_82.png" alt="An Asterisk voicemail call in progress" width="200" height="333" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/htc-desire-android-gingerbread-and-asterisk-2202/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Test your broadband connection for VOIP</title>
		<link>http://sysadminman.net/blog/2011/test-your-broadband-connection-for-voip-2077</link>
		<comments>http://sysadminman.net/blog/2011/test-your-broadband-connection-for-voip-2077#comments</comments>
		<pubDate>Wed, 23 Mar 2011 11:35:02 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[visualware]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=2077</guid>
		<description><![CDATA[Most broadband connections work really well with VOIP now but any jitter or packet loss will ruin your call quality. Here&#8217;s a neat tool that checks your link for latency, packet loss and jitter. Bear in mind that if you&#8217;re running the test on a computer/laptop that&#8217;s connected via WiFi you are likely to get [...]]]></description>
			<content:encoded><![CDATA[<p>Most broadband connections work really well with VOIP now but any jitter or packet loss will ruin your call quality.</p>
<p>Here&#8217;s a neat tool that checks your link for latency, packet loss and jitter. Bear in mind that if you&#8217;re running the test on a computer/laptop that&#8217;s connected via WiFi you are likely to get much worse results that a physically cabled connection. Running VOIP over WiFi is definitely not recommended.</p>
<p><span id="more-2077"></span>The test requires Java installed on the machine running the test.</p>
<p>The test is provided by Visualware and can be accessed here &#8211; <a href="http://myspeed.visualware.com/indexvoip.php" rel="nofollow" title="myspeed visualware voip"  target="_blank">http://myspeed.visualware.com/indexvoip.php</a></p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/03/visualware_voip_test_1.png"><img class="alignnone size-full wp-image-2078" style="border: 1px solid black; margin: 10px;" title="visualware_voip_test_1" src="http://sysadminman.net/blog/wp-content/uploads/2011/03/visualware_voip_test_1.png" alt="" width="900" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/test-your-broadband-connection-for-voip-2077/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digium blog post &#8211; PBX in the Cloud or in the Closet?</title>
		<link>http://sysadminman.net/blog/2011/digium-blog-post-pbx-in-the-cloud-or-in-the-closet-1660</link>
		<comments>http://sysadminman.net/blog/2011/digium-blog-post-pbx-in-the-cloud-or-in-the-closet-1660#comments</comments>
		<pubDate>Sat, 29 Jan 2011 23:53:59 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=1660</guid>
		<description><![CDATA[An interesting article discussing some of the benefits of hosting an Asterisk/VOIP server in the cloud or at your premises. http://blogs.digium.com/2011/01/26/pbx-in-the-cloud-or-in-the-closet/]]></description>
			<content:encoded><![CDATA[<p>An interesting article discussing some of the benefits of hosting an Asterisk/VOIP server in the cloud or at your premises.</p>
<p><a href="http://blogs.digium.com/2011/01/26/pbx-in-the-cloud-or-in-the-closet/" rel="nofollow" title="PBX in the Cloud or in the Closet"  target="_blank">http://blogs.digium.com/2011/01/26/pbx-in-the-cloud-or-in-the-closet/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/digium-blog-post-pbx-in-the-cloud-or-in-the-closet-1660/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Technical Asterisk podcasts &#8211; VUC</title>
		<link>http://sysadminman.net/blog/2010/technical-asterisk-podcasts-vuc-1490</link>
		<comments>http://sysadminman.net/blog/2010/technical-asterisk-podcasts-vuc-1490#comments</comments>
		<pubDate>Mon, 25 Oct 2010 20:26:14 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=1490</guid>
		<description><![CDATA[If you&#8217;re interested in listening to interesting technical podcasts about Asterisk/VOIP then check out the VOIP Users Conference. website : http://www.voipusersconference.org/ podcast feed : http://recordings.voipusersconference.org/ twitter : http://twitter.com/voipusers]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re interested in listening to interesting technical podcasts about Asterisk/VOIP then check out the VOIP Users Conference.</p>
<p>website : <a href="http://www.voipusersconference.org/" rel="nofollow" title="VUC website"  target="_blank">http://www.voipusersconference.org/</a></p>
<p>podcast feed : <a href="http://recordings.voipusersconference.org/" rel="nofollow" title="VUC podcasts"  target="_blank">http://recordings.voipusersconference.org/</a></p>
<p>twitter : <a href="http://twitter.com/voipusers" rel="nofollow" title="VUC twitter"  target="_blank">http://twitter.com/voipusers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/technical-asterisk-podcasts-vuc-1490/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using iPhone Skype over 3G with Asterisk and FreePBX</title>
		<link>http://sysadminman.net/blog/2010/using-iphone-skype-over-3g-with-asterisk-and-freepbx-1123</link>
		<comments>http://sysadminman.net/blog/2010/using-iphone-skype-over-3g-with-asterisk-and-freepbx-1123#comments</comments>
		<pubDate>Mon, 31 May 2010 11:51:01 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[inbound route]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sfa]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=1123</guid>
		<description><![CDATA[Skype have recently updated their iPhone application to work over 3G. When combined with Skype For Asterisk from Digium it is now possible to call in to your Asterisk server for free over 3G. Unfortunately though this will only last for a short time as Skype are planning on charging for Skype to Skype calls [...]]]></description>
			<content:encoded><![CDATA[<p>Skype have recently <a href="http://about.skype.com/press/2010/05/iphone_calling_over_3g.html" rel="nofollow" title="Skype for iPhone" >updated their iPhone application to work over 3G</a>. When combined with Skype For Asterisk from <a href="http://www.digium.com/en/products/software/skypeforasterisk.php" rel="nofollow" title="Skype for Asterisk" >Digium</a> it is now possible to call in to your Asterisk server for free over 3G. Unfortunately though this will only last for a short time as Skype are planning on charging for Skype to Skype calls over 3G (I&#8217;m not sure how the mobile operators feel about this as they will be the ones losing out on the call revenue!)</p>
<p>Skype on the iPhone is not really useful for receiving calls as, unless the Skype application is running, it is not logged it. Roll on iPhone 4 and multi-tasking!</p>
<p>Once the Skype for Asterisk software is installed and configured it is possible to create Inbound Routes in FreePBX as normal to route the incoming Skype calls to their destination -<br />
<span id="more-1123"></span><br />
<a href="http://sysadminman.net/blog/wp-content/uploads/2010/05/inbound-route-for-skype-user.jpg"><img class="alignnone size-full wp-image-1124" style="border: 1px solid black; margin-top: 10px; margin-bottom: 10px;" title="inbound route for skype user" src="http://sysadminman.net/blog/wp-content/uploads/2010/05/inbound-route-for-skype-user.jpg" alt="" width="905" height="380" /></a></p>
<p>One thing that didn&#8217;t work (at least on FreePBX x 2.7.0.2) was entering a Skype user ID as a Caller ID Number. This could be useful if you wanted to enter your iPhone Skype ID and route to maybe the phone book or DISA. Entering any text as the Caller ID Number generated the following error -</p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/05/non-standard-did-pattern.jpg"><img class="size-full wp-image-1126 alignnone" style="border: 1px solid black; margin-top: 10px; margin-bottom: 10px;" title="DID information is normally just an incoming telephone number or for advanced users, a valid Asterisk Dial Pattern. You have entered a non standard DID pattern." src="http://sysadminman.net/blog/wp-content/uploads/2010/05/non-standard-did-pattern.jpg" alt="" width="617" height="192" /></a></p>
<p><a href="http://sysadminman.net/blog/wp-content/uploads/2010/05/Please-enter-a-valid-Caller-ID-Number.jpg"><img class="size-full wp-image-1127 alignnone" style="border: 1px solid black; margin-top: 10px; margin-bottom: 10px;" title="Please enter a valid Caller ID Number" src="http://sysadminman.net/blog/wp-content/uploads/2010/05/Please-enter-a-valid-Caller-ID-Number.jpg" alt="" width="365" height="129" /></a></p>
<p>It is possible to disable this message and make entering a Skype ID possible but you do this at your own risk! The code that checks the format of the caller ID is located here -</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">/var/www/html/admin/modules/core/page.did.php</div></div>
<p>(This may vary depending on where your FreePBX is installed)</p>
<p>To disable the format checking of the Caller ID Number entered you need to comment out 2 lines (line numbers 353 and 354 on my versision of FreePBX). You can comment them out by putting a double / in front like this -</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">&nbsp; &nbsp; 352 &nbsp; &nbsp; &nbsp; &nbsp; var mycid = theForm.cidnum.value.toLowerCase();<br />
&nbsp; &nbsp; 353 &nbsp; &nbsp; &nbsp; &nbsp; // if (!isDialpattern(mycid) &amp;&amp; mycid.substring(0,4) != &quot;priv&quot; &amp;&amp; mycid.substring(0,5) != &quot;block&quot; &amp;&amp; mycid != &quot;unknown&quot; &amp;&amp; mycid.substring(0,8) != &quot;restrict&quot; &amp;&amp; &nbsp; &nbsp; &nbsp; &nbsp; mycid.substring(0,7) != &quot;unavail&quot; &amp;&amp; mycid.substring(0,6) != &quot;anonym&quot;)<br />
&nbsp; &nbsp; 354 &nbsp; &nbsp; &nbsp; &nbsp; // return warnInvalid(theForm.cidnum, msgInvalidCIDNum);</div></div>
<p>This change will get overwritten if you update FreePBX (existing inbound routes should continue to work though). You should now be able to enter a Skype user ID as the Caller ID Number.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2010/using-iphone-skype-over-3g-with-asterisk-and-freepbx-1123/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

