<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chilling_Silence&#039;s tech blog</title>
	<atom:link href="http://chillingsilence.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chillingsilence.wordpress.com</link>
	<description>Tech-related ramblings that are sure to interest you ;)</description>
	<lastBuildDate>Fri, 15 Apr 2011 05:34:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='chillingsilence.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chilling_Silence&#039;s tech blog</title>
		<link>http://chillingsilence.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chillingsilence.wordpress.com/osd.xml" title="Chilling_Silence&#039;s tech blog" />
	<atom:link rel='hub' href='http://chillingsilence.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Google Wave is now available, and on your domain too!</title>
		<link>http://chillingsilence.wordpress.com/2010/05/26/google-wave-is-now-available-and-on-your-domain-too/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/26/google-wave-is-now-available-and-on-your-domain-too/#comments</comments>
		<pubDate>Tue, 25 May 2010 22:11:56 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Custom URL]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[GAFYD]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[Google Wave]]></category>
		<category><![CDATA[Wave]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=271</guid>
		<description><![CDATA[Yes, that&#8217;s right, if you&#8217;re using Google Apps for your Domain, you can now enable Wave domain-wide! Best part is it&#8217;s totally free, and very easy to dive right in! Google Wave has been in private-beta status since Google I/O 2009, and one year later it&#8217;s being opened to the public. Google Wave is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=271&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, that&#8217;s right, if you&#8217;re using Google Apps for your Domain, you can now enable Wave domain-wide! Best part is it&#8217;s totally free, and very easy to dive right in!</p>
<p>Google Wave has been in private-beta status since Google I/O 2009, and one year later it&#8217;s being opened to the public.</p>
<p>Google Wave is a realtime multi-user combination of both Instant Messaging, Email and Document collaboration service. Basically it means that as you write, the other people who are in the Wave with you (Think of it like a chat conversation) see what is being typed as it happens.</p>
<p>So, how do we get started?</p>
<p>If you already have Google Apps for your Domain, you can easily enable this feature for all of your accounts.</p>
<p><span id="more-271"></span>To enable this, simply login to your Google Domain dashboard:</p>
<p>https://www.google.com/a/cpanel/yourdomain.com/Dashboard</p>
<p>Obviously adjust yourdomain.com to your actual domain.</p>
<p>It will probably prompt you for your password.</p>
<p>When you&#8217;re logged in, you should see a list of of all your enabled services, such as Email, Calendar etc</p>
<p>You want to click on &#8220;Add more services&#8221; which is just above the enabled services.</p>
<p>You&#8217;ll be taken to a new screen where you can select the service you wish to Add to your domain, in this case you want to select Wave.</p>
<p>Anyways, follow your nose a little, but one useful thing that I found was the ability to change the url you access your domains Waves from, much like you can with mail. For example, instead of using:</p>
<p>https://wave.google.com/a/yourdomain.com/</p>
<p>You can have:</p>
<p>https://wave.yourdomain.com/</p>
<p>Much better!</p>
<p>To do this, all you need is to add a CNAME record from wave.yourdomain.com to ghs.google.com</p>
<p>Then, back in your Google Apps Dashboard, if you click on Google Wave, it&#8217;ll take you to the subpage to edit the Wave settings for the domain. The first option is: Web Address</p>
<p>Click on Change URL, then enter in your custom URL just as you&#8217;ve set it up with your DNS provider.</p>
<p>All done!</p>
<p>Stay tuned as I look to migrate blog hosts to my own provider, so I can start playing around a lot more with Wave and other fun things.</p>
<p>As always, if this has helped you, please leave me a quick message just to say Hi.</p>
<p>Cheers</p>
<p>Chill.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=271&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/26/google-wave-is-now-available-and-on-your-domain-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>Well done Google, we know you care about the future of the web with your WebM Project (VP8)</title>
		<link>http://chillingsilence.wordpress.com/2010/05/20/well-done-google-we-know-you-care-about-the-future-of-the-web-with-your-webm-project-vp8/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/20/well-done-google-we-know-you-care-about-the-future-of-the-web-with-your-webm-project-vp8/#comments</comments>
		<pubDate>Wed, 19 May 2010 19:38:23 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Personal Rantings]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Video Codecs]]></category>
		<category><![CDATA[Video Compression]]></category>
		<category><![CDATA[VP8]]></category>
		<category><![CDATA[WebM]]></category>
		<category><![CDATA[WebM Project]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=266</guid>
		<description><![CDATA[Yes, it&#8217;s been announced as predicted: http://webmproject.blogspot.com/2010/05/introducing-webm-open-web-media-project.html All I can say is well done Google, they&#8217;ve truly done the right thing and could have single-handedly helped to preserve the future of video on the web! They&#8217;ve also hit the ground running with a very impressive list of people backing the format, such as: nVidia Intel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=266&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, it&#8217;s been announced as predicted:</p>
<p><a href="http://webmproject.blogspot.com/2010/05/introducing-webm-open-web-media-project.html">http://webmproject.blogspot.com/2010/05/introducing-webm-open-web-media-project.html</a></p>
<p>All I can say is well done Google, they&#8217;ve truly done the right thing and could have single-handedly helped to preserve the future of video on the web! They&#8217;ve also hit the ground running with a very impressive list of people backing the format, such as:</p>
<p>nVidia<br />
Intel<br />
ARM<br />
Qualcom<br />
Adobe Flash platform<br />
Opera<br />
Mozilla / Firefox<br />
CORE Codec<br />
AMD<br />
Logitech and more!</p>
<p>Why is this all so important?</p>
<p><span id="more-266"></span>Well, without an &#8220;open&#8221; standard for the web, essentially if people continued down the path of using a proprietary codec such as h.264, come 2014 the world could literally be held to ransom by the MPEG-LA. They&#8217;ve stated that (in laymans terms) it&#8217;s OK to use h.264 video for the web and will review this again by 2016 (http://en.wikipedia.org/wiki/H.264#Patent_licensing). What that means is they could decide to start charging for the use of this codec in a few ways, but it&#8217;d potentially destroy video on the web with a mad dash for people to find alternatives in order to avoid paying royalties.</p>
<p>Not only that, but with the emerging HTML5 standard (In laymans terms, it&#8217;s a way of defining how browsers should display web code) there is the need to define the codec used with the &lt;video&gt; tag, and that means getting a lot of people to agree on it where previously they wouldn&#8217;t. Ogg Theora wasn&#8217;t good enough quality (amongst other things) but was open-source. h.264 was, but wasn&#8217;t open-source.</p>
<p>By preempting all of this, Google has not only given us the chance to use what is essentially a better codec in MANY ways, but they&#8217;ve saved the future of video for the web.</p>
<p>Not only this, but by having such an array of people back the format when it&#8217;s launched, the WebM project is pretty much a guaranteed success right away! You don&#8217;t have to be a rocket scientist to see that when Google puts video in HD on YouTube (It&#8217;s currently re-encoding all video that is 720p or 1080p to WebM format), that people are going to start using the format right away.</p>
<p>Same for Skype, they&#8217;ve seen that the ex-VP8 codec is pretty much king of the hill in terms of Video Conferencing, and hopefully other 3rd party video conferencing applications and hardware will begin to support it very shortly.</p>
<p>Then there&#8217;s support from hardware vendors too, hopefully this means that there will be hardware acceleration for the format that will continue to improve performance, especially with respect to playback on handheld and portable devices like Cellphones or iPods.</p>
<p>Not to mention rather than shun Adobe, they&#8217;ve pulled them onboard and the Flash platform will support VP8 also. They&#8217;ve got all their bases covered!!</p>
<p>Now, the only thing left for them to do is get Apple onboard with their iPods, iPads and MacOSX. That&#8217;s a huge slice of the market that you don&#8217;t want to leave out in the cold, but technically speaking there is very little from WebM being supported simply through the push of a software update. Heck, what greater way for Apple to say &#8220;Upgrade to the latest iPhone OS 4.0 and you get support for the latest video format for 720p video from YouTube etc.&#8221;, as I know that&#8217;d be a killer feature and reason to upgrade.</p>
<p>Same goes for Microsoft, they&#8217;ve gotta get them onboard. While Microsoft with Internet Explorer haven&#8217;t yet (from what I can tell) ruled out the idea of supporting this format, they had announced that they would back h.264. In an ideal world, Microsoft would support WebM in Internet Explorer 9 (IE9 is in heavy development right now), and potentially even push out an optional software update for the likes of Windows Media Player that provides it with support. It would be genius on their behalf as it would mean less people over time *need* to install 3rd party media players and codecs, and can continue to use Windows Media Player.</p>
<p>In summary, I&#8217;m absolutely stoaked that Google have released VP8 as the WebM project. It was just 7 hours ago when I was trying the homepage, <a href="http://www.webmproject.org/">http://www.webmproject.org</a> only to find nothing on it.</p>
<p>Time will truly tell how this tale unfolds, if VP8 / WebM flies or flops.</p>
<p>All I can say is this: Google, you have my support, well done for thinking of the future of the world, and well done for launching with such an impressive list of companies backing you too!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=266&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/20/well-done-google-we-know-you-care-about-the-future-of-the-web-with-your-webm-project-vp8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>FTTH (Fibre-to-the-Home) and ADSL2+ in NZ</title>
		<link>http://chillingsilence.wordpress.com/2010/05/11/ftth-fibre-to-the-home-and-adsl2-in-nz/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/11/ftth-fibre-to-the-home-and-adsl2-in-nz/#comments</comments>
		<pubDate>Tue, 11 May 2010 09:52:19 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Personal Rantings]]></category>
		<category><![CDATA[ADSL]]></category>
		<category><![CDATA[ADSL2+]]></category>
		<category><![CDATA[Broadband]]></category>
		<category><![CDATA[Cabinet]]></category>
		<category><![CDATA[Chorus]]></category>
		<category><![CDATA[Fibre]]></category>
		<category><![CDATA[Fibre to the Home]]></category>
		<category><![CDATA[FTTH]]></category>
		<category><![CDATA[Internet speed]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[Telecom]]></category>
		<category><![CDATA[VDSL2]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=255</guid>
		<description><![CDATA[Having explained this now 5x in the last 24 hours, I decided it was time to blog about it. This post summarizes why NZ broad band doesn&#8217;t &#8220;suck&#8221;, why FTTH isn&#8217;t going to solve what your problems are, and what you can do about it in the mean time. It&#8217;ll also explain to you how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=255&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having explained this now 5x in the last 24 hours, I decided it was time to blog about it.</p>
<p>This post summarizes why NZ broad band doesn&#8217;t &#8220;suck&#8221;, why FTTH isn&#8217;t going to solve what your problems are, and what you can do about it in the mean time.</p>
<p>It&#8217;ll also explain to you how &#8220;The Internet&#8221; works, here in New Zealand, as well as giving you some figures to compare us against the rest of the world.</p>
<p><span id="more-255"></span></p>
<h1>What&#8217;s on offer globally? NZ vs the World:</h1>
<p>Lets start by looking at Japan.</p>
<p>They have 90% of their homes capable of getting Fibre (1), yet only 30% actually *have* it. Why?</p>
<p>Likely because it&#8217;s more cost-effective to get something like ADSL broadband instead, and the benefits that Fibre provides over ADSL2+ for most people is very slim.</p>
<p>What about Korea? They&#8217;re apparently well known for their high-speed connections, yet speedtest.net (2) shows an average speed of 22.5m/bit (NZ it down at 4.9m/bit currently). Sure, there&#8217;s a lot of things that can affect their speeds, but it&#8217;s a decent indication of a &#8220;real world&#8221; scenario.</p>
<p>Lets compare us to England. In England, the Govt has just pledged to get the whole country on to 2m/bit connections by the end of 2012 (3), whereas estimates are only 1/3 the country will get their &#8220;next generation&#8221; broadband, of 25mbps.</p>
<p>Now, lets look at New Zealand.</p>
<h1>How things were, how they are, and how they&#8217;re going to be:</h1>
<p>Telecom launched &#8220;Jetstream Broadband&#8221; back a decade ago now, in the year 2000. They were on the cutting edge of technology, considering ADSL had only been approved as a standard less than 24 months earlier!</p>
<p>Since then, there have been 5 major upgrades in the likes of the Telephone exchanges (The central place where all the phones meet in your suburb, internet is pumped out from there), each one just as costly for Telecom to install as the previous. Can you imagine how that&#8217;s got to look trying to justify that to a board of directors?<br />
&#8220;Hey guys, we know we&#8217;ve only *just* finished the last technology upgrade in each of the exchanges across the country, but there&#8217;s something slightly better available now and we want it. Yes, it&#8217;s gonna costs millions and millions of dollars but we want to give NZ the best available!&#8221;</p>
<p>I don&#8217;t know how they pulled that one off time and time again, but they did!</p>
<p>So fast-forward 10 years down the track and the Govt is mandating that Telecom install roadside cabinets across the country. There&#8217;s 3600 of them in fact, and they&#8217;re over half-way done right now.  The Cabinets have the same technology as the Exchange, they&#8217;re effectively a &#8220;mini-exchange&#8221; if you will, so that houses within a 2KM radius get the absolute *best* in speeds. This is because, the way that ADSL broadband works, the further you are from your Exchange (or roadside cabinet), the slower your attainable speed.</p>
<p>This is a good visual explanation: <a href="http://www.chorus.co.nz/f472,15074/15074_Fast_broadband.jpg">http://www.chorus.co.nz/f472,15074/15074_Fast_broadband.jpg</a></p>
<p>Telecom are promising that over 80% of NZ will have 10m/bit+ by the end of 2011.</p>
<p>Englands Govt is promising England just 2m/bit by 2012&#8230;</p>
<p>But it gets better. In areas that have been upgraded, NZ&#8217;ers are seeing an average speed of 16m/bit! (1)</p>
<p>But it gets even better:</p>
<h1>Where the real problem is now:</h1>
<p>Right now, many people get half-decent speeds between their home and their Exchange, but that&#8217;s not where the problem lies.</p>
<p>The real problem is that because there are <em>so, so many</em> homes that have broadband, all going back to the one Exchange, that the pipe from &#8220;The internet&#8221; to the Exchange just simply can&#8217;t provide everybody with enough to reach their maximum attainable speed.</p>
<p>What does this mean in laymans terms?</p>
<p>Imagine the road to your home is a nice wide road, and you&#8217;ve got a pretty decent car too that goes pretty fast. Now imagine that around peak time (Rush hour?), everybody is on the road to your home. What happens? Traffic slows down, and so instead of doing 50Kmph you only end up doing 10Kmph. Make sense?</p>
<p>Picture the roadside-cabinet rollout like this:</p>
<p>Now there&#8217;s not just one main road in your area, but potentially dozens and dozens, but the speed limit has been increased from 50KMph to 200KMph!</p>
<p>That&#8217;s what the roadside cabinets are doing. Now, if only we could have the same sort of improvements with rush-hour traffic in Auckland!</p>
<p>As Telecom Chorus roll out the new roadside cabinets, with the new ADSL2+ &amp; VDSL2 technology, they&#8217;re also preparing for the possibility of running Fibre from these roadside cabinets, and as such the back-end infrastructure is also significantly upgraded from the cabinet to &#8220;The Internet&#8221; so that there&#8217;s always far more than enough room for you to speed along at 200KMph, and then-some!</p>
<h1>But won&#8217;t Fibre be even better?</h1>
<p>Well that&#8217;s a really good question. In terms of max raw speeds, yes.</p>
<p>VDSL2 (Which is also being rolled out at the moment) has a max of 50m/bit. Fibre has a max of 100m/bit. However that&#8217;s not the issue.</p>
<p>Right now, most people across NZ have a 3GB cap. This is because of two things:</p>
<p>1) The base-cost associated with providing your home with an internet service of some form<br />
2) The high per-GB cost of international data</p>
<p>Data is estimated to cost USD$0.20 per-GB for international data at wholesale costs (What Telecom gets it for). It gets resold in NZ for around NZD$2 per-GB.</p>
<p>Why is this relevant? Well, regardless of if you&#8217;ve got Dial-Up, ADSL, Cable or Fibre, it costs your ISP for you to use data internationally.</p>
<p>Ask yourself this: Is it even remotely logical that we would get a super high speed plan, capable of downloading masses of data in a short time, for the same price as you currently get just 3GB to 10GB?</p>
<p>The long and short: No.</p>
<p>With having a higher speed fibre plan, you&#8217;re either going to chew through your measly 3GB data cap in seconds, or it&#8217;s going to cost you significantly more to have a bigger monthly data allowance. What&#8217;s the point in having a line that can burn through your data allowance in under a minute? Imagine if you get infected with a virus and it starts sending out to the internet, your bill at the end of the month would be astronomically higher because of the faster speeds.</p>
<p>Sure, prices may have adjusted then, data costs may be less, but why would the ISPs suddenly *give* away their margins?</p>
<p>I certainly wouldn&#8217;t roll out a multi-billion dollar fibre network, and then make a loss. Heck, if it&#8217;s the latest and greatest, then I&#8217;m going to charge for it and make it a &#8220;premium&#8221; product, just like everything else in this world is when they&#8217;re brand new.</p>
<p>Even when it&#8217;s not &#8220;brand new&#8221;, because it&#8217;s still &#8220;top of the line&#8221;, it&#8217;s never going to be as cheap as the likes of ADSL2+ or VDSL2, because there&#8217;s less involved in cabling to your house. They just have to lay new cable to each of the Cabinets as they upgrade them (3600 of them), not to millions of homes and businesses.</p>
<p>It&#8217;s also worth noting that new technology has shown speeds of 500m/bit achievable through using just a standard copper telephone line (4), and given Telecom&#8217;s history, if this technology is decent, do you think it&#8217;ll take long to get to NZ?</p>
<h1>But I can&#8217;t survive with ADSL broadband!</h1>
<p>Well actually you most probably can.</p>
<p>In fact, almost all the issues that you&#8217;ll find you have with ADSL, you&#8217;ll have with fibre.</p>
<p>If you&#8217;re going to be watching High-Def video on YouTube, gaming, VoIP calls and browsing the web all at once, you&#8217;re potentially going to run into issues on both Fibre and on ADSL2+.</p>
<p>Why?</p>
<p>Well when you load up YouTube, it just goes full-throttle downloading the video as quickly as it can. That&#8217;s just the nature of the beast. If you&#8217;ve got ADSL2+ or Fibre, you&#8217;re still going to run into issues where it uses up all of your connection and leaves no room for gaming, browsing or VoIP calls.</p>
<p>What you need is your ISP or your Router to manage the flow of things. Because in NZ we currently don&#8217;t have any ISP&#8217;s who will do this (Although I&#8217;ve discussed with multiple Big-Cheeses at Telecom the prospect of this), you have to do it yourself.</p>
<p>Basically what you do with your Router is what&#8217;s called &#8220;QoS&#8221;, which stands for &#8220;Quality of Service&#8221;. In a nutshell, it&#8217;s going to give some types of traffic, such as Gaming, or Voice calls priority over other things, such as file-sharing or video-streaming.</p>
<p>Some routers do this better than others, ask around your techno-savvy friends, on PressF1.co.nz for advice, or even here in the Comments</p>
<h1>So, what are you saying with all this?</h1>
<p>I&#8217;m suggesting that Fibre to the Home in New Zealand is *not* going to be the long-awaited savior people are hoping, but rather education about the different types of broadband available, and helping people get on to ADSL2+ (And cabinetized) connections will solve pretty much all of New Zealands issues that can be solved at an infrastructure level. Not only this, but it will all happen within the next 18 months, rather than 10 years.</p>
<p>Naturally there are exceptions to this rule, some people want to do things like real-time High-Def video broadcasting which you simply must have Fibre for. They&#8217;re the exception, not the norm. For the vast majority of NZ, Fibre&#8217;s not going to be any cheaper nor provide any tangible benefits in terms of usable speed or data caps.</p>
<p>Do yourself a favor, and get ADSL2+!</p>
<h1>References:</h1>
<p>1) <a href="http://www.nbr.co.nz/opinion/chris-keall/average-nz-internet-speed-just-297mbits-akamai">http://www.nbr.co.nz/opinion/chris-keall/average-nz-internet-speed-just-297mbits-akamai</a></p>
<p>2) <a href="http://speedtest.net/global.php#0">http://speedtest.net/global.php#0</a></p>
<p>3) <a href="http://news.bbc.co.uk/2/hi/technology/8618507.stm">http://news.bbc.co.uk/2/hi/technology/8618507.stm</a></p>
<p>4) <a href="http://www.gizmag.com/ericsson-vdsl2-500mbits/11296/">http://www.gizmag.com/ericsson-vdsl2-500mbits/11296/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=255&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/11/ftth-fibre-to-the-home-and-adsl2-in-nz/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing ADA (Asterisk Desktop Assistant) on Elastix</title>
		<link>http://chillingsilence.wordpress.com/2010/05/11/installing-ada-asterisk-desktop-assistant-on-elastix/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/11/installing-ada-asterisk-desktop-assistant-on-elastix/#comments</comments>
		<pubDate>Mon, 10 May 2010 20:43:07 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[ADA]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[dialplan]]></category>
		<category><![CDATA[digium]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[manager]]></category>
		<category><![CDATA[Snap]]></category>
		<category><![CDATA[Snapanumber]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=250</guid>
		<description><![CDATA[Formerly SnapANumber, ADA is now offered by Digium. However, the first thing that you&#8217;ll notice is that it was written for their Asterisk Business Edition. That&#8217;s great if you have ABE, but not so good if you&#8217;re one of the millions of installs out there that uses vanilla Asterisk. This guide presumes you already have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=250&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Formerly SnapANumber, ADA is now offered by Digium. However, the first thing that you&#8217;ll notice is that it was written for their Asterisk Business Edition.</p>
<p>That&#8217;s great if you have ABE, but not so good if you&#8217;re one of the millions of installs out there that uses vanilla Asterisk.</p>
<p>This guide presumes you already have ADA downloaded and installed. If not, you can get the latest (At the time of writing) version 1.1 from here:</p>
<p><a href="http://dl1.digium.com/ADA1.1/ADAInstall.exe">http://dl1.digium.com/ADA1.1/ADAInstall.exe</a></p>
<p>Now you&#8217;re going to ignore any instructions you&#8217;re previously read, and we&#8217;ll start from scratch. Don&#8217;t worry, you&#8217;ll be up and running in a matter of moments!</p>
<p><span id="more-250"></span>Once ADA is downloaded, installed and running, you should be greeted with a login window.</p>
<p>What you now need is the &#8220;manager&#8221; user to be setup.</p>
<p>The &#8220;manager&#8221; user is different from your regular extension, in that it allows you to control the actions of Asterisk. With this in mind, you need to be careful when setting up an Ext, not to have a weak password, and make sure you use the permit / deny lines, even for remote extensions. You can get a password generated for you here: <a href="http://www.thebitmill.com/tools/password.html">http://www.thebitmill.com/tools/password.html</a></p>
<p>From the shell, we&#8217;re going to edit /etc/asterisk/manager_custom.conf like this:</p>
<pre>nano -w /etc/asterisk/manager_custom.conf</pre>
<p>You&#8217;re now going to create a new entry with the following details, in my case I&#8217;m Ext 199:</p>
<pre>[199]
secret=mkHHa031kHMsGRu
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user</pre>
<p>Now you need to create a manager user for every Ext that will be using ADA. This is because ADA uses the username part as the Ext for it to ring to connect the call to.<br />
Without it, it would be the same as you dialing the number, and the system just sitting there, holding it.</p>
<p>Ctrl + X to quit nano, and you can safely get your ADA desktop client to login with the username: Ext@asteriskIP</p>
<p>In my case it would be something like: <em>199@192.168.0.250</em></p>
<p>Use the password you specified above in the manager user, and <em>not </em>your regular SIP Secret.</p>
<p>If you find you&#8217;re unable to connect, confirm that you&#8217;ve got the right password, and adjust the &#8220;permit=&#8221; line as applicable. I would highly recommend leaving it in there and just adjusting it for your IP range. Same goes for external or remote clients, make sure that you have their IP Address.</p>
<p>Now that you&#8217;ve done that, you need to hook ADA into your dial-plan.</p>
<p>Again, the standard documentation is no good here, so, we&#8217;re going to edit another file:</p>
<pre>nano -w /etc/asterisk/extensions_custom.conf</pre>
<p>At the top of this file (Well under the first tow lines of comments) we&#8217;re going to add in the following:</p>
<pre>[ada]
include =&gt; from-internal</pre>
<p>Then hit Ctrl + X and follow the prompts to save and quit.</p>
<p>Again the standard documentation is no good for us there, as the &#8220;ADA&#8221; context is actually &#8220;ada&#8221; in lower case, and we&#8217;ll use the &#8220;from-internal&#8221; instead of &#8220;default&#8221;.</p>
<p>Now you need to refresh the dial-plan (Just this once) so run this:</p>
<pre>asterisk -rx 'dialplan reload'</pre>
<p>You&#8217;re now all good to go! On your ADA desktop client, you can create a test call! It&#8217;s easiest to test to another Ext in my opinion, so enter in the Ext # of another extension on the system and hit &#8220;enter&#8221;.</p>
<p>What should happen:</p>
<p>Your phone will ring immediately</p>
<p>You pick it up and will hear ringing, the destination phone should now also be ringing</p>
<p>Easy!</p>
<p>If this has helped you in any way, please leave a comment and say Hi.</p>
<p>Cheers</p>
<p>Chill.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=250&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/11/installing-ada-asterisk-desktop-assistant-on-elastix/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>Why VP8 matters</title>
		<link>http://chillingsilence.wordpress.com/2010/05/10/why-vp8-matters/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/10/why-vp8-matters/#comments</comments>
		<pubDate>Sun, 09 May 2010 23:26:53 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Personal Rantings]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[h.264]]></category>
		<category><![CDATA[h264]]></category>
		<category><![CDATA[HD]]></category>
		<category><![CDATA[High-Def]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Ogg]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[VP8]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=245</guid>
		<description><![CDATA[This post was made prior to the Google IO conference which is May 19 -&#62; 20th, and as such things may change after this date. VP8 is potentially a game-changer in the realm of both streaming, High-Definition, and mobile video devices. It also has the potential to help in the killing of Adobe Flash, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=245&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post was made prior to the Google IO conference which is May 19 -&gt; 20th, and as such things may change after this date.</p>
<p>VP8 is potentially a game-changer in the realm of both streaming, High-Definition, and mobile video devices. It also has the potential to help in the killing of Adobe Flash, and solve the HTML5 Video format war.</p>
<p>Currently there are two formats that are used in HTML5 Video by differing browsers: Ogg Theora and h.264</p>
<p>Both have support from different browsers, both have different camps fighting for their success, and both have their pros and cons.</p>
<p><span id="more-245"></span>Ogg Theora is open-source, and is supported by Mozilla Firefox and Opera.</p>
<p>h.264 is a proprietary codec with paid licenses, it&#8217;s supported by Safari and the upcoming Internet Explorer 9 (1).</p>
<p>Google Chrome currently supports both h.264 and Ogg Theora video.</p>
<h1>A little history</h1>
<p>Ogg Theora was open-sourced a while back now. Previously it was known as VP3, initially made by a company called On2 Technologies. On2 have recently been purchased by Google, and their latest and greatest codec VP8 is a real contender for h.264 video, but currently is under a restrictive license. An example of a &#8220;standard&#8221; piece of encoding software costs around USD$39.</p>
<h1>The arguement</h1>
<p>There are reasons why you want to use Ogg Theora and there are reasons why you don&#8217;t. I&#8217;ll list them all in bullet points, just for ease of reading, and because I&#8217;m lazy:</p>
<ul>
<li>Ogg Theora is open-source, therefor free and can be easily incorporated into a browser</li>
<li>Because it is open-source, people fear it may suffer lawsuits due to software patent infringement (2)</li>
<li>h.264 is arguably better quality, though those from the Theora camp say that they can match or better the quality of h.264 with fine tuning, personally I&#8217;ve found that h.264 is better.</li>
<li>High Definition video requires quite a bit of processing power to decode (Well and even to encode), so it can suck battery life out of things like Cellphones or iPods etc like crazy. h.264 is particularly CPU intensive even when standard or mobile definitions.</li>
<li>VP8 is supposed to use around 50% the CPU requirements to decode the same video, when compared with h.264 (3)</li>
<li>VP8 uses less bandwidth to achieve the same quality (4)</li>
<li>VP8 is able to adjust its quality in realtime, based on things such as CPU use and bandwidth available, and as such would be superb for video conferencing (5)</li>
<li>h.264 video is currently free for use in browsers until the year 2016, but after that who knows, the patent owners could begin charging. If h.264 is *the* codec that&#8217;s used on the web, why wouldn&#8217;t they, and make millions? (6)</li>
<li>Apple is also heavily invested in h.264 with their iPhone / iPad / iPod Touch platforms, they&#8217;re specifically against flash</li>
</ul>
<h1>Why this all matters? Why not flash?</h1>
<p>Well, in a world that&#8217;s heading towards Touchscreens amongst other things, there&#8217;s less and less reasons why people would want to use Flash.</p>
<p>Known for being horribly insecure and one of the main reasons why an OS would crash, it&#8217;s renowned for being CPU and bandwidth intensive (7).</p>
<p>HTML5 is a way to replace Flash for almost everything, and it&#8217;s going to die a slow death (My own prediction there), but it&#8217;s going to happen.</p>
<p>What matters is finding a suitable replacement to the current Flash-Video, prior to the finalizing of the HTML5 specification.</p>
<h1>The options</h1>
<p>If we go with Ogg Theora, it&#8217;s free and open-source, but may come under fire from lawsuits. It&#8217;s debated that the quality isn&#8217;t as good as h.264 either</p>
<p>If we go with h.264, it&#8217;s licensed and popular already, but the owners could begin to hold the world ransom from 2016, and then the world would either have to pay up, or overnight switch to something else. That&#8217;s what the team over at Mozilla is worried about.</p>
<p>We could go with something like VP8, if open-sourced. It&#8217;s got Google behind it, so immediately if they start using it on YouTube, then millions of PC&#8217;s would suddenly support the codec in order to play back the video.</p>
<p>If it&#8217;s open-source, it&#8217;ll keep the Opera &amp; Mozilla camps happy. If it&#8217;s not Flash, it&#8217;ll keep Apple (Safari) happy, and they could potentially use it in their iPhones etc with an update. Google own it, so naturally they&#8217;d support it in Chrome, which just leaves Microsoft. They really want their own Silverlight, but they&#8217;re the only ones, and nobody else seems to like that idea, so they&#8217;ll basically just have to suck it up and go along with it even if they don&#8217;t like it. Besides, it&#8217;d be in their best interests in the long run, compared with h.264 anyway.</p>
<h1>Summary</h1>
<p>This is why we need VP8 to be open-sourced, and for Google to push it via YouTube.</p>
<p>Flash will die</p>
<p>VP8 will use less bandwidth and CPU compared with h.264, so it&#8217;s great for mobile devices like iPhones / iPods / Laptops on battery, and embedded devices like Media Centers. Being open-source will mean people can work on hardware acceleration for encoding / decoding for their particular device (if applicable), and it&#8217;ll mean that the world isn&#8217;t about to be held to ransom over the code (Worst-case is Google does though ..).</p>
<h2>References:</h2>
<p>1) <a href="http://blogs.msdn.com/ie/archive/2010/04/29/html5-video.aspx">http://blogs.msdn.com/ie/archive/2010/04/29/html5-video.aspx</a></p>
<p>2) <a href="http://yro.slashdot.org/story/10/04/30/237238/Steve-Jobs-Hints-At-Theora-Lawsuit">http://yro.slashdot.org/story/10/04/30/237238/Steve-Jobs-Hints-At-Theora-Lawsuit</a></p>
<p>3) <a href="http://www.on2.com/index.php?605">http://www.on2.com/index.php?605</a></p>
<p>4) <a href="http://www.on2.com/index.php?564">http://www.on2.com/index.php?564</a></p>
<p>5) <a href="http://www.on2.com/index.php?606">http://www.on2.com/index.php?606</a></p>
<p>6) <a href="http://newteevee.com/2010/02/04/good-news-for-html5-h-264-streaming-will-remain-free/">http://newteevee.com/2010/02/04/good-news-for-html5-h-264-streaming-will-remain-free/</a></p>
<p>7) <a href="http://www.apple.com/hotnews/thoughts-on-flash/">http://www.apple.com/hotnews/thoughts-on-flash/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=245&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/10/why-vp8-matters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating a windows user profile directory</title>
		<link>http://chillingsilence.wordpress.com/2010/05/07/migrating-a-windows-user-profile-directory/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/07/migrating-a-windows-user-profile-directory/#comments</comments>
		<pubDate>Fri, 07 May 2010 00:01:48 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=241</guid>
		<description><![CDATA[Many times I&#8217;ve found myself wanting to do this, and only just recently learned how to. If you&#8217;ve disconnected from a Domain for example and are now part of a workgroup but want to retain your existing &#8220;setup&#8221;, or perhaps you&#8217;ve got yourself something like an EeePC 900 and your C: Drive is running out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=241&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many times I&#8217;ve found myself wanting to do this, and only just recently learned how to.</p>
<p>If you&#8217;ve disconnected from a Domain for example and are now part of a workgroup but want to retain your existing &#8220;setup&#8221;, or perhaps you&#8217;ve got yourself something like an EeePC 900 and your C: Drive is running out of space, this can be a great way to free up additional space, and it&#8217;s a better all-round solution that purely moving the &#8220;My Documents&#8221; folder.</p>
<p>The whole process should take only 2-3 minutes!</p>
<p><span id="more-241"></span>Firstly you need to have another user account on the machine. Ideally you can just use the Administrator login, but it&#8217;s just as easy if you have another Admin user on your PC.</p>
<p>So, what you need to have done is logged in as your &#8220;local&#8221; user (If moving from a domain). You may need to create a new User, we&#8217;re going to use &#8220;Bob&#8221; as the example in this. Login as Bob, then log out again.</p>
<p>Now, log in as a *different* administrative user, such as Administrator</p>
<p>Move C:\Documents and Settings\Bob, and put it where you want it to be (If applicable).</p>
<p>Click Start &#8211;&gt; Run &#8211;&gt; regedit</p>
<p>Go to HKEY_LOCAL_MACHINE &gt; SOFTWARE &gt; Microsoft &gt; Windows NT &gt; CurrentVersion &gt; ProfileList</p>
<p>You should see several entries in there. You&#8217;ll need to look around at them all, and you want to check the &#8220;ProfileImagePath&#8221; key. It&#8217;ll be something like:</p>
<p>%SystemDrive%\Documents and Settings\Bob</p>
<p>You can now adjust it to something like:</p>
<p>%SystemDrive%\Documents and Settings\Bob.DOMAIN</p>
<p>Or:</p>
<p>D:\BobFiles</p>
<p>All done!</p>
<p>Reboot and login as Bob and you should be OK!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=241&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/07/migrating-a-windows-user-profile-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>Using the Patton SN4554 for ISDN with Elastix</title>
		<link>http://chillingsilence.wordpress.com/2010/05/06/using-the-patton-sn4554-for-isdn-with-elastix/</link>
		<comments>http://chillingsilence.wordpress.com/2010/05/06/using-the-patton-sn4554-for-isdn-with-elastix/#comments</comments>
		<pubDate>Thu, 06 May 2010 04:03:53 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[ISDN]]></category>
		<category><![CDATA[Patton]]></category>
		<category><![CDATA[SN4554]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=236</guid>
		<description><![CDATA[For any business migrating to SIP, the Patton SN4554 is a brilliant way to bring two ISDN lines (4-channels) in to their new PBX system, especially considering you don&#8217;t have to break open your PBX Server to install a PCI card. This basic How-To shows you how to set it up to work with your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=236&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For any business migrating to SIP, the Patton SN4554 is a brilliant way to bring two ISDN lines (4-channels) in to their new PBX system, especially considering you don&#8217;t have to break open your PBX Server to install a PCI card.</p>
<p>This basic How-To shows you how to set it up to work with your Elastix system:<br />
<span id="more-236"></span></p>
<p>First off, you&#8217;ll want the following config which is a bit of a mash-up from some other documentation on making it work with an Aastra 800 (Include the header):</p>
<pre>#----------------------------------------------------------------#
#                                                                #
# Template for SN4554/2BIS/UI to use with Elastix                #
# Use with firmware R5.1 or higher                               #
#                                                                #
# This template uses dhcp to retrieve an IP address. Comments in #
# the file indicate what to change (Start with '#')              #
#                                                                #
# See the SmartWare Software Configuration guide for command     #
# details (http://www.patton.com/manuals/SCG-r52.pdf)            #
# Modified by Josiah Spackman                                    #
# http://chillingsilence.wordpress.com                           #
#----------------------------------------------------------------#

cli version 3.20
webserver port 80 language en

system

  ic voice 0
    low-bitrate-codec g711alaw64k

system
  clock-source 1 bri 0 0
  clock-source 2 bri 0 1

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  fax transmission 1 relay t38-udp

profile pstn default

profile sip default

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface IF_IP_WAN
# replace 'dhcp' with your fix IP if needed, e.g. "ipaddress 172.16.1.20 255.255.0.0"
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
# uncomment the following line if you need to add routing table entries
  # route 0.0.0.0 0.0.0.0 172.16.1.1

context cs switch
  national-prefix 0
  international-prefix 00

  routing-table called-e164 RT_ISDN_TO_SIP
# 'T' in the following lines specifies "digit collection". The time for collection can be adjusted replacing 'T' wih 'T2' for 2 seconds.
    route T dest-interface IF_SIP

  routing-table calling-e164 RT_SIP_TO_ISDN
    route default dest-service SV_HUNT_PSTN MP_Unknown-Subscriber

# This mapping table sets the ISDN type of number for calls towards ISDN to 'subscriber'
  mapping-table calling-e164 to calling-type-of-number MP_Unknown-Subscriber
    map default to subscriber

  interface isdn IF_ISDN_0
    route call dest-table RT_ISDN_TO_SIP

  interface isdn IF_ISDN_1
    route call dest-table RT_ISDN_TO_SIP

  interface sip IF_SIP
    bind context sip-gateway GW_SIP
    route call dest-table RT_SIP_TO_ISDN
# This is the IP of your Asterisk. Replace with domain name if DNS server is available
    remote 192.168.0.250

  service hunt-group SV_HUNT_PSTN
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    route call 1 dest-interface IF_ISDN_0
    route call 2 dest-interface IF_ISDN_1

context cs switch
  no shutdown

# The parameters realm, username and password have to match your Asterisk configuration
authentication-service AUTH_AASTRA800
  realm 1 smartnode-gw
  username patton password 6953789

# The parameters domain, username, identity (=username) below have to match your Aastra800 configuration
location-service LS_AASTRA800
  domain 1 smartnode-gw

  identity-group default

    authentication inbound
      authenticate 1 authentication-service AUTH_AASTRA800 patton 6953789

  identity 6953789

    authentication inbound
      authenticate 1 authentication-service AUTH_AASTRA800 patton 6953789

    registration inbound

context sip-gateway GW_SIP

  interface WAN
    bind interface IF_IP_WAN context router port 5060

context sip-gateway GW_SIP
  bind location-service LS_AASTRA800
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface IF_IP_WAN router
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_ISDN_0 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_ISDN_1 switch

port bri 0 1
  no shutdown</pre>
<p>Copy this all into a notepad window and save it as &#8220;SN4554.cfg&#8221;</p>
<p>What you&#8217;re going to want to modify is the references to &#8220;192.168.0.250&#8243; and point it to your Elastix / Asterisk system.</p>
<p>All the ISDN ports are set to &#8220;Point-to-Point&#8221;. You can adjust the &#8220;pp&#8221; settings to &#8220;pmp&#8221; if you require &#8220;Point-to-Multipoint&#8221;, though to be honest ISDN isn&#8217;t my strong point so I&#8217;m not entirely sure how relevant that is.</p>
<p>This will leave the WAN port using DHCP, hopefully you&#8217;ve got a semi-intelligent DHCP server that will give out the same IP each time.</p>
<p>Open the WebGUI of your SN4554 up, login with the default Username &#8220;administrator&#8221; and a blank password.</p>
<p>Click on &#8220;Import / Export&#8221; on the left-hand side, then hit the Import Configuration tab.</p>
<p>Select the file, import it, then reload the device.</p>
<p>Now, in asterisk you want to add a new SIP trunk. Name it &#8220;ISDN&#8221; and put the following in the SIP PEER Details:</p>
<pre>username=patton
type=friend
secret=6953789
qualify=1200
insecure=very
host=192.168.0.141
dtmfmode=RFC2833
disallow=all
context=from-pstn
canreinvite=no
allow=alaw&amp;g729</pre>
<p>There&#8217;s no register string or USER details, though it may be worth specifying the max channels as &#8220;4&#8243;.</p>
<p>You&#8217;ll need to adjust the &#8220;host&#8221; setting to the WAN IP Address of your Patton box, as we&#8217;re semi-insecure with such a basic password.</p>
<p>You *could* adjust the password and username in the config etc as applicable, but specifying the host should be enough, especially considering (in my instance) the whole system is LAN-accessible only.</p>
<p>When you&#8217;re finished, you should be able to login to your Elastix system via SSH and run:</p>
<p>asterisk -rx &#8216;sip show peers&#8217;</p>
<p>And see:</p>
<p>ISDN/patton                192.168.0.141        N      5060     OK (19 ms)</p>
<p>If you do, congratulations, you&#8217;re ready to go!</p>
<p>Now you just need to setup inbound and outbound routes as applicable.</p>
<p>If this was useful to you, please leave a comment and say hi.</p>
<p>I&#8217;d also like to thank Byron from SnapperNet in New Zealand, he&#8217;s been such a great help, and also provided me with the initial configuration samples.</p>
<p>This How-To has also been re-posted here: http://blogs.elastix.org/en/2010/05/using-the-patton-sn4554-for-isdn-with-elastix/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=236&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/05/06/using-the-patton-sn4554-for-isdn-with-elastix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>DIY FreeSWITCH &amp; FreePBXv3 from LiveCD</title>
		<link>http://chillingsilence.wordpress.com/2010/04/23/diy-freeswitch-freepbxv3-from-livecd/</link>
		<comments>http://chillingsilence.wordpress.com/2010/04/23/diy-freeswitch-freepbxv3-from-livecd/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 11:01:20 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[FreePBXv3]]></category>
		<category><![CDATA[FreeSWITCH]]></category>
		<category><![CDATA[LiveCD]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=219</guid>
		<description><![CDATA[This is a bit of a follow on from my previous post: http://chillingsilence.wordpress.com/2010/01/14/initial-thoughts-on-freepbxv3-and-freeswitch-vs-asterisk/ Everybody is starting to talk about FreeSWITCH as the next big PBX software (Amongst other things), and FreePBXv3 is shaping up to be a damn fine GUI. The more I use it, the more I start to like FreeSWITCH as a progression [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=219&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a bit of a follow on from my previous post: http://chillingsilence.wordpress.com/2010/01/14/initial-thoughts-on-freepbxv3-and-freeswitch-vs-asterisk/</p>
<p>Everybody is starting to talk about FreeSWITCH as the next big PBX software (Amongst other things), and FreePBXv3 is shaping up to be a damn fine GUI.</p>
<p>The more I use it, the more I start to like FreeSWITCH as a progression from Asterisk. One will likely never completely kill the other, I can see a world where they both live happily, but for me I struggle knowing that Asterisk doesn&#8217;t 100% accurately do all CDR stuff, and it bugs me recommending that to a client.</p>
<p>I&#8217;ve blogged before on FreePBXv3, and the dev guys are still as friendly as ever (Granted they seem to be a truckload busier lately, but who can blame them).</p>
<p>What follows is a guide on booting a LiveCD (Debian!) and running FreeSWITCH &amp; FreePBXv3 from this live system. From there, it&#8217;s up to you if you want to simply reboot and forget it ever happened, or potentially install it to a HDD. The choice is yours, I&#8217;m just going to give you a quick How-To on getting FreeSWITCH &amp; FreePBXv3 up and running nicely, and in a flash! In fact, on a decent machine (C2D 2Ghz+) and a decent internet connection, you could be up n running from scratch, in less than 20 minutes <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-219"></span></p>
<p>You&#8217;ll need a Blank CD (Or VirtualBox for example), and potentially some form of external thumbdrive that you can format. In my case I used an 8GB SDHC card.</p>
<p>Start by grabbing yourself the LiveCD: http://cdimage.debian.org/cdimage/release/current-live/</p>
<p>I used: i386/iso-cd/debian-live-504-i386-standard.iso</p>
<p>Once you&#8217;ve downloaded it, burn it off or boot it up in VirtualBox</p>
<p>Great! Now, become root:</p>
<pre>sudo bash</pre>
<p>Change the root password:rm</p>
<pre>passwd</pre>
<p>Enter something nice, coz we&#8217;re presuming you&#8217;re going to copy / paste via SSH for the rest of this.</p>
<p>Now run:</p>
<pre>apt-get update
apt-get install openssh-server</pre>
<p>Once that&#8217;s done, login remotely with ssh and carry on as-per usual. This is kind of optional but saves you typing package names manually etc.</p>
<p>OK now before we run out of HDD space, we&#8217;re going to mount the USB drive.</p>
<p>Use cfdisk to create a linux partition, then format it with (something like):</p>
<pre>mkfs.ext3 /dev/sdb1
mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb
</pre>
<p>You may need this if you&#8217;re working on a machine with a low amount of RAM and you find you run out of &#8220;disk space&#8221; on the ramdisk:</p>
<pre>mkdir /mnt/usb/src
mkdir /mnt/usb/freeswitch
mkdir /mnt/usb/archives
rm -rf /usr/src
ln -s /usr/src /mnt/usb/src
ln -s /usr/local/freeswitch /mnt/usb/freeswitch
ln -s /var/cache/apt/archives /mnt/usb/archives
</pre>
<p>Now we want you to install all the following:</p>
<pre>apt-get install php5 php5-xcache php5-xmlrpc php5-mysql php5-gd php5-cli \
build-essential git git-core autoconf libgdbm-dev libdb-dev subversion php5-curl \
automake libtool libncurses5 libncurses5-dev php-db mysql-server-5.0 mysql-client-5.0</pre>
<p>They&#8217;re all going to come in handy at some point for either FreePBXv3 or FreeSWITCH.</p>
<p>Make note of your MySQL root password, you&#8217;ll need it for later on!</p>
<p>Now we begin with the FreeSWITCH compile:</p>
<pre>cd /usr/src
git clone git://git.freeswitch.org/freeswitch.git</pre>
<p>This will pull the latest version from subversion, which for most applications is a bit of a No-no, but FreeSWITCH seems to be relatively stable on a day-to-day basis and it&#8217;s actually recommended from what I can tell.</p>
<pre>cd freeswitch.git
./bootstrap.sh</pre>
<p>This is the beginning of what could be a very long compile if you don&#8217;t have semi-recent hardware&#8230;</p>
<p>Provided there&#8217;s no errors, proceed on to:</p>
<pre>./configure</pre>
<p>Now, I&#8217;m doing it this way rather than the proposed &#8220;quick n nasty&#8221; because for some reason it kept being unable to find the right libraries when I *know* they&#8217;re on the system. YMMV.</p>
<p>Next we make with:</p>
<pre>make</pre>
<p>Then we make install:</p>
<pre>make install</pre>
<p>IF you get errors right away like I did, then try running:</p>
<pre>make current</pre>
<p>I&#8217;m unsure why, but it worked for me after make install errors (Thanks to bruce from #freeswitch).</p>
<p>Next we install sounds:</p>
<pre>make sounds-install moh-install</pre>
<p>Tada, all done (For FreeSWITCH at least)!</p>
<p>Note, you can also do the High Definition sounds with:</p>
<pre>make uhd-sounds-install uhd-moh-install hd-sounds-install hd-moh-install</pre>
<p>Start the service with:</p>
<pre>/usr/local/freeswitch/bin/freeswitch</pre>
<p>You should be able to point a SIP device at your debian box&#8217; IP address, with Ext 1000 &amp; Secret of 1234, then dial 9999 or 5000 to test, as-per the instructions here: <a href="http://wiki.freeswitch.org/wiki/Quick_and_Dirty_Install">http://wiki.freeswitch.org/wiki/Quick_and_Dirty_Install</a></p>
<p>You can quit it at any time by typing &#8220;shutdown&#8221;.</p>
<p>FreeSWITCH down. Now on to FreePBXv3!</p>
<pre>cd /var/www
<span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">svn co http://www.freepbx.org/v3/svn/trunk/ freepbx-v3/</span></pre>
<p><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">Now we&#8217;re going to sort out the permissions:</span></p>
<pre>chgrp -R www-data /usr/local/freeswitch/conf/*
chmod -R g+w /usr/local/freeswitch/conf/*
chmod 777 freepbx-v3/freepbx/logs/
chmod 777 freepbx-v3/freepbx/cache/
chgrp -R www-data freepbx-v3/freepbx/config/*
chmod -R g+w freepbx-v3/freepbx/config/*
mkdir freepbx-v3/upload
chgrp -R www-data freepbx-v3/upload
chmod -R g+w freepbx-v3/upload</pre>
<p>Debian uses www-data for the http group, instead of apache.</p>
<p>We&#8217;re not going to bother with mod_rewrite, I&#8217;m lazy and it&#8217;s not crucial.</p>
<p>Now, go to http://debian.ip/freepbx-v3/</p>
<p>Follow through the first part of the install, accepting the terms, the pre-flight checklist should be all good except for mod_rewrite, and now we&#8217;re onto the actual configuration:</p>
<p>Leave the host as 127.0.0.1, but set the username as &#8220;root&#8221; and the password as the one you defined earlier. Pick your timezone as applicable and hit Next.</p>
<p>Create a Master Admin account and hit Next</p>
<p>The defaults are fine on the next page, leave it as the &#8220;FreeSWITCH Driver&#8221; and hit Next, twice (To tell it it&#8217;s safe to overwrite the config files).</p>
<p>The default selections are fine for &#8220;packages&#8221; to be installed, click next, twice (to ignore the errors).</p>
<p>We&#8217;re not ready to install! Hit the button to begin the process <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It&#8217;ll then say Installation Complete, click the link and begin using FreePBXv3!</p>
<p>Don&#8217;t forget, you may need to restart freeswitch if you killed it earlier, with:</p>
<pre>/usr/local/freeswitch/bin/freeswitch</pre>
<p>I&#8217;ll post a brief intro to FreePBXv3 shortly. In the mean time, enjoy, and please post feedback!!</p>
<p><strong>NOTE:</strong> You will no longer be able to connect immediately to FreeSWITCH with your SIP device as you did earlier. This is because FreePBXv3 has overwritten the config files with it&#8217;s own, however we&#8217;ve accomplished the goal of this post, to get FreeSWITCH &amp; FreePBXv3 up and running on a LiveCD in no time at all! From here, you&#8217;ll need to configure everything with FreePBXv3</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=219&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/04/23/diy-freeswitch-freepbxv3-from-livecd/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>How-To: Hotel Management System for Elastix</title>
		<link>http://chillingsilence.wordpress.com/2010/03/18/how-to-hotel-management-system-for-elastix/</link>
		<comments>http://chillingsilence.wordpress.com/2010/03/18/how-to-hotel-management-system-for-elastix/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 20:35:34 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[How-To&#039;s / Guides / Tech info]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[check in]]></category>
		<category><![CDATA[check out]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[Hotel Integration]]></category>
		<category><![CDATA[Hotel Management]]></category>
		<category><![CDATA[motel]]></category>
		<category><![CDATA[PIAF]]></category>
		<category><![CDATA[rooms]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=213</guid>
		<description><![CDATA[Two blog posts in 24 hours? We&#8217;re on a roll here! Based off PIAF&#8217;s Hotel Management System, we&#8217;re going to make some minor adjustments to have this work with Elastix. This is a brilliant Hotel Room Management system with the ability to restrict the calls from Ext&#8217;s when they are not checked in, per-second billing, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=213&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Two blog posts in 24 hours? We&#8217;re on a roll here!<br />
Based off PIAF&#8217;s Hotel Management System, we&#8217;re going to make some minor adjustments to have this work with Elastix. This is a brilliant Hotel Room Management system with the ability to restrict the calls from Ext&#8217;s when they are not checked in, per-second billing, and more!</p>
<p>Contents:</p>
<ol>
<li>Installing the base system</li>
<li>Updating the config</li>
<li>Fixing up HTTPS</li>
<li>Updating dial-plan</li>
<li>Closing words</li>
</ol>
<p><span id="more-213"></span></p>
<h2>1) Installing the base system</h2>
<p>First you&#8217;re going to need to ssh in to your Elastix PBX System.<br />
Then, run the following:</p>
<pre>cd /var/www/html
wget http://www.kefa.it/hotel.tar.gz
tar zxvf hotel.tar.gz
rm hotel.tar.gz
cd hotel
mysql -uroot -peLaStIx.2oo7 &lt; Hotel.sql</pre>
<p>Very similar to the default steps taken on the official documentation, except we&#8217;re going to use the Elastix SQL password rather than the script they&#8217;ve got there. This is also easier than the official doco, just one step instead of two.</p>
<h2>2) Updating the config</h2>
<p>We&#8217;re now going to modify the configuration file so that it works with Elastix due to the different Username / Passwords used between distributions.<br />
Edit config.inc.php with your favorite editor. In my case I use nano:<br />
nano -w config.inc.php</p>
<p>Now you&#8217;re going to modify the following three paragraphs so that they match below:</p>
<pre>//Hotel database
$dbhost = "localhost";
$dbpass = "eLaStIx.2oo7";
$dbuser = "root";
$dbname = "Hotel";

//Asterisk database
$dbhost2 = "localhost";
$dbpass2 = "eLaStIx.2oo7";
$dbuser2 = "root";
$dbname2 = "asterisk";

//Asteriskcdrdb database
$dbhost3 = "localhost";
$dbpass3 = "eLaStIx.2oo7";
$dbuser3 = "root";
$dbname3 = "asteriskcdrdb";</pre>
<p>Save and exit and you&#8217;re done with the config.</p>
<h2>3) Fixing up HTTPS</h2>
<p>When you visit the Elastix WebGUI, there&#8217;s a condition that rewrites the URL to include HTTPS. However, when this system tries to check the state of an Extension, it must do it via HTTP and not HTTPS, so we add an exception.</p>
<p>Edit /etc/httpd/conf.d/elastix.conf with your favorite editor and add these lines at the very bottom:</p>
<pre>RewriteEngine Off</pre>
<p>What this will do is add the /hotel directory as an exception so you don&#8217;t have to use HTTPS to get to it. We leave HTTPS on for the rest of the PBX, just because there&#8217;s no real reason for us to turn it off.<br />
Now, restart apache with:</p>
<pre>/etc/init.d/httpd restart</pre>
<p>You should now be able to access your WebGUI without HTTPS at: http://pbxip/hotel/<br />
If not, then go back and try again, as this part is crucial to the redirection to Reception when a phone is not Checked In</p>
<p>4) Updating dial-plan</p>
<p>Now we&#8217;re going to add in to the Dial-Plan and tell the PBX what calls can and cannot be made when the phone is not Checked-In.</p>
<p>Edit /etc/asterisk/extensions_custom.conf in your favorite editor and add the following underneath the [from-internal-custom] header:</p>
<pre>;lets guests call other rooms without being checked in
exten =&gt; _XXX,1,Dial(SIP/${EXTEN})
exten =&gt; _XXX,n,Hangup()
;lets guests call freephonenumbers without being checked in
exten =&gt; _1800NXXXXXX,1,Goto(outbound-allroutes,${EXTEN},1)
exten =&gt; _1800NXXXXXX,n,Hangup()
exten =&gt; _X.,1,Set(result=${CURL(http://127.0.0.1/hotel/checkuser.php?Ext=${CALLERID(num)})})
exten =&gt; _X.,n,NoOp(Results: ${result})
exten =&gt; _X.,n,GotoIf($["${result}" = "OK"]?OK)
exten =&gt; _X.,n,GotoIf($["${result}" = "KO"]?KO)
exten =&gt; _X.,n(OK),Goto(outbound-allroutes,${EXTEN},1)
exten =&gt; _X.,n,Hangup()
;call front desk if not checked in
exten =&gt; _X.,n(KO),Dial(SIP/200) ; used for just one extension
;exten =&gt; _X.,n(KO),Goto(ext-group,0,1) ; used for ring groups
exten =&gt; _X.,n,Hangup()</pre>
<p>If you want to allow additional free calling, just duplicate the lines with &#8220;1800&#8243; in them. Mines quite different for New Zealand, but I&#8217;ve left it as american to give you a good idea of what you can do there.<br />
You&#8217;re also going to want to adjust the third-to-last line where it says &#8220;SIP/200&#8243;, replacing 200 with the Extension of Reception.<br />
Or, you could just comment that line out, and uncomment the second-to-last line to use Ring Group 0 as your &#8220;Reception&#8221; extension. The choice is yours.<br />
Save the file and run:</p>
<pre>asterisk -rx "dialplan reload"</pre>
<h2>5) Closing words</h2>
<p>From here, you&#8217;re on your own. It&#8217;s dead easy to log in and get started. You&#8217;ll first need to import all the rooms which it takes from the Ext Caller ID name, so it pays to give your Ext&#8217;s decent names like &#8220;Room 201&#8243; for Ext 201, just for example.<br />
If you run into troubles, post here and myself or the Elastix team would be more than happy to assist.<br />
If you get this successfully installed, just leave us a quick comment to say Hi and tell us you&#8217;ve done so, it&#8217;s always nice to know our time is appreciated.<br />
Cheers</p>
<p>Chill.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=213&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/03/18/how-to-hotel-management-system-for-elastix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>
	</item>
		<item>
		<title>Linking systems via OpenVPN (No port-forwards needed on client-side)</title>
		<link>http://chillingsilence.wordpress.com/2010/03/17/linking-systems-via-openvpn-no-port-forwards-needed-on-client-side/</link>
		<comments>http://chillingsilence.wordpress.com/2010/03/17/linking-systems-via-openvpn-no-port-forwards-needed-on-client-side/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 10:32:14 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=207</guid>
		<description><![CDATA[Yes, this is the ultimate in remote access for your PBX systems! It&#8217;s also quite possibly the longest blog post ever! Imagine a client of yours happens to move their PBX, perhaps they are shifting premises (Without notifying you &#8212; Their prerogative I suppose). Now, with the change of ISP&#8217;s they&#8217;ve changed router and network [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=207&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<address>Yes, this is the <span style="text-decoration:underline;">ultimate</span> in remote access for your PBX systems! It&#8217;s also quite possibly the longest blog post ever!</address>
<p>Imagine a client of yours happens to move their PBX, perhaps they are shifting premises (Without notifying you &#8212; Their prerogative I suppose). Now, with the change of ISP&#8217;s they&#8217;ve changed router and network settings, new public IP Address etc, so until you fix the sip_nat.conf settings calls are dead quiet. What do you do?</p>
<p>Well, you could ring them up and get them to port-forward their router and let you in. Or, you can do everything yourself via your shiny remote-control VPN!</p>
<p>Not only does it not matter where your customer plugs in the box, provided DHCP gives it an IP Address and they don&#8217;t have some silly proxy in the way, it will tunnel out NAT, past their routers firewalls, and <span style="text-decoration:underline;">let you in</span>! It&#8217;s a service-operators dream! Used in conjunction with the <a title="SSH Tunnelling" href="http://blogs.elastix.org/en/2009/11/ssh-tunnelling/" target="_blank">SSH Tunnelling</a> blog article, you&#8217;ll find this gives you total control of their local endpoints as well, just as if you were right there sitting on their LAN. You can even access your clients ADSL Router WebGUI and make the required port-forward changes yourself, provided they give you the admin password of course.</p>
<p><span id="more-207"></span></p>
<h2>Table of Contents</h2>
<ol>
<li>Expected outcomes of this How-To</li>
<li>Example final VPN layout</li>
<li>Preperation &amp; IP Addressing</li>
<li>About the structure</li>
<li>Server setup</li>
<li>Client setup</li>
<li>Testing</li>
<li>Last words</li>
</ol>
<h2>1) Expected outcomes of this How-To</h2>
<p>At the end of this How-To you should:</p>
<ul>
<li>Be proficient in generating Keys for clients</li>
<li>Understand basic security, what files are private and must be kept secret</li>
<li>Understand the basics of how OpenVPN is setup and works</li>
<li>Know how the VPN is routed, what boxes are able to see each other</li>
<li>Have setup a VPS with OpenVPN</li>
<li>Have clients that initiate the connection to the server, tunneling out past NAT etc</li>
<li>Hopefully have a fully working VPN that allows total remote management of your PBX systems</li>
</ul>
<h2>2) Example final VPN layout</h2>
<p>You can see that even though each PBX box (And the Admin Laptop) have different IP ranges, they&#8217;re all connected  to the VPN Server. The PBX&#8217;s can &#8220;see&#8221; each other as well as the Admin Laptop, and vice versa. What cannot be seen is the other devices on remote LAN&#8217;s, such as Phones, Computers, and other devices. That requires SSH tunneling. Click the picture for a larger version:</p>
<p><a href="http://chillingsilence.files.wordpress.com/2010/03/vpn_layout.jpg"><img class="aligncenter size-medium wp-image-211" title="VPN Layout" src="http://chillingsilence.files.wordpress.com/2010/03/vpn_layout.jpg?w=300&#038;h=218" alt="" width="300" height="218" /></a></p>
<p>In my case, I&#8217;ve used a VPS (Virtual Private Server) to host the VPN, it&#8217;s just a vanilla box running Debian. I do this because it&#8217;s then hosted in a Data Center, it&#8217;s always-on, always accessible, and ultra reliable!</p>
<h2>3) Preperation &amp; IP Addressing</h2>
<p>Keep in mind that if you&#8217;re using 192.168.1.1 on your client LAN and 192.168.1.1 for your VPN &#8220;LAN&#8221;, then you&#8217;re going to run in to routing issues and it&#8217;s not going to work.</p>
<p>If you use 10.0.0.0 with a subnet of 255.255.255.0 then you&#8217;re also going to potentially run into issues. However if you use a subnet of 10.0.0.0 with a subnet mask of 255.255.255.0 then you&#8217;re less likely to hit issues.</p>
<p>With this in mind we recommend you pick something in the <strong><span style="text-decoration:underline;">middle</span></strong> of the 10.X.X.X range (Such as 10.99.88.0/24). We&#8217;re also going to start off with a /24 which will give you approx 62 usable clients. OpenVPN uses 4 IP Addresses per-client, I&#8217;m not entirely sure what for, but I believe one is the real IP, one for broadcast traffic etc.</p>
<p>Starting off with a /24 just because we can, because we&#8217;ve got no <em><span style="text-decoration:underline;">immediate</span><span style="font-style:normal;"> need to have more than 60 devices, and because it&#8217;s easier to try and preach to the masses about what the IP Addresses are that will be used.</span></em></p>
<h2 style="font-size:1.5em;">4) About the structure</h2>
<p><span style="font-weight:normal;font-size:13px;">We&#8217;re going to be setting up the VPN in a One-to-Many structure, with one server and many clients.</span></p>
<p><span style="font-weight:normal;font-size:13px;">Every client gets one Key / Certificate file. Each client (key) can only be used once at a time, trying to have two machines use the same will result in issues. You can have multiple clients with different keys connected concurrently however (That&#8217;s the main purpose of this).</span></p>
<p><span style="font-weight:normal;font-size:13px;">Also, the way it&#8217;s setup is so that each client (The Elastix PBX) can see every other client. Same goes for any &#8220;Administration&#8221; devices, such as a Windows Laptop used to administer the PBX systems, it&#8217;ll be able to see all the devices and they will all be able to see it. If this is not desirable, I would suggest that you use something like iptables on the main VPN Server to prevent this.</span></p>
<p><span style="font-weight:normal;font-size:13px;">Another thing to keep in mind is that this can be used for direct Elastix -&gt; Elastix links, for secure tunneling and communications. All you need to do is replace the VPS VPN Server with an Elastix machine. It really makes little difference.</span></p>
<p><span style="font-weight:normal;font-size:13px;">One thing to keep in mind is that the other devices on the LAN of the clients cannot see anything else on the VPN, in fact they&#8217;re generally completely unaware of the fact that the Elastix PBX is even connected to a VPN. If you want to remotely administer phones via this VPN, you&#8217;ll need to read up on the SSH Tunneling How-To, and use your imagination a little bit. It&#8217;s incredibly easy.</span></p>
<h2 style="font-size:1.5em;">5) Server setup</h2>
<p>We&#8217;re going to begin by installing the relevant RPM&#8217;s from the Dag repo&#8217;s: <a href="http://dag.wieers.com/rpm/">http://dag.wieers.com/rpm/</a></p>
<p>Depending on your distribution, you may simply need to run something like: apt-get install openvpn</p>
<p><strong>Note:</strong> I&#8217;m now assuming that you have OpenVPN installed. There&#8217;s no difference between client / server, so it&#8217;s just the one &#8220;openvpn&#8221; package. I&#8217;m also assuming you&#8217;re running a Linux server. You *can* use Windows, I&#8217;ve done it twice before with great success, but this documentation is written with a Linux server in mind. You can bridge the gaps by reading here: <a href="http://www.openvpn.net/index.php/open-source/documentation/howto.html#quick">http://www.openvpn.net/index.php/open-source/documentation/howto.html#quick</a></p>
<p>Now, we&#8217;re going to edit /etc/openvpn/server.conf using your favorite editor (I&#8217;m a nano fan) and put in the following:</p>
<pre>port                    1194
proto                   tcp
dev                     tun8
tls-server
cipher                  BF-CBC
ca                      /etc/openvpn/server/ca.crt
cert                    /etc/openvpn/server/server.crt
key                     /etc/openvpn/server/server.key
dh                      /etc/openvpn/server/dh1024.pem
client-to-client
mssfix                  1200
comp-lzo                yes
keepalive               7 20
server                  10.99.88.0 255.255.255.0
ifconfig-pool-persist   /etc/openvpn/server/vpn.hosts
route-up                "route add -net 10.99.88.0/24 tun8"
push                    "route 10.99.88.0 255.255.255.0"</pre>
<p>Now I&#8217;ll explain:</p>
<p>We use the default port of 1194, TCP (Not UDP), with the BF-CBC encryption (because it&#8217;s slightly lighter on the CPU than the likes of AES, though feel free to debate that with yourself).</p>
<p>We&#8217;re telling it that everything is gong to be in the /etc/openvpn/server directory, and a few other little &#8220;fixes&#8221; that are useful to have.</p>
<p>Now, we run:</p>
<pre>cp -Rv /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn/</pre>
<p>This copies the files needed to generate the keys into an easy location in /etc. In my case, there&#8217;s a 1.0 and a 2.0 directory. I&#8217;ll presume you&#8217;re in the 2.0 directory whenever I refer to it.</p>
<p>So, you should now be in /etc/openvpn/easy-rsa/2.0</p>
<p>Now you&#8217;re going to edit the file &#8220;vars&#8221;. Go right down to the very end and edit the last 5 lines.</p>
<p>Run:</p>
<pre>source vars
./clean-all
./build-ca</pre>
<p>This is going to clean everything up and build your Certificate Authority (VPN Server).</p>
<p>Where it asks for values, just press Enter to accept the defaults that you&#8217;ve entered in to the &#8220;vars&#8221; file.</p>
<p>Where it asks for the Common Name (e.g. server Hostname) you can press Enter and it will call it &#8220;CA&#8221;.</p>
<p>Now we&#8217;re going to generate the Certificate &amp; Keyfile for the server:</p>
<pre>./build-key-server server</pre>
<p>It&#8217;ll ask if you want a password, for the scope of this document we&#8217;re just going to press Enter and skip the password.</p>
<p>When you&#8217;ve pressed Enter and gone through it all, you&#8217;ll see a confirmation right before the files are created:</p>
<pre>Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName           : PRINTABLE:'NZ'
stateOrProvinceName   : PRINTABLE:'AK'
localityName          : PRINTABLE:'Auckland'
organizationName      : PRINTABLE:'Anonymous VoIP Company'
commonName            : PRINTABLE:'server'
emailAddress          : IA5STRING:'Fake@anonymousvoipcompany.co.nz'
Certificate is to be certified until Mar 14 03:34:48 2020 GMT (3650 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated</pre>
<p><strong>Note:</strong> I&#8217;ve put in fake values here just so that I don&#8217;t get spammed, but I recommend you use real details.</p>
<p>Now we&#8217;re going to generate Diffie Hellman parameters:</p>
<pre>./build-dh</pre>
<p>Now we put the files into the right location with:</p>
<pre>mkdir /etc/openvpn/server
cp keys/dh1024.pem /etc/openvpn/server
cp keys/ca.crt /etc/openvpn/server
cp keys/server.crt keys/server.key /etc/openvpn/server</pre>
<p>Everything on the server should now be all done, so you can restart the service:</p>
<pre>/etc/init.d/openvpn restart
echo 1 &gt; /proc/sys/net/ipv4/ip_forward</pre>
<p>The last line is optional to enable forwarding.</p>
<p>Congratulations! Now we can move on to the client setup!</p>
<h2 style="font-size:1.5em;">6) Client setup</h2>
<p>We&#8217;re still working on the server at the moment, but we&#8217;re going to presume you&#8217;ve come back to re-generate another key.</p>
<p>To start with on the server run:</p>
<pre>cd /etc/openvpn/easy-rsa/2.0/
source vars</pre>
<p>This sets up the server to use the variables you&#8217;ve entered when you first setup the server.</p>
<p>Now we&#8217;re going to generate the key with:</p>
<pre>./build-key clientcompany1</pre>
<p>I call it &#8220;clientcompany1&#8243; as I support multiple clients and this links them. You could also call it something such as &#8220;southernoffice&#8221; or anything you like really.</p>
<p>Now you want to copy the following files off the server via SCP or similar:</p>
<pre>/etc/openvpn/easy-rsa/2.0/keys/clientcompany1.crt
/etc/openvpn/easy-rsa/2.0/keys/clientcompany1.key
/etc/openvpn/easy-rsa/2.0/keys/ca.crt</pre>
<p>You also need the ca.crt file from</p>
<p>There are additional files (.csr &#8212; Certificate Signing Request) that you can just leave there.</p>
<p>If you&#8217;re wondering about what files are private and what are not, see here: <a href="http://www.openvpn.net/index.php/open-source/documentation/howto.html">http://www.openvpn.net/index.php/open-source/documentation/howto.html</a></p>
<p>Press Ctrl + F and search the page for &#8220;Key Files&#8221; to skip straight to the relevant table.</p>
<p>When the files are copied off, you&#8217;ll want to install OpenVPN on the client. It doesn&#8217;t matter if it&#8217;s a windows desktop or another Elastix server.</p>
<p>Assuming you&#8217;re using an Elastix PBX as a client, install OpenVPN from the Dag repos, or if you&#8217;re using Windows then get the OpenVPN-GUI packages from: <a href="http://openvpn.se/">http://openvpn.se/</a></p>
<p>Now you&#8217;re going to SCP the clientcompany1.crt &amp; .key file in to /etc/openvpn</p>
<pre>port            1194
proto           tcp-client
dev             tun8
remote          vpn.servername.co.nz
tls-client
ca              ca.crt
cert            clientcompany1.crt
key             clientcompany1.key
ns-cert-type    server
comp-lzo        yes
pull</pre>
<p>This is going to tell the client to connect to vpn.servername.co.nz which you&#8217;ll need to update with the appropriate IP Address or domain name of your VPN Server.</p>
<p>That&#8217;s it, you&#8217;re now all good to restart the service and connect!</p>
<h2 style="font-size:1.5em;">7) Testing</h2>
<p>You should now have your client connected. What you want to do is ping from the server to the client and the client to the server. Then if you connect multiple clients, try and ping between them. Provided there&#8217;s no firewall in the way, and that you&#8217;ve run this on the main VPN Server:</p>
<pre>echo 1 &gt; /proc/sys/net/ipv4/ip_forward</pre>
<p>You should be able to ping from client to client.</p>
<p>Once you have established that pings are working, you should then be able to follow through with other traffic, such as IAX2 trunks, HTTPS access to the WebGUI, SIP traffic, anything you can shake a stick at.</p>
<p>If you cannot ping, make sure that you&#8217;re successfully connected and that both your clients and server have an IP Address. Many times you&#8217;ll find that during the connection process it will log its reason for failing, and that&#8217;s generally what prevents things from working is the actual connection.</p>
<p>Also make sure you&#8217;re using the VPN-internal IP Address to ping, not the external IP.</p>
<h2 style="font-size:1.5em;">8 ) Last words</h2>
<p>IP Addresses for clients start at .6 (Such as 10.99.88.6), and increase by 4 every time. So the second machine to connect will be 10.99.88.10</p>
<p>If you run into troubles, feel free to post in the blog comments.</p>
<p>If you have a success story, please also post, it&#8217;s great to know the time taken to write this has had good results.</p>
<p>Look forward to hearing from you</p>
<p>Cheers</p>
<p>Chill.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chillingsilence.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chillingsilence.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chillingsilence.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chillingsilence.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chillingsilence.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chillingsilence.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chillingsilence.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chillingsilence.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chillingsilence.wordpress.com&amp;blog=10581400&amp;post=207&amp;subd=chillingsilence&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chillingsilence.wordpress.com/2010/03/17/linking-systems-via-openvpn-no-port-forwards-needed-on-client-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/465827e3dbc4559472d1a9dfeeeeec06?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chilling_Silence</media:title>
		</media:content>

		<media:content url="http://chillingsilence.files.wordpress.com/2010/03/vpn_layout.jpg?w=300" medium="image">
			<media:title type="html">VPN Layout</media:title>
		</media:content>
	</item>
	</channel>
</rss>
