<?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>GeekLad &#187; Uncategorized</title>
	<atom:link href="http://geeklad.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://geeklad.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 14:25:48 +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>Yahoo! Finance Excerpt FAIL</title>
		<link>http://geeklad.com/yahoo-finance-excerpt-fail</link>
		<comments>http://geeklad.com/yahoo-finance-excerpt-fail#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:37:16 +0000</pubDate>
		<dc:creator>GeekLad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://geeklad.com/?p=2081</guid>
		<description><![CDATA[I found this excerpt from Yahoo! Finance particularly amusing. Apparently, Obama wants local lenders to help businesses seize.]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox" href="http://geeklad.com/wp-content/uploads/2009/12/yahoo-finance-fail.png"><img class="alignnone size-full wp-image-2082" style="border: 0 none;" title="yahoo-finance-fail" src="http://geeklad.com/wp-content/uploads/2009/12/yahoo-finance-fail.png" alt="yahoo-finance-fail" width="500" /></a></p>
<p>I found this excerpt from Yahoo! Finance particularly amusing.  Apparently, Obama wants local lenders to help businesses seize.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeklad.com/yahoo-finance-excerpt-fail/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make Free Phone Calls Anywhere in the USA with Google Voice, Gizmo, and Asterisk</title>
		<link>http://geeklad.com/make-free-phone-calls-anywhere-in-the-usa-with-google-voice-gizmo-and-asterisk</link>
		<comments>http://geeklad.com/make-free-phone-calls-anywhere-in-the-usa-with-google-voice-gizmo-and-asterisk#comments</comments>
		<pubDate>Thu, 23 Apr 2009 23:10:30 +0000</pubDate>
		<dc:creator>GeekLad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Gizmo]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Voice]]></category>

		<guid isPermaLink="false">http://geeklad.com/?p=1335</guid>
		<description><![CDATA[Update: The instructions here are no longer valid, because Google has since closed off inbound SIP calls into Google Voice. However, I have posted a new solution for making free phone calls with Google Voice, Gizmo, and Asterisk. I recently switched my GrandCentral account over to Google Voice. I fooled … <a href="http://geeklad.com/make-free-phone-calls-anywhere-in-the-usa-with-google-voice-gizmo-and-asterisk"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://geeklad.com/wp-content/uploads/2009/04/google-voice-logo.gif" border="0" alt="Google-Voice-Logo" width="191" height="62" align="left" /><em><strong>Update:</strong> The instructions here are no longer valid, because Google has since closed off inbound SIP calls into Google Voice.  However, I have posted a new solution for <a href="http://geeklad.com/free-phone-calls-with-google-voice-asterisk-and-gizmo">making free phone calls with Google Voice, Gizmo, and Asterisk</a>.</em></p>
<p>I recently switched my <a href="http://www.grandcentral.com">GrandCentral</a> account over to <a href="http://www.google.com/voice">Google Voice</a>. I fooled around with Google Voice quite a bit and was quite impressed by the <a href="http://www.google.com/voice/about">many features</a>. It took quite a bit of work, but I finally figured out how to set up <a href="http://www.asterisk.org">Asterisk</a> along with <a href="http://www.gizmo5.com">Gizmo</a> to use Google Voice to make free telephone calls to anywhere in the USA.</p>
<p><span id="more-1335"></span></p>
<p>Last month, <a href="http://nerdvittles.com">Nerdvittles</a> wrote up a great <a href="http://nerdvittles.com/?p=593">tutorial on setting up Asterisk to make calls with Google Voice</a>. Unfortunately, shortly thereafter <a href="http://nerdvittles.com/index.php?p=597">Google Voice blocked inbound SIP calls</a> except those coming from <a href="http://www.gizmo5.com">Gizmo</a>. However, it is still possible to set up Asterisk to dial Google Voice if you set up Gizmo to forward calls to Google Voice.</p>
<h3>Forwarding Gizmo Calls to Google Voice</h3>
<p>First of all, you will need to <a href="http://my.gizmo5.com">create two Gizmo accounts</a>. One will be used to make outbound calls from Asterisk (I will refer to this one as the <strong>primary Gizmo account</strong>), and the other one will be used to forward calls from Gizmo to Google Voice (I will refer to this one as the <strong>forwarding Gizmo account</strong>). You do not need to purchase Gizmo outbound minutes to do this since SIP forwarding on Gizmo is free.</p>
<p>When you log into the Gizmo forwarding account, click the <strong>Forwarding All Calls</strong> radio button. Next, click the <strong>SIP</strong> radio button. For the sip number, put your Google Voice number @216.239.37.15:5061. Let&#8217;s say your Google Voice number is (555) 555-5555. For the SIP forwarding number, you would put <strong>5555555555@216.239.37.15:5061</strong>. After you&#8217;ve set up the SIP forward, click the <strong>Save</strong> button.</p>
<p><a rel="lightbox" href="http://geeklad.com/wp-content/uploads/2009/04/screenshot16.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://geeklad.com/wp-content/uploads/2009/04/screenshot16.png" border="0" alt="screenshot.16" width="508" height="98" /></a></p>
<p>Don&#8217;t forget to enable the forwarding Gizmo account within Google Voice as well.  To do this, log into Google Voice, go to <strong>Settings</strong>, <strong>Phones</strong>, and click the checkbox for the Gizmo Forwarding account.</p>
<p><img class="alignnone size-full wp-image-1355" style="border: 0px none;" title="gizmo-forwarding" src="http://geeklad.com/wp-content/uploads/2009/04/gizmo-forwarding.png" alt="gizmo-forwarding" width="204" height="94" /></p>
<p>If you want a simple, but not so elegant solution for making free telephone calls with Gizmo and Google Voice, this is as far as you really need to go. Just log into your primary Gizmo account and dial the Gizmo number for the forwarding Gizmo account. This will result in a call to your Google Voice account.</p>
<p>When your Google Voice outgoing voicemail message begins to play, press <strong>*</strong> to access your voicemail and then enter your PIN number. Then press <strong>2</strong> to dial any USA number, followed by the <strong>#</strong> sign.</p>
<p><strong>Before you read on</strong>, let me say that the rest of this tutorial is somewhat advanced and is for geeks only. If you&#8217;ve never used Linux before, the rest of this tutorial is not for you. However, you should still be able to use Gizmo to make free calls through Google Voice as I&#8217;ve explained so far.</p>
<p>I would say at a minimum, you need some experience with Linux and a basic understanding of IP networking. It also helps if you have used <a href="http://en.wikipedia.org/wiki/Session_Initiation_Protocol">SIP</a> before and have some familiarity with <a href="http://en.wikipedia.org/wiki/VoIP">VOIP</a>. If not, you may want do some research on <a href="http://www.voip-info.org">voip-info.org</a>.</p>
<p>If you are experienced with Linux then you are probably geeky enough to set up a new Asterisk system. If you&#8217;ve used Asterisk before, then this tutorial is definitely for you.</p>
<h3>Download and Install Asterisk and FreePBX</h3>
<p>If you already have Asterisk and <a href="http://www.freepbx.org">FreePBX</a>, you can skip this section.</p>
<p>Asterisk is a free and open source software implementation of a <a href="http://en.wikipedia.org/wiki/Private_branch_exchange">PBX phone system</a>. FreePBX provides a simple web-based interface for managing an Asterisk system. If you don&#8217;t have a Linux box handy to install Asterisk and FreePBX, here is what I would recommend you do:</p>
<ul>
<li><a href="http://www.virtualbox.org/wiki/Downloads">Download VirtualBox</a></li>
<li>Install VirtualBox and create a new machine to use as an Asterisk system
<ul>
<li>Set up the new box as a RedHat Linux system</li>
<li>Be sure the virtual hard drive is at least 4GB</li>
<li>Set up networking to use the host interface</li>
</ul>
</li>
<li><a href="http://www.asterisknow.org/downloads">Download AsteriskNOW</a><a href="http://www.asterisknow.org">AsteriskNOW</a> is a small CentOS Linux distribution that includes a ready-to-go Asterisk system. This really simplifies the process of setting up Asterisk since it is all-inclusive of the operating system and everything.</li>
<li>Install AsteriskNOW on the virtual machine</li>
<li>Set up AsteriskNOW NetworkingWhen you first boot up AsteriskNOW, it will be set up to automatically receive an IP address via DHCP. You may want to manually configure networking to use a static IP address. Be sure to take note of the static IP address you use, as you will need to bring up the FreePBX web interface to configure your new Asterisk system.If you set up a static IP, be sure to provide the DNS server as well.  When you run the setup tool, the DNS configuration is not in the same section as the machine IP, netmask, and gateway information.</li>
</ul>
<p>If you do already have a Linux system where you would like Asterisk to reside, <a href="http://www.asterisk.org/downloads">download Asterisk</a> and <a href="http://www.freepbx.org/download-freepbx">FreePBX</a> and install them.</p>
<h3>Configure Asterisk for Gizmo and Google Voice</h3>
<p>It took me quite a bit of tinkering to get Asterisk set up just right using FreePBX. Unfortunately, there is not a whole lot of documentation out there for using FreePBX to set up custom extensions. A custom extension is necessary to perform a more advanced dial plan that will send the <a href="http://en.wikipedia.org/wiki/DTMF">DTMF</a> tones necessary to instruct Google Voice to dial a phone number.</p>
<p>For the rest of the tutorial, I will assume you are using AsteriskNOW. These instructions would be very much the same for <a href="http://www.trixbox.org">TrixBox</a>, which is another Linux distribution that also uses FreePBX as the management interface. If you already have an Asterisk PBX, you&#8217;re probably pretty smart and can figure things out if the details are not quite the same.</p>
<p>Let&#8217;s say the IP address of your AsteriskNOW system is 192.168.1.100. Open up your web browser and go to <a href="http://192.168.1.100">http://192.168.1.100</a>. Click on the link that says <strong>FreePBX Administration</strong>. The default username/password is admin/admin.</p>
<p><img src="http://geeklad.com/wp-content/uploads/2009/04/asterisk-now-welcome-thumb.png" border="0" alt="asterisk-now-welcome" width="475" height="207" /></p>
<h4>Set Up a Gizmo Trunk for the Primary Gizmo Account</h4>
<p>First, we need to set up a SIP trunk for the primary Gizmo account. Let&#8217;s say the SIP number for your primary Gizmo account is 17475550001. To create the new trunk, click the <strong>Trunks</strong> link and then the <strong>Add SIP Trunk</strong> link. Use the following settings for the new SIP trunk:</p>
<ul>
<li><strong>Dial Rules</strong>
<pre>1+747NXXXXXX
1+800NXXXXXX
1+866NXXXXXX
1+888NXXXXXX
1747NXXXXXX
1800NXXXXXX
1866NXXXXXX
1888NXXXXXX</pre>
</li>
<li><strong>Trunk Name</strong>: gizmo</li>
<li><strong>PEER Details</strong>
<pre>type=peer
disallow=all
allow=ulaw&amp;ilbc
dtmfmode=rfc2833
host=proxy01.sipphone.com
fromdomain=proxy01.sipphone.com
insecure=very
qualify=yes
fromuser=17475550001
authuser=17475550001
username=17475550001
secret=password_for_gizmo_forwarding_account
canreinvite=no</pre>
</li>
<li><strong>USER Context:</strong> 17475550001</li>
<li><strong>USER Details</strong>
<pre>type=user
disallow=all
allow=ulaw&amp;ilbc&amp;gsm
dtmfmode=rfc2833
host=proxy01.sipphone.com
insecure=very
username=17475550001
secret=password_for_gizmo_forwarding_account
canreinvite=no
context=from-trunk-sip-gizmo</pre>
</li>
<li><strong>Register String:</strong> 17475550001:password_for_gizmo_forwarding_account@proxy01.sipphone.com</li>
</ul>
<p>Be sure to replace <code>17475550001</code> with your primary Gizmo account number and replace <code>password_for_gizmo_forwarding_account</code> with the password for that account. Click <strong>Submit Changes</strong>.</p>
<h4>Set Up an Outbound Route for Gizmo Calls</h4>
<p>I deleted the default route to dial 9 for an outbound line. You may wish to do the same, if you want consistency in the tutorial with the route name for the Gizmo outbound route. To delete this route click on <strong>0 9_outside</strong> and then click the link that says <strong>Delete Route 9_outside</strong>.</p>
<p>To set up the new route, click on <strong>Outbound Routes</strong> and then <strong>Add Route</strong>. Use the following settings for the new route:</p>
<ul>
<li><strong>Route Name:</strong> gizmo-out</li>
<li><strong>Dial Patterns</strong>
<pre>1+747NXXXXXX
1+800NXXXXXX
1+866NXXXXXX
1+888NXXXXXX
1747NXXXXXX
1800NXXXXXX
1866NXXXXXX
1888NXXXXXX</pre>
</li>
<li><strong>Trunk Sequence:</strong> SIP/gizmo</li>
</ul>
<p>Click <strong>Submit Changes</strong>. At this point, Asterisk is configured to use Gizmo to make outbound calls to other Gizmo numbers, as well as to toll-free numbers. Next we have to set it up to dial regular telephone numbers through Google Voice.</p>
<h4>Set Up the Custom Extension to Dial Google Voice for <a href="http://en.wikipedia.org/wiki/PSTN">PSTN</a> Calls</h4>
<p>This is where the real magic happens, and it is heavily based on the <a href="http://nerdvittles.com">Nerdvittles</a> article on <a href="http://nerdvittles.com/?p=593">using Google Voice with Asterisk</a>. Here your are setting up Asterisk to dial your Gizmo forwarding account. Let&#8217;s say your Gizmo forwarding number is 17475550002. To set up the custom extension, log into your Asterisk Linux box as root from the console. Edit <code>/etc/asterisk/extensions_custom.conf</code> and add the following lines:</p>
<pre>[pstn-via-gv]
exten =&gt; 411,1,Dial(local/18004664411@outrt-001-gizmo-out)
exten =&gt; 411,n,Hangup

exten =&gt; _X.,1,Dial(local/17475550002@outrt-001-gizmo-out,30,rD(wwwwwwwwwwwwww*ww1234ww2${EXTEN}#))
exten =&gt; _X.,n,Hangup</pre>
<p>Be sure to replace <code>17475550002</code> with your Gizmo forwarding account number, and also replace <code>1234</code> with your Google Voice voicemail 4-digit PIN number.</p>
<p>If you deleted the default AsteriskNOW route to dial 9 for an outside line, the lines you add should be the same as what I have here. Otherwise, you will have to change the <code>001</code> in the outbound route to the proper number, according to what number FreePBX assigned to the gizmo-out route you created earlier.</p>
<p>The 411 entries are to dial 1-800-GOOG-411 directly from the gizmo account. Feel free to omit these lines or change the number to some other toll-free 411 service you would prefer to use.</p>
<h4>Register the Custom Extension in FreePBX</h4>
<p>After you&#8217;ve edited the <code>extensions_custom.conf</code> file, you need to register the newly created extension within FreePBX. Documentation on doing this is very sparse, and it took me the longest time to figure out this step was necessary to get everything to work properly.</p>
<p>Go back to the FreePBX configuration in your browser and click the <strong>Tools</strong> tab on the left-hand side, then click <strong>Custom Extensions</strong>. For the new custom extension, use the following settings:</p>
<ul>
<li><strong>Custom Extension:</strong> pstn-via-gv</li>
<li><strong>Description:</strong> pstn-via-gv-custom</li>
</ul>
<p>Click <strong>Submit Changes</strong>.</p>
<h4>Set Up a Custom Trunk to Use the Google Voice Extension</h4>
<p>Next, you need a custom trunk use the custom extension for making regular telephone calls. Go back to the <strong>Setup</strong> tab and click <strong>Trunks</strong> and <strong>Add Custom Trunk</strong>. Use the following settings:</p>
<ul>
<li><strong>Dial Rules</strong>
<pre>411
1|NXXNXXXXXX
NXXNXXXXXX</pre>
</li>
<li><strong>Custom Dial String:</strong> <a href="mailto:local/$OUTNUM$@pstn-via-gv">local/$OUTNUM$@pstn-via-gv</a></li>
</ul>
<p>Click <strong>Submit Changes</strong>.</p>
<h4>Create an Outbound Route to Dial the PSTN Through the Google Voice Trunk</h4>
<p>Finally, you need an outbound route to use the custom trunk. To create the route, click on <strong>Outbound Routes</strong> and then <strong>Add Route</strong>. Use the following settings for the new route:</p>
<ul>
<li><strong>Route Name:</strong> pstn-out</li>
<li><strong>Dial Patterns</strong>
<pre>411
1|NXXNXXXXXX
NXXNXXXXXX</pre>
</li>
<li><strong>Trunk Sequence:</strong> <a href="mailto:local/$OUTNUM$@pstn-via-gv">local/$OUTNUM$@pstn-via-gv</a></li>
</ul>
<p>Click <strong>Submit Changes</strong>.</p>
<h4>Create an Extension for your SIP Phone</h4>
<p>Click <strong>Extensions</strong>, select <strong>Generic SIP Device</strong> for the <strong>Device</strong>, and then click <strong>Submit</strong>. Use the following settings for the new device:</p>
<ul>
<li><strong>User Extension:</strong> 200</li>
<li><strong>Display Name:</strong> Gizmo User</li>
<li><strong>Secret:</strong> password</li>
</ul>
<p>Click <strong>Submit</strong>. You can actually use whatever you want for these values, just be sure to remember what the User <strong>Extension</strong> and <strong>Secret</strong> are, as these will be your username and password for your SIP phone.</p>
<h4>Create an Inbound Route for Gizmo</h4>
<p>If you want to use the SIP phone for receiving inbound calls as well as making outbound calls, click <strong>Inbound Routes</strong>. Put your primary Gizmo account number for the <strong>DID Number</strong>, or leave it blank if you want to receive all inbound SIP calls at the extension. For the <strong>Extensions</strong> option, be sure to select the new Gizmo User extension you just created. Click <strong>Submit</strong>.</p>
<p>Be sure to also go into the <strong>General</strong> <strong>Settings</strong>, and set <strong>Allow Anonymous Inbound SIP Calls?</strong> to <strong>yes</strong>.</p>
<h4>Disable Other Google Voice Phones</h4>
<p>I had very inconsistent results with other phones connected to the Google Voice account.  For the best results, be sure the only account enabled is the forwading Gizmo account.  To disable your other phones, log into Google Voice, go to <strong>Settings</strong>, <strong>Phones</strong>, and uncheck all of them except the forwading Gizmo account.</p>
<p>If you have two Google Voice accounts, this is ideal.  Just use one of the accounts with a single phone (the forwarding Gizmo account), and use it to make outbound calls.  If you find out a way to enable other Google phones and use Asterisk for making outbound calls, please provide the instructions in a comment.  I will also update the instructions with your findings, and give you props.</p>
<h4>Connect Your SIP Phone to Asterisk</h4>
<p>Of course, you will need a SIP phone to connect to the extension on the Asterisk server. When you set up the SIP phone, just set it up to the proper IP address of your Asterisk server, use the <strong>User Extension</strong> as the user, the <strong>Secret</strong> as the password, and you should be all set!</p>
<p>If you don&#8217;t have a <a href="http://www.google.com/products?q=sip+phone&amp;price2=100">SIP phone</a> or <a href="http://www.google.com/products?q=voip+gateway+fxs+fxo&amp;price2=100">VoIP gateway</a> with <a href="http://www.3cx.com/PBX/FXS-FXO.html">FXS and FXO</a> to use with your existing phone, you could always <a href="http://www.counterpath.net/X-Lite-Download.html">download X-Lite</a> to use your computer as a phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeklad.com/make-free-phone-calls-anywhere-in-the-usa-with-google-voice-gizmo-and-asterisk/feed</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: geeklad.com @ 2012-02-04 00:16:02 -->
