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

<channel>
	<title>MartinLanner.com &#187; Askozia PBX</title>
	<atom:link href="http://martinlanner.com/category/voip/askozia-pbx/feed/" rel="self" type="application/rss+xml" />
	<link>http://martinlanner.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 Nov 2011 19:16:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How-to Install AskoziaPBX on An Embedded PC</title>
		<link>http://martinlanner.com/2008/10/17/how-to-install-askoziapbx-on-an-embedded-pc/</link>
		<comments>http://martinlanner.com/2008/10/17/how-to-install-askoziapbx-on-an-embedded-pc/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 02:33:50 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Askozia PBX]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Askozia]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://martinlanner.com/?p=8</guid>
		<description><![CDATA[I&#8217;ve been running and testing a lot of VoIP systems, all or most of them based on Asterisk. For a long time now I&#8217;ve had a pretty beefy dedicated server running for my home office VoIP. It&#8217;s a complete overkill and it costs a lot of money in just electricity to run the server. So, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running and testing a lot of VoIP systems, all or most of them based on Asterisk. For a long time now I&#8217;ve had a pretty beefy dedicated server running for my home office VoIP. It&#8217;s a complete overkill and it costs a lot of money in just electricity to run the server. So, to save a buck or two I set out to see if I could find a small Asterisk based distribution that I could install on an embedded system.</p>
<p>I found <a title="Askozia PBX" href="http://www.askozia.com/" target="_blank">AskoziaPBX</a>, a very small distribution (currently) based on FreeBSD. AskoziaPBX is designed with a minimal footprint and runs well on low powered, embedded platforms.</p>
<p>Looking around in my stash of hardware I found a mini-ITX system with a 1.2 GHz VIA CPU, 512KB RAM, and a 1GB Disk on Module (DOM). A DOM is essentially just a solid state hard drive that mounts directly into the IDE socket on the motherboard. Plenty of horsepower to run Askozia PBX.</p>
<p>Since the system I had is essentially a standard x86 PC I downloaded the &#8220;Live Install / CD,&#8221; an .iso, and burned it to a CD. I connected an external USB CD-ROM and booted the system from my newly burned AskoziaPBX ISO image. Well, that didn&#8217;t work so well because of some error with the BTX boot loader, which apparently is a known issue with VIA and FreeBSD. My great master plan of a &#8220;simple&#8221; installation had failed. So now what? I had to come up with an alternate way of getting the AskoziaPBX image on my DOM. So, this is what I ended up doing, which was really pretty fast and simple.</p>
<p>Besides the hardware, this is what you need:</p>
<ul>
<li>Download the AskoziaPBX generic PC image (.img) and put it on a USB drive</li>
<li>Download an the latest version of Ubuntu and burn the .iso to a CD.</li>
</ul>
<p>And this is what you need to do to get the AskoziaPBX image onto your computer&#8217;s DOM.</p>
<ol>
<li>Boot from the live Ubuntu CD</li>
<li>Insert the USB drive (let&#8217;s assume it&#8217;s named &#8220;USB-Drive&#8221;)</li>
<li>Start Terminal (it runs as user &#8220;ubuntu&#8221; when in &#8220;live&#8221; mode)</li>
<li>Create a password for the root account</li>
<p><code>sudo passwd root</code></p>
<li>Type in the password you want twice</li>
<li>Now, still in Terminal, log in as root:</li>
<p><code>su</code></p>
<p>and provide the password you just created</p>
<li>cd to where the USB drive is mounted (normally in /media). Assuming the USB drive is name USB-Drive:</li>
<p><code>cd /media/usb-drive</code></p>
<li>Check that the AskoziaPBX image is there by listing files in the /media/usb-drive directory, by issuing:</li>
<p><code>ls</code></p>
<p>The image should have a name similar to:  <code>pbx-generic-pc-xxx.img</code></p>
<li>If the image is there, which it should be, check the mount point of your DOM by issuing:</li>
<p><code>fdisk -l</code></p>
<p>Be sure to find the right drive. In the next few steps you&#8217;ll be overwriting everything on the drive you select, so make really sure you know which drive to write to.</p>
<li>Assuming your DOM is mounted as /dev/sda, issue the following command:</li>
<p><code>gunzip -c pbx-generic-pc-xxx.img | dd of=/dev/sda bs=16k</code></p>
<li>The process of writing the image to the DOM could take up to a minute. If all went well, your DOM should now be flashed with the AskoziaPBX image.</li>
<li>Shut down Ubuntu.</li>
<li>Remove the external CD-ROM.</li>
<li>Boot up your system again and it should boot into AskoziaPBX</li>
</ol>
<p>Now, all you need to do is to configure AskoziaPBX on your network and get a SIP trunk to use for incoming and outgoing calls. Configuring AskoziaPBX is a different article &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://martinlanner.com/2008/10/17/how-to-install-askoziapbx-on-an-embedded-pc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

