<?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>Steve&#039;s Blog &#187; Asterisk</title>
	<atom:link href="http://www.crc.id.au/category/voip/asterisk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crc.id.au</link>
	<description>One beans place in space.</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:28:55 +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>Cisco 7970, sccp and asterisk</title>
		<link>http://www.crc.id.au/2011/03/14/cisco-7970-sccp-and-asterisk/</link>
		<comments>http://www.crc.id.au/2011/03/14/cisco-7970-sccp-and-asterisk/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 05:56:54 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=499</guid>
		<description><![CDATA[I&#8217;ve been tinkering around with a Cisco 7970 IP phone. After spending 3-4 days of trying to get SIP working on this device, I gave up hope and started working with SCCP. The good news is that it worked straight away! Using Asterisk 1.6.2.17 and the greatly improved chan-sccp-b project, the majority of the features [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been tinkering around with a <a href="http://www.cisco.com/en/US/products/hw/phones/ps379/ps5440/index.html">Cisco 7970 IP phone</a>. After spending 3-4 days of trying to get SIP working on this device, I gave up hope and started working with SCCP. The good news is that it worked straight away!</p>
<p>Using <a href="http://www.asterisk.org/">Asterisk</a> 1.6.2.17 and the greatly improved <a href="http://chan-sccp-b.sourceforge.net/">chan-sccp-b project</a>, the majority of the features work out of the box.</p>
<p>While the concepts of sccp are a lot different than using separate SIP accounts, sccp is much more like standard phone system operating on lines instead of accounts. If you are struggling getting one of these devices working on Asterisk via SIP &#8211; save yourself the hassle and get it running using SCCP!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/03/14/cisco-7970-sccp-and-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk and Australian Reverse Caller ID Lookup</title>
		<link>http://www.crc.id.au/2011/01/03/asterisk-and-australian-reverse-caller-id-lookup/</link>
		<comments>http://www.crc.id.au/2011/01/03/asterisk-and-australian-reverse-caller-id-lookup/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 23:41:36 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=470</guid>
		<description><![CDATA[It&#8217;s been a while since my original script to use greypag.es for Australian caller ID lookups and since the online database disappeared, my script went into the archives. Now its back. Thanks to the API functions offered by Reverse Australia we can now have caller ID lookups back in Asterisk! You&#8217;ll need a few things [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since my original script to use greypag.es for Australian caller ID lookups and since the online database disappeared, my script went into the archives.</p>
<p>Now its back.</p>
<p>Thanks to the API functions offered by <a href="http://www.reverseaustralia.com/developer/callerid.html">Reverse Australia</a> we can now have caller ID lookups back in Asterisk!</p>
<p>You&#8217;ll need a few things to achieve this:<br />
1) Obviously a Linux PC running <a href="http://www.asterisk.org">Asterisk</a><br />
2) <a href="http://search.cpan.org/~jamesgol/asterisk-perl-0.09/lib/Asterisk/AGI.pm">Asterisk::AGI</a> Perl module<br />
3) LWP::UserAgent perl module (should be included with your distro)<br />
4) A running MySQL Database<br />
5) My <a href="http://www.crc.id.au/files/cid-lookup-v4.agi">cid-lookup-v4.agi</a> script.</p>
<p>Setup the MySQL Database with a table called &#8216;cid&#8217; and two fields called &#8216;name&#8217; &#038; &#8216;number&#8217;. We use this to store unidentified inbound callers as well as cache looked up details from Reverse Australia. This means you can go edit the details later and have them show as you want rather than as unknown or the content returned from Reverse Australia.</p>
<p>Setup is VERY basic. Throw cid-lookup-v4.agi into your agi-bin directory, then place AGI(cid-lookup.agi) in your extensions.conf where you process incoming calls.</p>
<p>You will need to edit the script and change the setup for your MySQL database &#8211; as well as add the <a href="http://www.reverseaustralia.com/developer/">Reverse Australia API key</a>.</p>
<p>Looking up calls online is optional.</p>
<p>This has been tested with the following configurations:<br />
CentOS 5.5 with perl-LWP-UserAgent-Determined from <a href="https://rpmrepo.org/RPMforge/Using">rpmforge</a>.<br />
Fedora 14 with stock F14 perl-LWP-UserAgent-Determined package.</p>
<p>If you use CentOS, it is much easier to use the prebuilt perl packages from rpmforge. If you use CentOS, save yourself the heartache and use rpmforge for perl modules!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2011/01/03/asterisk-and-australian-reverse-caller-id-lookup/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Update on Digium Fax</title>
		<link>http://www.crc.id.au/2010/02/12/update-on-digium-fax/</link>
		<comments>http://www.crc.id.au/2010/02/12/update-on-digium-fax/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 14:18:30 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=348</guid>
		<description><![CDATA[Well, I&#8217;ve completely given up on the commercial Digium Fax for Asterisk module. After completely rebuilding my config to test the module I encountered tons of issues. Faxes were failing 99% of the time. I rebuilt the free app_fax with spandsp and straight away things were back to 100% success rates for both sending and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve completely given up on the commercial Digium Fax for Asterisk module. After completely rebuilding my config to test the module I encountered tons of issues. Faxes were failing 99% of the time. I rebuilt the free app_fax with spandsp and straight away things were back to 100% success rates for both sending and receiving.</p>
<p>Sorry Digium but you just can&#8217;t compete on this front.</p>
<p>The tech support offered to me after my last post was polite, but you can tell that they are not intimately familiar with every portion of Asterisk and seem to overlook details from previous communications. It was a nice notion by Digium but notions don&#8217;t make products work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2010/02/12/update-on-digium-fax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with Digium is like having a hole in the head</title>
		<link>http://www.crc.id.au/2010/01/16/dealing-with-digium-is-like-having-a-hole-in-the-head/</link>
		<comments>http://www.crc.id.au/2010/01/16/dealing-with-digium-is-like-having-a-hole-in-the-head/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 00:03:03 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=337</guid>
		<description><![CDATA[UPDATE 19/01/2010: I got a call from Patrick at Digium this morning. He had a quick step through the problem I was having regarding the Fax for Asterisk application. Apparently the free / trial 1 license Fax for Asterisk does not come with support. From what I have been told, the ones you actually buy [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 19/01/2010:</strong> I got a call from Patrick at Digium this morning. He had a quick step through the problem I was having regarding the Fax for Asterisk application. Apparently the free / trial 1 license Fax for Asterisk does not come with support. From what I have been told, the ones you actually buy should have a link for support. I can&#8217;t test this to verify it, but this is what I&#8217;ve been told. Patrick has also started a bug report on the license issue so hopefully this will get fixed for everyone.</p>
<p>For those of you who do a lot with Asterisk, you know how this story goes, those who don&#8217;t need a warning!</p>
<p><a href="http://www.digium.com/">Digium</a> is the creator of <a href="http://www.asterisk.org">Asterisk</a> &#8211; an open source telephony project &#8211; and probably one of the worst companies to deal with in the history of computing. The Asterisk open source people are quite &#8211; well &#8211; disowning of anything done by Digium and it is almost considered a sin to try and get help in the <a href="http://www.asterisk.org/support">Asterisk IRC channel</a>.</p>
<p>So what makes Digium so bad?</p>
<p><strong>1)</strong> Quite a while ago I purchased a number of <a href="  http://store.digium.com/productview.php?product_code=G729CODEC">g729 licenses</a>. These are $10USD a piece and should (in theory) allow you to legally transcode between other codecs and g.729 on your asterisk server. These license for these codecs are tied to the MAC address of your network interfaces. </p>
<p>Sadly, if your network interfaces are changed, or the machine that you run Asterisk on changes, then your licenses are now invalid. If the boot order of your network interfaces change, your licenses are now invalid.</p>
<p>Digium is kind though. If you request Digium to relicense your codecs then they will &#8211; once. After that, you need to buy them again. I have had Digium flatly refuse to relicense my g.729 licenses after experimenting with running Asterisk in Xen and needing to relicense 5 times. I now use the fully functional and freely available <a href="http://asterisk.hosting.lv/">g729 codecs for asterisk</a>.</p>
<p><strong>2)</strong> I recently got a couple of Digum <a href="http://www.digium.com/en/products/software/faxforasterisk.php">Fax for Asterisk</a> licenses. These are Digiums commercial offering for sending faxes using either T.38 or falling back to g711. You are offered a free license for 1 fax at a time and multiple concurrent faxes can happen at once if you purchase more licenses.</p>
<p>This is all well and good, however when you get a free license, or when you buy these, there is ZERO support. If you try to find somewhere to lodge a support case then you find that it is just about impossible. The support area of their web site tells you that you need to register one of your hardware devices to get support. If you email the address that sent you the licenses, you get told (after a 3-4 day wait):</p>
<blockquote><p>&#8220;This request for technical assistance was sent to Digium Customer Service. Our technical support team can be contacted at +1 256-428-6161 or http://www.digium.com/support .&#8221;</p></blockquote>
<p>My options are to be awake and call them internationally at 3am in the morning, or tough it up and get no support at all. Great customer service!</p>
<p>So what do I need to contact Digium support for? Well it seems there is a SLIGHT bug in their fax product that doesn&#8217;t release a license slot when a fax fails under certain conditions. This means if you have 10 licenses and 10 faxes failed in a certain way then the only way you can send or receive any faxes is to restart asterisk &#8211; causing ALL calls to drop. This probably should have been picked up by their testers before releasing their commercial offering, but I&#8217;m starting to think that their customers ARE their testers!</p>
<p>Overall, my dislike for Digium is growing at a rapid pace and wonder how long they will continue to ignore their customers with shonky procedures and if it will eventually mean the end of them. Time will tell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2010/01/16/dealing-with-digium-is-like-having-a-hole-in-the-head/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Asterisk and the Australian grey pages</title>
		<link>http://www.crc.id.au/2007/08/21/asterisk-and-the-australian-grey-pages/</link>
		<comments>http://www.crc.id.au/2007/08/21/asterisk-and-the-australian-grey-pages/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 06:38:10 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[greypages]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/2007/08/21/asterisk-and-grey-pages/</guid>
		<description><![CDATA[NOTE: This info is VERY outdated and doesn&#8217;t work anymore. You should look at the new script for services provided by Reverse Australia. So since I found the Australian gray pages on a lovely web site, I wanted to integrate this info into asterisk. 30 minutes of perl hacking later, and it works. enjoy The [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTE:</strong> This info is VERY outdated and doesn&#8217;t work anymore. You should look at <a href="http://www.crc.id.au/2011/01/03/asterisk-and-australian-reverse-caller-id-lookup/">the new script</a> for services provided by Reverse Australia.</p>
<p>So since I found the Australian gray pages on a lovely web site, I wanted to integrate this info into asterisk. 30 minutes of perl hacking later, and it works. enjoy <img src='http://www.crc.id.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The following script &amp; example will enable a reverse lookup of incoming caller ID and replace the name section with the lookup. It also allows you to maintain a comma separated file in number,name format. If this finds a match, it will add the name in the file to the caller ID string. If nothing is found in the file, it will consult the grey pages.</p>
<p><strong>Updated 24/8/07:</strong> changed script URL to reflect new grey pages site.</p>
<p><span id="more-117"></span></p>
<p>Download <a href="http://www.crc.id.au/files/cid-lookup.agi">this script</a> and put it into /var/lib/asterisk/agi-bin.</p>
<p>Create a file /var/lib/asterisk/agi-bin/numbers.txt and populate it with numbers that you already know in the format of:<br />
number,name<br />
eg: 0390001234,My Pizza Shop</p>
<p>The script will try to match numbers from this file first. If no match is found, it will consult the Australian grey pages for a match. If nothing is found here, it will not change the caller ID strings.</p>
<p>In your extensions.conf, call cid-lookup like so:</p>
<ul><code><br />
exten =&gt; 100,1,NoOp(Incoming call!)<br />
exten =&gt; 100,n,agi,cid-lookup.agi<br />
exten =&gt; 100,n,NoOp(Caller ID: ${CALLERID(all)})<br />
exten =&gt; 100,n,Dial(SIP/my-sip-phone,30)<br />
exten =&gt; 100,n,HangUp<br />
</code></ul>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2007/08/21/asterisk-and-the-australian-grey-pages/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Australian weather script for Asterisk</title>
		<link>http://www.crc.id.au/2007/06/03/australian-weather-script-for-asterisk/</link>
		<comments>http://www.crc.id.au/2007/06/03/australian-weather-script-for-asterisk/#comments</comments>
		<pubDate>Sat, 02 Jun 2007 14:55:56 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/2007/06/03/australian-weather-script-for-asterisk/</guid>
		<description><![CDATA[After looking around and not finding any decent script to read the weather for Asterisk, I decided to write my own. The code is downloadable here. Save the file to /var/lib/asterisk/agi-bin/getweather.agi. To use this script in Asterisk, copy the following into /etc/asterisk/extensions.conf: exten =&#62; 997,1,Answer exten =&#62; 997,2,agi,getweather.agi exten =&#62; 997,3,Hangup Update 6/6: I&#8217;ve updated [...]]]></description>
			<content:encoded><![CDATA[<p>After looking around and not finding any decent script to read the weather for Asterisk, I decided to write my own.</p>
<p>The code is downloadable <a href="http://www.crc.id.au/files/getweather.agi">here</a>. Save the file to /var/lib/asterisk/agi-bin/getweather.agi.</p>
<p>To use this script in Asterisk, copy the following into /etc/asterisk/extensions.conf:<br />
<code><br />
exten =&gt; 997,1,Answer<br />
exten =&gt; 997,2,agi,getweather.agi<br />
exten =&gt; 997,3,Hangup<br />
</code></p>
<p><strong>Update 6/6:</strong> I&#8217;ve updated this script to v1.1 now. I&#8217;ve fixed up a parsing error and also added more wind directions &#8211; the BOM add more than I thought <img src='http://www.crc.id.au/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2007/06/03/australian-weather-script-for-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Australian voices for Asterisk</title>
		<link>http://www.crc.id.au/2005/11/25/australian-voices-for-asterisk/</link>
		<comments>http://www.crc.id.au/2005/11/25/australian-voices-for-asterisk/#comments</comments>
		<pubDate>Fri, 25 Nov 2005 13:51:22 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=41</guid>
		<description><![CDATA[If you&#8217;re an Australian running asterisk then you&#8217;ll probably want a heap of Australian sounding .gsm files for the voicemail and other menus. OpenVoice has done just that &#8211; and opened a lot up for free download. They also have AtHome and Premium packages for those wanting a more complete selection.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re an Australian running <a href="http://www.asterisk.org">asterisk</a> then you&#8217;ll probably want a heap of Australian sounding .gsm files for the voicemail and other menus. <a href="http://www.openvoice.com.au">OpenVoice</a> has done just that &#8211; and opened a lot up for <a href="http://www.openvoice.com.au/free.php">free download</a>. They also have AtHome and Premium packages for those wanting a more complete selection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2005/11/25/australian-voices-for-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk Updates</title>
		<link>http://www.crc.id.au/2005/11/20/asterisk-updates/</link>
		<comments>http://www.crc.id.au/2005/11/20/asterisk-updates/#comments</comments>
		<pubDate>Sun, 20 Nov 2005 06:12:55 +0000</pubDate>
		<dc:creator>Steven Haigh</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://www.crc.id.au/?p=38</guid>
		<description><![CDATA[Yay, I&#8217;ve just completed the move to put asterisk on it&#8217;s own machine. Means I can play a bit more! I&#8217;ve set it up with 1.2.0, and actually put in SRV records in the crc.id.au domain &#8211; which in theory lets anyone call me just by calling crc.id.au. I had one issue while moving across, [...]]]></description>
			<content:encoded><![CDATA[<p>Yay, I&#8217;ve just completed the move to put <a href="http://www.asterisk.org">asterisk</a> on it&#8217;s own machine. Means I can play a bit more! I&#8217;ve set it up with 1.2.0, and actually put in SRV records in the crc.id.au domain &#8211; which in theory lets anyone call me just by calling crc.id.au. I had one issue while moving across, but the guys in #asterisk on irc.freenode.net rock <img src='http://www.crc.id.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;ve also updated my <a href="http://www.e164.org">e164</a> records &#8211; so if you use asterisk and e164&#8242;s enum service, you can call me for free &#8211; transparently!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crc.id.au/2005/11/20/asterisk-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

