<?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>A Linux User in a Windows World &#187; Asterisk</title>
	<atom:link href="http://jan.saell.org/blog/archives/category/asterisk/feed" rel="self" type="application/rss+xml" />
	<link>http://jan.saell.org/blog</link>
	<description>Ramblings from an old Linux guru</description>
	<lastBuildDate>Wed, 08 Sep 2010 07:44:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Asterisk on ubuntu</title>
		<link>http://jan.saell.org/blog/archives/49</link>
		<comments>http://jan.saell.org/blog/archives/49#comments</comments>
		<pubDate>Sat, 30 Aug 2008 18:05:51 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=49</guid>
		<description><![CDATA[So I do a lot of work on SIP, IP-Telephony and Asterisk. Yes. Have been working for an international SIP phone company for quite some time and built up a distributed, resilient network and servers for operating their ATA residential business (ATA is short for Analog Telephony Adapter) offerings. That is build up by combining [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So I do a lot of work on SIP, IP-Telephony and Asterisk. Yes. Have been working for an international SIP phone company for quite some time and built up a distributed, resilient network and servers for operating their ATA residential business (ATA is short for Analog Telephony Adapter) offerings. That is build up by combining both a lot of open source systems. Mysql for database ofcuase. Asterisk as the main telephony system. OpenSIP (previously known as OpenSER or just SER) and so on. So I wanted to play a bit with Asterisk on my home server, not on my laptop. So I decided to install asterisk. The OS is the same as I have on my laptop its Kubuntu 8.04 Hardy Heron on a Lenovo. Its a Intel Dual Core 2.2. Ghz with 1 gb of memory &#8211; not the greatest machine in the world but ok for me.</p>
<p><span id="more-49"></span></p>
<p>So i downloaded and installed the asterisk package with:</p>
<pre>sudo apt-get install asterisk asterisk-dev asterisk-doc</pre>
<p>This was to get the development and the documentation also. After installing this i have asterisk working. I now connected my Grandsteram GXP2000 sip phone and  can hear the test and do echo and so.</p>
<p>So the next part is to get some of my special sounds and getting the conference services to work. On of the interesting things with the default ubuntu or kubuntu install of asterisk is that the sound is moved to <em><strong>/usr/share/asterisk</strong></em> instead of /var/lib/asterisk (well that is there to) but all the sound files are in <em><strong>/usr/share/asterisk/sounds/</strong></em>.</p>
<p>So i installed the sound files and changed the extensions.conf to include my meetme conferences. And its not working. Hum. When accessing the meetme application if get the error message that asterisk cant access the timing device. Yes &#8211; I forgot to install zaptel and the ztdummy device. So checking and ofcourse there is a package with the zaptel devices so I installed it with:</p>
<pre>sudo apt-get install zaptel</pre>
<p>And got errors &#8211; the installer cant find any zaptel devices and that absolutely true as I dont have any in this machine. And it will not install the ztdummy device. Dam. So i need to build it probably. I can download the source with <em><strong>apt-get source zaptel</strong></em> but i hope for someting else if i could.</p>
<p>The I read about the module-asistance comand in ubuntu. This is actually to start with a debian comand. Remember that ubuntu and kybntu comes from the debian system and a lot of the tings in the system id debian based. Module assistant is a script that helps download and build kernel modules from source. It has a lot of different commands but if you whant to make it all you can use the <em><strong>auto-install</strong></em> command that will just do all the job. There is also a short name for module assistant &#8211; m-a that you can use if you dont what to type that much, and even a short cut for auto-install &#8211; use <em><strong>a-i</strong></em> instead.</p>
<p>If you dont have module assistant installed you do that with:</p>
<pre>sudo apt-get install module-assistant</pre>
<p>In my case it was already installed, but if you dont have it installed, install it and ofcourse install all the dependencies also. So I went ahead and installed the zaptel vith this:</p>
<pre>sudo m-a a-i zaptel</pre>
<p>This did the job and installed the zaptel driver for me &#8211; and now i have ztdummy running and I can run the meetme application.</p>
<p>If you do need to install the package again you find it under /usr/src, and you can use m-a install to install it also.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/49/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
