<?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>usefulgeek &#187; asterisk</title>
	<atom:link href="http://www.usefulgeek.com/blog/tag/asterisk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.usefulgeek.com/blog</link>
	<description>rants, reviews and kind hearted messages from some geeks</description>
	<lastBuildDate>Mon, 19 Jul 2010 16:48:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rewrite incoming CallerID</title>
		<link>http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/</link>
		<comments>http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:38:27 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=231</guid>
		<description><![CDATA[We&#8217;re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/' rel='bookmark' title='Permanent Link: Asterisk GotoIf Application'>Asterisk GotoIf Application</a> <small>The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I found this was rather easy to accomplish.  Adding something similar to the following to whatever extension handles your incoming calls, all CallerID numbers will have a 9 added to the front.<br />
<code><br />
exten =&gt; s,1,Set(<span style="color: green;">CALLERID(num)</span>=9<span style="color: purple;">${CALLERID(num)</span>})<br />
</code><br />
And proceed with your normal call routing logic.  Change the preceding digit to whatever matches your system.  If you have several extensions this is going to be used with, you could benefit from using a global variable for the leading digit.</p>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/' rel='bookmark' title='Permanent Link: Asterisk GotoIf Application'>Asterisk GotoIf Application</a> <small>The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk GotoIf Application</title>
		<link>http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/</link>
		<comments>http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 15:12:20 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[quickfire]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=211</guid>
		<description><![CDATA[The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse]).
I have not used labels in the dial plan [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/' rel='bookmark' title='Permanent Link: Rewrite incoming CallerID'>Rewrite incoming CallerID</a> <small>We&#8217;re using asterisk, and as part of the dial plan,...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The description from asterisk for this is <code>GotoIf(condition?[labeliftrue]:[labeliffalse])</code>, however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be <code>GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse])</code>.<br />
I have not used labels in the dial plan before, and when starting out with this application I read label to be a context.  This lead me to write my dial plan similar to this..</p>
<pre>[default]
exten =&gt; 100,1,GoToIf(condition?true,false)
[true]
exten =&gt; s,1,...
[false]
exten =&gt; s,1,...
</pre>
<p>In retrospect, it&#8217;s obvious what the documentation is saying, but as I said, not being familiar with labels, I was a bit lost.</p>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/' rel='bookmark' title='Permanent Link: Rewrite incoming CallerID'>Rewrite incoming CallerID</a> <small>We&#8217;re using asterisk, and as part of the dial plan,...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2010/01/asterisk-gotoif-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using source control for config management</title>
		<link>http://www.usefulgeek.com/blog/2009/04/using-source-control-for-config-management/</link>
		<comments>http://www.usefulgeek.com/blog/2009/04/using-source-control-for-config-management/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 20:13:26 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=98</guid>
		<description><![CDATA[A project involving asterisk has forced me to find a way to help manage my configurations.  I&#8217;m going to give using subversion a go at helping me to keep some level of change control and really simple backups, and I&#8217;m going to share my thoughts on that here.  This post doesn&#8217;t have any [...]


Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2009/10/open-source-storage-server/' rel='bookmark' title='Permanent Link: Open Source storage server'>Open Source storage server</a> <small>This is not going to be a full review, but...</small></li>
<li><a href='http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/' rel='bookmark' title='Permanent Link: Rewrite incoming CallerID'>Rewrite incoming CallerID</a> <small>We&#8217;re using asterisk, and as part of the dial plan,...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>A project involving asterisk has forced me to find a way to help manage my configurations.  I&#8217;m going to give using subversion a go at helping me to keep some level of change control and really simple backups, and I&#8217;m going to share my thoughts on that here.  This post doesn&#8217;t have any new details, it&#8217;s simply a way for me to remember to update <img src='http://www.usefulgeek.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Stay tuned.</p>


<p>Related posts:<ol><li><a href='http://www.usefulgeek.com/blog/2009/10/open-source-storage-server/' rel='bookmark' title='Permanent Link: Open Source storage server'>Open Source storage server</a> <small>This is not going to be a full review, but...</small></li>
<li><a href='http://www.usefulgeek.com/blog/2010/02/rewrite-incoming-callerid/' rel='bookmark' title='Permanent Link: Rewrite incoming CallerID'>Rewrite incoming CallerID</a> <small>We&#8217;re using asterisk, and as part of the dial plan,...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2009/04/using-source-control-for-config-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick review of the Aastra 57i</title>
		<link>http://www.usefulgeek.com/blog/2009/04/quick-review-of-the-aastra-57i/</link>
		<comments>http://www.usefulgeek.com/blog/2009/04/quick-review-of-the-aastra-57i/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 19:16:21 +0000</pubDate>
		<dc:creator>jonmoore</dc:creator>
				<category><![CDATA[reviews]]></category>
		<category><![CDATA[aastra]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://www.usefulgeek.com/blog/?p=92</guid>
		<description><![CDATA[As part of an project, I recently received a few Aastra 57i SIP phones at work.  After spending a few days with them, I&#8217;ve decided to write up a short review of something of the things I like (and don&#8217;t like) about these phones.
Let&#8217;s start with the phone itself.  It&#8217;s not much bigger than a [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>As part of an project, I recently received a few Aastra 57i SIP phones at work.  After spending a few days with them, I&#8217;ve decided to write up a short review of something of the things I like (and don&#8217;t like) about these phones.</p>
<p>Let&#8217;s start with the phone itself.  It&#8217;s not much bigger than a normal telephone, and has the same basic &#8220;fancy IP phone&#8221; look you see with Cisco and others.  One thing does stand out; the screen.  It&#8217;s a fairly large screen, and backlight with a white light, instead of the normal Aastra golden brown color.  Obviously, this makes it much more appealing on the eyes.  However good, there is some bad.  The viewing angle of the screen is not near as good as say the 480i, but still useable.</p>
<p>The device itself is also somewhat light compared to others I&#8217;ve used.  At first, this seems nice, but as you use the phone you find it sliding around on the desk quite often.  The additional of some no-slide matting takes care of this, but not a very cosmetic solution for an otherwise good looking phone.</p>
<p>The webui also boosts some useful features.  Almost all configuration options can be set there, although I recommend the server configuration options for various reasons.</p>
<p>Overall, it&#8217;s a nice phone.  The buttons are a bit odd, the screen a little hard to read when not looking at it just write, and a tad light.  For the price, you can&#8217;t beat it though.</p>
<p>I&#8217;ve also got a few 480i and 9133i phones also.  Hopefully, I&#8217;ll get around to sharing my thoughts on those as well.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.usefulgeek.com/blog/2009/04/quick-review-of-the-aastra-57i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
