<?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>Voip Phreak&#187; Differences between SIP and IAX for your Asterisk Installations</title>
	<atom:link href="http://www.voipphreak.ca/category/asterisk-tidbits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.voipphreak.ca</link>
	<description>Cool sh!t about Asterisk, VOIP, XMPP 'n stuff</description>
	<lastBuildDate>Tue, 08 Jun 2010 04:50:04 +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>Differences between SIP and IAX for your Asterisk Installations</title>
		<link>http://www.voipphreak.ca/2009/04/22/differences-between-sip-and-iax-for-your-asterisk-installations/</link>
		<comments>http://www.voipphreak.ca/2009/04/22/differences-between-sip-and-iax-for-your-asterisk-installations/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:39:42 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/?p=1252</guid>
		<description><![CDATA[Today VoipSupply is running a contest about IAX vs SIP because of a new phone launch that supports IAX (finally!). So, we thought we'd go over a couple of the differences of SIP and IAX and why IAX may suit your needs better. IAX: Only one port needed on firewall Works much easier with NAT [...]]]></description>
			<content:encoded><![CDATA[<p>Today VoipSupply is <a title="IAX vs SIP contest from VOIPSUPPLY" href="http://blog.voipsupply.com/asterisk-hardware/iax-phone-contest" target="_blank">running a contest about IAX vs SIP</a> because of a new phone launch that supports IAX (finally!).</p>
<p>So, we thought we'd go over a couple of the differences of SIP and IAX and why IAX may suit your needs better.</p>
<p><strong>IAX:</strong></p>
<ul>
<li>Only one port needed on firewall</li>
<li>Works much easier with NAT environments</li>
<li>Smaller network footprint</li>
<li>Out of Band DTMF for ease of use</li>
<li>Created by the Asterisk Team (well supported)</li>
</ul>
<p><strong>SIP:</strong></p>
<ul>
<li>Standard Protocol</li>
<li>Works with not only Asterisk</li>
<li>Great if you're not NATing</li>
<li>Well Supported</li>
<li>Higher Bandwidth usage than IAX</li>
<li>Can be a problem with DTMF sometimes</li>
</ul>
<p>Those are pretty much the bare facts about SIP vs IAX. We're not out to start a war between which one is better, obviously both have their benefits and disadvantages. For us, we like using IAX with any remote office for trunking purposes or for external lines behind firewalls we don't control. For inside the office, we opt for SIP as much nicer phones are available with this protocol.</p>
<p>Which do you prefer?</p>
<p>Don't forget to check out the <a href="http://blog.voipsupply.com/asterisk-hardware/iax-phone-contest" target="_blank">contest from VOIPSUPPLY</a> while you're at it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2009/04/22/differences-between-sip-and-iax-for-your-asterisk-installations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack MagicJack to work with your Asterisk PBX Installation, 20$ Calls for a year!</title>
		<link>http://www.voipphreak.ca/2008/08/31/hack-magicjack-to-work-with-your-asterisk-pbx-installation-20-calls-for-a-year/</link>
		<comments>http://www.voipphreak.ca/2008/08/31/hack-magicjack-to-work-with-your-asterisk-pbx-installation-20-calls-for-a-year/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 04:18:08 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/2008/08/31/hack-magicjack-to-work-with-your-asterisk-pbx-installation-20-calls-for-a-year/</guid>
		<description><![CDATA[Recently there's been a bit of a conversation about hacking the MagicJack VOIP boxes to enable it to work with Asterisk. Like some of the other list users, we weren't aware of this, but this was posted as a followup. Probably old for most of you, but some may find it useful for your Magic [...]]]></description>
			<content:encoded><![CDATA[<p>Recently there's been a bit of a conversation about hacking the <a href="http://www.magicjack.com/9/index.asp">MagicJack VOIP </a> boxes to enable it to work with Asterisk. Like some of the other list users, we weren't aware of this, but this was posted as a followup. Probably old for most of you, but some may find it useful for your <a href="http://www.jennyreviews.com/phones/magic-jack/" target="_blank">Magic Jack</a>.</p>
<p>As of 5-31-08 to obtain your sip credentials you will need to dump your memory while magicjack.exe is running in order to view the decrypted password.<br />
All other information can be had with any packet capture program.</p>
<p>Original, and All credit goes here: <a href="http://revolution.hackthisbox.com/magicjack/readme">http://revolution.hackthisbox.com/magicjack/readme</a></p>
<blockquote><p>Replace EXXXXXXXXXX01 with your MJ number. Include E and 01.<br />
Replace the proxy proxy1.Atlanta.talk4free.com:5070 with the proxy your MJ registers to and change host=67.90.138.70 to host=YourProxyIPHere.<br />
Replace XXXXXpasswordXXXXX with your password. Currently a 20 character string consisting of numbers and letters. Mine is all uppercase.</p></blockquote>
<blockquote><p>~~~~~sip.conf~~~~~</p>
<p>register =&gt; EXXXXXXXXXX01:XXXpasswordXXXX@proxy1.Atlanta.talk4free.com:5070</p>
<p>[magicjack]<br />
context=incoming<br />
username=EXXXXXXXXXX01<br />
type=friend<br />
secret=XXXXXpasswordXXXXX<br />
port=5070<br />
nat=yes<br />
insecure=very<br />
host=67.90.138.70<br />
fromuser=EXXXXXXXXXX01<br />
dtmfmode=inband<br />
qualify=2000</p>
<p>~~~~~sip.conf~~~~~</p>
<p>~~~~~extensions.conf~~~~~</p>
<p>[incoming]<br />
exten =&gt; YourMJNumber,1,Answer<br />
exten =&gt; YourMJNumber,2,Dial(sip/sipura,30,r) ;dial someone...such as an ATA</p>
<p>[MagicJackOutgoing]<br />
exten =&gt; _1NXXNXXXXXX,1,Dial(<a href="mailto:SIP/${EXTEN}@magicjack,30,r">SIP/${EXTEN}@magicjack,30,r</a>)<br />
exten =&gt; _1NXXNXXXXXX,2,congestion()<br />
exten =&gt; _1NXXNXXXXXX,102,busy()<br />
exten =&gt; i,1,Hangup<br />
exten =&gt; t,1,Hangup<br />
exten =&gt; h,1,Hangup</p>
<p>[sip]<br />
include =&gt; MagicJackOutgoing</p>
<p>~~~~~extensions.conf~~~~~</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2008/08/31/hack-magicjack-to-work-with-your-asterisk-pbx-installation-20-calls-for-a-year/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Spamming People using Dead VOIP Numbers..</title>
		<link>http://www.voipphreak.ca/2008/06/02/spamming-people-using-dead-voip-numbers/</link>
		<comments>http://www.voipphreak.ca/2008/06/02/spamming-people-using-dead-voip-numbers/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 00:00:48 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/2008/06/02/spamming-people-using-dead-voip-numbers/</guid>
		<description><![CDATA[So, Someone posted this to the Asterisk-Users list today, interesting because I myself have received a few calls from these toll frees, well, not these specific ones, but from ones with the exact same circumstances. This post got me to thinking, what if spammers are trolling all the SIP/IAX Providers websites that list out the [...]]]></description>
			<content:encoded><![CDATA[<p>So, Someone posted this to the Asterisk-Users list today, interesting because I myself have received a few calls from these toll frees, well, not these specific ones, but from ones with the exact same circumstances. This post got me to thinking, what if spammers are trolling all the SIP/IAX Providers websites that list out the VOIP DID Prefixes without username/password that are available, or are just reading off regular mailings from these companies. IE: Say you scan a few websites, and see that they have did's available in a bunch of prefixes, you simply call all the ones that are available with a wardialer and see which ones aren't dead, and which ones are. Then, use the dead ones in your outgoing CID spoof, which will lead back to the originating voip company, and not yourself. I'm not saying that's what these people are doing, but just something that I started thinking about when reading this guys post. I'm sure there are a plethora of ways they could be doing this, but interesting none the less. anyway, here's the post:</p>
<blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Hello all,</p>
<p>not sure this belongs here, but I'm wondering if anyone else has<br />
received "phone spam" lately. Over the last eight weeks, I've received<br />
over 60 calls to my toll-free numbers, originating from various fake<br />
numbers in the 940 and 956 area codes. When I still *listened* to them,<br />
they began with "for all your office needs go to smtmco.com."</p>
<p>Whenever I call the numbers back (based on caller id), I get one or two<br />
rings, then a click, then dead air. That's also the reason I'm posting<br />
this here -- these folks either have access to a large pool of numbers,<br />
or to a list of "dead" numbers. The last six numbers (three today) are:<br />
940.387.0483<br />
956.982.1640<br />
940.891.6197<br />
956.554.7617<br />
940.891.6099<br />
956.421.3378</p>
<p>The 956 numbers are all SWBell exchanges, while the 940s are GTE/Verizon<br />
exchanges. All calls came in through my toll-free numbers (which in<br />
turn are hosted by vitelity/exgn).</p>
<p>The website referenced isn't loading, but registered to:</p>
<p>Registrant:<br />
Sales Team<br />
321 High School Rd NE, PMB 348<br />
Suite D3<br />
Bainbridge Island, Washington 98110<br />
United States<br />
(800) 921-0136 ; NS1.ORDERSHOPPER.COM</p>
<p>Ordershopper.com also seems a dead-end, as it's registered "by proxy",<br />
as all good spammers do.</p>
<p>I have since established a greylisting function, which simply does the<br />
zapateller and then prompts the caller to call back within ten minutes<br />
to be put through. If the same caller (by ID) calls the same number<br />
within those 10 minutes, he's put through to a person and whitelisted.<br />
If the caller hangs up before hearing the message (during the SIT tone),<br />
the numbers is marked for blacklisting. Outgoing calls are<br />
automatically whitelisted, as are certain (local) area codes. This has<br />
kept the phone silent for a couple of weeks, and afaik, no valid calls<br />
were killed.</p>
<p>But the real question is -- has anyone else seen this?</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2008/06/02/spamming-people-using-dead-voip-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreePBX Music on Hold with Madplay instead of Format_mp3</title>
		<link>http://www.voipphreak.ca/2007/11/22/freepbx-music-on-hold-with-madplay-instead-of-format_mp3/</link>
		<comments>http://www.voipphreak.ca/2007/11/22/freepbx-music-on-hold-with-madplay-instead-of-format_mp3/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 16:09:54 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/495</guid>
		<description><![CDATA[We've just recently replaced our company PBX with FreePBX and Asterisk 1.4. We were getting complaints about format_mp3 and how it plays the same song, from the beginning every time you put someone on hold. This is honestly a bad way to do hold music, and I'm not sure why the Asterisk Developers haven't fixed [...]]]></description>
			<content:encoded><![CDATA[<p>We've just recently replaced our company PBX with FreePBX and Asterisk 1.4. We were getting complaints about format_mp3 and how it plays the same song, from the beginning every time you put someone on hold. This is honestly a bad way to do hold music, and I'm not sure why the Asterisk Developers haven't fixed it, but, it's easy enough to fix. Here are the steps to take to use madplay instead. Note that we're using Ubuntu Linux, so the commands may change a bit.</p>
<p>1. Install madplay</p>
<blockquote><p># apt-get install madplay</p></blockquote>
<p>2. Login to the FreePBX Control Console and create a Music On Hold context. Next you will want to upload all your mp3's to this context.</p>
<p>3. Once your satisfied with the mp3's you've uploaded to your context, you will have to ssh to your box</p>
<blockquote><p># ssh your.pbx.ip</p></blockquote>
<p>4. After logging in, and su'ing to root, go to /etc/asterisk and edit musiconhold_additional.conf. It should end up looking like this. Replace [Flewid] with your Music on Hold context.</p>
<blockquote><p>[Flewid]<br />
mode=custom<br />
directory=/var/lib/asterisk/mohmp3/Flewid/<br />
application=/usr/bin/madplay -Qzr -o raw:- --mono -R 8000 -a -12<br />
random=yes</p></blockquote>
<p>5. Now you will have to stop and start asterisk. Something like this should do the trick. </p>
<p># /etc/init.d/asterisk stop<br />
# /etc/init.d/asterisk start</p>
<p>6. Now when you issue a ps you should see that madplay is now running. You should see something like the following. </p>
<p># ps aux | grep madplay</p>
<p>asterisk 15921  0.0  0.4   5732  2156 ?        S    Nov21   0:00 /usr/bin/madplay -Qzr -o raw:- --mono -R 8000 -a -12 Party 1992 Intromusic.mp3 A Touch of Spring.mp3 Ice Frontier.mp3 imphobia.mp3 Aquaphobia - 1993  spring.mp3 Lavender Hill.mp3 M16A.mp3 M16C.mp3 MENU.mp3 Minimum Velocity.mp3 Purple Sky II.mp3 Satellite one..mp3 technology.mp3 Turbulence.mp3 Unreal Symphony.mp3 When the heavens fall.mp3</p>
<p>7. That's it. Now you should have fancy music on hold that won't start at the beginning of every song, and when people are put on music on hold they will hear the song immediately, instead of waiting for it to start. </p>
<p>There is one problem with this method, in that if you decide to upload any more music on hold files to your context, musiconhold_additional.conf will get overwritten, and you will have to apply this fix again. </p>
<p>It would be nice if the freepbx developers added the option of using madplay from the administration interface. But this isn't really too big of a deal since musiconhold is changed infrequently (at least for us). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/11/22/freepbx-music-on-hold-with-madplay-instead-of-format_mp3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hack FreePBX and Asterisk 1.4 to Support MD5Secret for Cisco (and other) SIP Devices.</title>
		<link>http://www.voipphreak.ca/2007/11/19/hack-freepbx-and-asterisk-14-to-support-md5secret-for-cisco-and-other-sip-devices/</link>
		<comments>http://www.voipphreak.ca/2007/11/19/hack-freepbx-and-asterisk-14-to-support-md5secret-for-cisco-and-other-sip-devices/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 04:25:35 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/493</guid>
		<description><![CDATA[This weekend I enlisted the help of a programmer friend of mine to help me make FreePBX / Asterisk 1.4 capable of taking md5secrets for the password, instead of just the unencrypted secret field. I'm not sure why FreePBX doesn't include this functionality already, I suppose the developers don't see a need in password security [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend I enlisted the help of a programmer friend of mine to help me make <a href="http://www.freepbx.org/" title="FreePBX" target="_blank">FreePBX</a> / <a href="http://www.asterisk.org/" title="Asterisk Opensource PBX" target="_blank">Asterisk 1.4</a> capable of taking md5secrets for the password, instead of just the unencrypted secret field. I'm not sure why <a href="http://www.freepbx.org/" title="FreePBX" target="_blank">FreePBX</a> doesn't include this functionality already, I suppose the developers don't see a need in password security for their peers, but we do!</p>
<p>It wasn't very hard to get this done, and we've <a href="http://www.freepbx.org/trac/ticket/2498" title="Bug ID: 2498" target="_blank">submitted a patch</a> to <a href="http://www.freepbx.org/" title="FreePBX" target="_blank">FreePBX</a>. Hopefully they will incorporate this into their next release and also add it for IAX Devices as well.</p>
<p><strong> What This Hack Does:</strong></p>
<ol>
<li>Allow you to specify secret or md5secret for peer</li>
<li>Allow you to type plaintext secret in md5secret field, and it will run md5sum</li>
</ol>
<p><strong>What This Hack Doesn't Do:</strong></p>
<ol>
<li>Add MD5Secret Ability to IAX Devices</li>
<li>Work if your asterisk realm is set to something other than "asterisk".</li>
<li>Allow device passwords longer than 32 characters.</li>
<li>Display Popup warnings if no passwords are entered</li>
</ol>
<p><!--adsense--><br />
<strong>How to enable this on your FreePBX / Asterisk 1.4 Installation:</strong></p>
<ol>
<li> Edit the Functions.inc.php in the core modules directory of freepbx<br />
<blockquote><p># cd /var/www/admin/modules/core/functions.inc.php<br />
# cp functions.inc.php functions.inc.php.original<br />
# nano functions.inc.php</p></blockquote>
</li>
<li>Look for the function named "core_Devices_addsip" and replace it with the following:<br />
<blockquote><p>//add to sip table<br />
function core_devices_addsip($account) {<br />
global $db;<br />
global $currentFile;</p>
<p>foreach ($_REQUEST as $req=&gt;$data) {<br />
if ( substr($req, 0, 8) == 'devinfo_' ) {<br />
$keyword = substr($req, 8);<br />
if ( $keyword == 'dial' &amp;&amp; $data == '' ) {<br />
$sipfields[] = array($account, $keyword, 'SIP/'.$account);<br />
} elseif ($keyword == 'mailbox' &amp;&amp; $data == '') {<br />
$sipfields[] = array($account,'mailbox',$account.'@device');<br />
} elseif ($keyword == 'md5secret' &amp;&amp; $data != '') {<br />
$sipfields[] = array($account, 'md5secret', md5($account.':asterisk:'.$data));<br />
} else {<br />
$sipfields[] = array($account, $keyword, $data);<br />
}<br />
}<br />
}</p></blockquote>
</li>
<li>Directly following the "core_devices_addsip" function, is the sipfields array. Replace it with the following piece of code:<br />
<blockquote><p> if ( !is_array($sipfields) ) { // left for compatibilty....lord knows why !<br />
$sipfields = array(<br />
//array($account,'account',$account),<br />
array($account,'accountcode',(isset($_REQUEST['accountcode']))?$_REQUEST['accountcode']:''),<br />
array($account,'secret',(isset($_REQUEST['secret']))?$_REQUEST['secret']:''),<br />
array($account,'md5secret', (isset($_REQUEST['md5secret']))? $_REQUEST['md5secret']:''),<br />
array($account,'canreinvite',(isset($_REQUEST['canreinvite']))?$_REQUEST['canreinvite']:'no'),<br />
array($account,'context',(isset($_REQUEST['context']))?$_REQUEST['context']:'from-internal'),<br />
array($account,'dtmfmode',(isset($_REQUEST['dtmfmode']))?$_REQUEST['dtmfmode']:''),<br />
array($account,'host',(isset($_REQUEST['host']))?$_REQUEST['host']:'dynamic'),<br />
array($account,'type',(isset($_REQUEST['type']))?$_REQUEST['type']:'friend'),<br />
array($account,'mailbox',(isset($_REQUEST['mailbox']) &amp;&amp; !empty($_REQUEST['mailbox']))?$_REQUEST['mailbox']:$account.'@device'),<br />
array($account,'username',(isset($_REQUEST['username']))?$_REQUEST['username']:$account),<br />
array($account,'nat',(isset($_REQUEST['nat']))?$_REQUEST['nat']:'yes'),<br />
array($account,'port',(isset($_REQUEST['port']))?$_REQUEST['port']:'5060'),<br />
array($account,'qualify',(isset($_REQUEST['qualify']))?$_REQUEST['qualify']:'yes'),<br />
array($account,'callgroup',(isset($_REQUEST['callgroup']))?$_REQUEST['callgroup']:''),<br />
array($account,'pickupgroup',(isset($_REQUEST['pickupgroup']))?$_REQUEST['pickupgroup']:''),<br />
array($account,'disallow',(isset($_REQUEST['disallow']))?$_REQUEST['disallow']:''),<br />
array($account,'allow',(isset($_REQUEST['allow']))?$_REQUEST['allow']:'')<br />
//array($account,'record_in',(isset($_REQUEST['record_in']))?$_REQUEST['record_in']:'On-Demand'),<br />
//array($account,'record_out',(isset($_REQUEST['record_out']))?$_REQUEST['record_out']:'On-Demand'),<br />
//array($account,'callerid',(isset($_REQUEST['description']))?$_REQUEST['description']." &lt;".$account.'&gt;':'device'." &lt;".$account.'&gt;')<br />
);<br />
}</p></blockquote>
</li>
<p><!--adsense--> </p>
<li>Look for the SIP Temporary Arrays, around line 2973 and add this value. We're not sure if it's required, but it works with it here so we left it.<br />
<blockquote><p>$tmparr['md5secret'] = array('value' =&gt; '', 'level' =&gt; 0);</p></blockquote>
</li>
<li>Exit and save the file</li>
<li>Refresh FreePBX Extension and you should now see md5secret available as an option. This field also appears on the add new sip extension page as well.</li>
</ol>
<p>You can download the modified functions.inc.php <a href="http://www.voipphreak.ca/wp-content/uploads/2007/11/functionsincphpnew.txt" title="functionsincphpnew.txt">by using this link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/11/19/hack-freepbx-and-asterisk-14-to-support-md5secret-for-cisco-and-other-sip-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreePBX Ubuntu Howto</title>
		<link>http://www.voipphreak.ca/2007/11/03/freepbx-ubuntu-howto/</link>
		<comments>http://www.voipphreak.ca/2007/11/03/freepbx-ubuntu-howto/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 19:15:14 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/488</guid>
		<description><![CDATA[Note, If you're looking for current information please see Free PBX Guide for the latest tutorial with updated information from what is located below. Free PBX Guide Hi Guys, With the help of one of my contractors (elisand.com), we've developed a little howto for FreePBX and Ubuntu. This should work on LTS and Regular versions [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong>Note, If you're looking for current information please see Free PBX Guide for the latest tutorial with updated information from what is located below.<br />
<a title="Free PBX Guide Download" href="http://www.free-pbx-guide.com">Free PBX Guide</a> </strong></p>
<p>Hi Guys,</p>
<p>With the help of one of my contractors (<a title="Eli Sand" href="http://www.elisand.com" target="_blank">elisand.com</a>), we've developed a little howto for FreePBX and Ubuntu. This should work on LTS and Regular versions of Ubuntu with minimal changes. We install all required software, asterisk 1.4 and FreePBX. It's been working for 2 of our clients without issue, so it was decided that it's time to post it up for the world.</p>
<p>In the interest of keeping it easy to read, I've decided to post it up as word format, and PDF documents. See below to download them.</p>
<ul>
<li><a title="FreePBX Ubuntu Doc - Word 2003 Format" href="http://www.voipphreak.ca/wp-content/uploads/2007/11/freepbx_ubuntu_howto.doc">FreePBX Ubuntu Doc - Word 2003 Format</a></li>
<li><a title="FreePBX Ubuntu Doc - Word 2007 Format" href="http://www.voipphreak.ca/wp-content/uploads/2007/11/freepbx_ubuntu_howto.docx">FreePBX Ubuntu Doc - Word 2007 Format</a></li>
<li><a title="FreePBX Ubuntu Doc - PDF Format" href="http://www.voipphreak.ca/wp-content/uploads/2007/11/freepbx_ubuntu_howto.pdf">FreePBX Ubuntu Doc - PDF Format</a></li>
<li><a title="FreePBX Ubuntu Doc - Asterisk Init File for Ubuntu" href="http://www.voipphreak.ca/wp-content/uploads/2007/11/asterisk.init">FreePBX Ubuntu Doc - Asterisk Init File for Ubuntu</a></li>
<li><a title="free voip pbx guide" href="http://www.free-pbx-guide.com">Download the Latest in PDF format from Free PBX Guide</a></li>
</ul>
<p>We hope this helps you as much as it has us. It's taken the time down from around 5-7 hours for the initial install when we created this document, to more like 30-40 minutes including compile time. Swanky!</p>
<p>Please comment below if you have any additions, flames, praise!</p>
<p style="text-align: center;"><strong>Note, If you're looking for current information please see Free PBX Guide for the latest tutorial with updated information from what is located below.<br />
<a title="Free PBX Guide Download" href="http://www.free-pbx-guide.com">Free PBX Guide</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/11/03/freepbx-ubuntu-howto/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Asterisk 1.4.5 SpanDSP Integration Howto</title>
		<link>http://www.voipphreak.ca/2007/06/24/asterisk-145-spandsp-integration-howto/</link>
		<comments>http://www.voipphreak.ca/2007/06/24/asterisk-145-spandsp-integration-howto/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 15:55:38 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/421</guid>
		<description><![CDATA[Here is a quick and dirty HowTo on getting SpanDSP to work with the latest editions of Asterisk 1.4. If you have any issues let me know in the comments and we'll get them sorted out. First we'll have to download the asterisk source from their site. # cd /usr/src # wget ftp://ftp1.digium.com/pub/asterisk/asterisk-1.4.5.tar.gz # tar [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick and dirty HowTo on getting <a href="http://www.soft-switch.org/downloads/spandsp/">SpanDSP</a> to work with the latest editions of Asterisk 1.4. If you have any issues let me know in the comments and we'll get them sorted out. </p>
<p>First we'll have to download the asterisk source from <a href="http://www.asterisk.org">their site</a>. </p>
<p><code># cd /usr/src<br />
# wget ftp://ftp1.digium.com/pub/asterisk/asterisk-1.4.5.tar.gz<br />
# tar xzvf asterisk-1.4.5.tar.gz</code></p>
<p>Now we'll have to grab the latest <a href="http://www.soft-switch.org/downloads/spandsp/">SpanDSP</a> from <a href="http://www.soft-switch.org/">Soft-Switch</a>. We'll also have to compile this and make sure no other <a href="http://www.soft-switch.org/downloads/spandsp/">SpanDSP</a> versions are available on our server. The paths may change if you are using <em><strong>/usr/local</strong></em> so edit the following commands appropriately. </p>
<p><!--adsense--></p>
<p><code># cd /usr/lib<br />
# rm -rf *spandsp*<br />
# cd /usr/include<br />
# rm -rf *spandsp*<br />
# cd /usr/src<br />
# wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.4pre3.tgz<br />
# tar xzvf spandsp-0.0.4pre3.tgz<br />
# cd spandsp-0.0.4pre3<br />
# ./configure &#038;& make &#038;& make install<br />
# ldconfig -v</code></p>
<p>Now that <a href="http://www.soft-switch.org/downloads/spandsp/">SpanDSP</a> has been compiled and installed, we can continue with the integration to Asterisk 1.4. </p>
<p>First we will need to copy the <em><strong>app_txfax.c</strong></em> and <em><strong>app_rxfax.c</strong></em> into the Asterisk Applications directory. This can be done like this:</p>
<p><code># cd /usr/src<br />
# cd asterisk-1.4.5<br />
# cd apps<br />
# wget http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.4/app_rxfax.c<br />
# wget http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.4/app_txfax.c<br />
# cd ..</code></p>
<p>Now we'll have to add the SpanDSP support to Asterisk in order to make use of these applications. I prefer to manually apply the patch file from Soft-Switch because it almost always fails. You can try either way you want. </p>
<p>Open up the patch file in a web browser so you can easily see what lines need to change, the patch file is located here</p>
<p><code>patch file: http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.4/asterisk.patch</code></p>
<p>Now we'll need to manually apply these lines. Assuming you know something about patch files it should be pretty easy for you to modify the files, I'll briefly outline what needs to be done below. </p>
<p>First, Make sure you are in the Asterisk source directory. </p>
<p><code># cd /usr/src/asterisk-1.4.5</code></p>
<p>Now, We'll have to modify the menuselect dependencies.</p>
<p><code># nano build_tools/menuselect-deps.in</code></p>
<p>Search for <em><strong>RADIUS=@PBX_RADIUS@</strong></em> and directly below this line put in the following new line</p>
<p><code>SPANDSP=@PBX_SPANDSP@</code></p>
<p>Exit and save the file. </p>
<p>Now you'll have to add a line to configure.ac</p>
<p><code># nano configure.ac</code></p>
<p>Search for <em><strong>AST_EXT_LIB_SETUP([RADIUS],</strong></em> and directly below this line, put this in</p>
<p><code>AST_EXT_LIB_SETUP([SPANDSP], [spandsp Library], [spandsp])</code></p>
<p>Now, in the same file (configure.ac) we also have to add another line. Search for <em><strong>AST_EXT_LIB_CHECK([RADIUS],</strong></em> and directly below this line, add the following all on one line:</p>
<p><code>AST_EXT_LIB_CHECK([SPANDSP], [spandsp], [fax_init], [spandsp.h], [-ltiff])</code></p>
<p>Exit and save the file. </p>
<p><!--adsense--></p>
<p>Now our last file to edit is the make options, which you can do like this</p>
<p><code># nano makeopts.in</code></p>
<p>Search for the line like this <em><strong>RADIUS_LIB=@RADIUS_LIB@</strong></em>, add this directly below it</p>
<p><code>SPANDSP_INCLUDE=@SPANDSP_INCLUDE@<br />
SPANDSP_LIB=@SPANDSP_LIB@</code></p>
<p>Exit and save the file. </p>
<p>Now we are almost ready to get the compiling going. But first, we have to copy the plc.h file to the Asterisk source so we won't get errors during compiling later on. You can do this as such:</p>
<p><code># cd /usr/src/asterisk-1.4.5<br />
# cd includes/asterisk<br />
# cp plc.h plc.h.backup<br />
# cp /usr/include/spandsp/plc.h .</code></p>
<p>Now because we've added new options to Asterisk, we'll have to bootstrap it</p>
<p><code># cd /usr/src/asterisk-1.4.5<br />
# ./bootstrap.sh</code></p>
<p>Now we re-run configure like the following, your options might be different</p>
<p><code># ./configure --with-netsnmp --with-ssl --with-spandsp </code></p>
<p><!--adsense--></p>
<p>Now we should go into the menuselect program to ensure that <em><strong>app_rxfax</strong></em> and <em><strong>app_txfax</strong></em> will be included when you compile Asterisk.</p>
<p><code># make menuselect</code></p>
<p>Ensure that both applications are selected under the Applications menu. Exit the menuselect utility by pressing "<strong><em>x</em></strong>" to save your changes if required. </p>
<p>Now we can continue with the regularly scheduled compiling of the program. </p>
<p># make<br />
# make install</p>
<p>You should have a brand new copy of <em><strong>app_txfax.so</strong></em> and <em><strong>app_rxfax.so</strong></em> located in <strong><em>/usr/lib/asterisk/modules</em> </strong></p>
<p>Note that you might have to add <strong><em>/usr/local/lib</em></strong> or <em><strong>/usr/lib</strong></em> to your <strong><em>ld.so.conf</em></strong> in <strong><em>/etc</em></strong> in order to make this work, once you add the  library path, re-run <strong><em>ldconfig</em></strong>, then try to start asterisk. </p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/06/24/asterisk-145-spandsp-integration-howto/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Small Asterisk-Addons 1.4 Chan OOH323 compilation howto</title>
		<link>http://www.voipphreak.ca/2007/06/24/small-asterisk-addons-14-chan-ooh323-compilation-howto/</link>
		<comments>http://www.voipphreak.ca/2007/06/24/small-asterisk-addons-14-chan-ooh323-compilation-howto/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 15:17:19 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/420</guid>
		<description><![CDATA[Today I was trying to upgrade to the latest Asterisk-Addons on my Asterisk server. I am using the 1.4 series (as you all should be by now) and the most current release of Gentoo Linux. Because Gentoo uses somewhat "unstable" software I have differing versions of libtool.m4 and ltmain.sh. In order to get around this [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to upgrade to the latest Asterisk-Addons on my Asterisk server. I am using the 1.4 series (<a href="http://www.asteriskvoipnews.com/asterisk_news/asterisk_release_maintenance_news.html">as you all should be by now</a>)<br />
and the most current release of Gentoo Linux. Because Gentoo uses somewhat "unstable" software I have differing versions of <em><strong>libtool.m4</strong></em> and <em><strong>ltmain.sh</strong></em>. In order to get around this I had to do the following</p>
<p><code># cd asterisk-addons-1.4.2<br />
# cd asterisk-ooh323c<br />
# nano configure</code><br />
<!--adsense#default--><br />
and then I had to hit control-w, and search for libtool.m4, once I found the section that it checked for this problem of the software being differing versions I commented it all out. Basically the whole section starting with the beginning <em><strong>if</strong></em> statement of the libtool check all the way to the bottom <em><strong>fi</strong></em> statement. </p>
<p>Next you'll need to compile the Asterisk-Addons package by doing the following:</p>
<p># cd ..<br />
# make<br />
<!--adsense#default--><br />
Notice that you will be presented with yet another error that it can't find the library file to copy for you when you try to issue the <em><strong>make install</strong></em> after compiling. This is a simple fix for now, just do this. </p>
<p><code># cd asterisk-addons-1.4.2<br />
# cd asterisk-ooh323c<br />
# cd .libs<br />
# cp libchan_h323.1.0.1 libchan_h323.so.1.0.1</code></p>
<p>Now you can continue with the installation by running this</p>
<p><code># cd ..<br />
# make install</code><br />
<!--adsense#default--><br />
That's it, you should now have chanooh323 available for your asterisk installation. If you have any difficulty let me know in the comments and I'll try and help. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/06/24/small-asterisk-addons-14-chan-ooh323-compilation-howto/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Asterisk, Cacti, SNMP howto updated for slackware and translated to portugese!</title>
		<link>http://www.voipphreak.ca/2007/05/09/asterisk-cacti-snmp-howto-updated-for-slackware-and-translated-to-portugese/</link>
		<comments>http://www.voipphreak.ca/2007/05/09/asterisk-cacti-snmp-howto-updated-for-slackware-and-translated-to-portugese/#comments</comments>
		<pubDate>Wed, 09 May 2007 21:49:26 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Howtos]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/408</guid>
		<description><![CDATA[Thanks to my good buddy Everton from Brazil, we've updated the SNMP Howto for Asterisk 1.4 with updated instructions for slackware. He's also been so kind to provide a pdf that's in portugese so all our non english speaking friends can read along as well. *NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to my good buddy Everton from Brazil, we've updated the <a href="http://www.voipphreak.ca/archives/382">SNMP Howto for Asterisk 1.4</a> with updated instructions for slackware. He's also been so kind to provide a pdf that's in portugese so all our non english speaking friends can read along as well.</p>
<p><strong>*NOTE* <a href="http://www.voipphreak.ca/2008/10/28/asterisk-snmp-with-cacti-howto-upgraded-for-asterisk-16-and-ubuntu/">UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT</a> *NOTE*</strong></p>
<p><!--adsense#default--></p>
<p><a title="Monitoring Asterisk - Slackware English" href="http://www.voipphreak.ca/wp-content/uploads/2007/05/monitoring_asterisk_with_snmp.pdf">Download the slackware + snmp + asterisk howto in english here</a></p>
<p><a title="Monitoring Asterisk - Slackware Portugese" href="http://www.voipphreak.ca/wp-content/uploads/2007/05/configuracao_monitoramento_asterisk_snmp.pdf">Download the slackware + snmp + asterisk howto in portugese here</a></p>
<p>Leave us any comments if you find omissions or errors.</p>
<p><strong>*NOTE* <a href="http://www.voipphreak.ca/2008/10/28/asterisk-snmp-with-cacti-howto-upgraded-for-asterisk-16-and-ubuntu/">UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT</a> *NOTE*</strong></p>
<p><!--adsense#default--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/05/09/asterisk-cacti-snmp-howto-updated-for-slackware-and-translated-to-portugese/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PfSense on a soekris instead of monowall notes</title>
		<link>http://www.voipphreak.ca/2007/04/23/pfsense-on-a-soekris-instead-of-monowall-notes/</link>
		<comments>http://www.voipphreak.ca/2007/04/23/pfsense-on-a-soekris-instead-of-monowall-notes/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 05:56:45 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk Tidbits]]></category>
		<category><![CDATA[Local]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/archives/391</guid>
		<description><![CDATA[Requirements: 1 - Soekris NET4801 1 - PfSense Embedded Image 1 - CF Reader 1 - Serial Cable for the soekris 1 - CF Card 256 MB The Steps I took: Backup your old Soekris / Monowall configuration xml file Buy a new CF card so we can keep the old configuration sane so it's [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Requirements:</strong></p>
<ul>
<li>1 - <a href="http://www.soekris.com/">Soekris</a> NET4801</li>
<li>1 - <a href="http://www.pfsense.com/">PfSense</a> Embedded Image</li>
<li>1 - CF Reader</li>
<li>1 - Serial Cable for the soekris</li>
<li>1 - CF Card 256 MB </li>
</ul>
<p><strong>The Steps I took:</strong></p>
<ol>
<li>Backup your old Soekris / <a href="http://m0n0.ch/wall/">Monowall</a> configuration xml file</li>
<li>Buy a new CF card so we can keep the old configuration sane so it's plug and play "back to working" incase pfsense doesn't work
<li>Plug your cf reader into one of your linux boxes, and do this with the image
<pre>

# zcat pfSense-1.0.1-Embedded.img.gz | dd of=/dev/sda bs=16k
</pre>
<p>where /dev/sda is your cf card as seen by the OS. If you are not using a linux box, you can check out the <a href="http://doc.pfsense.org/index.php/Installing_pfSense">howto's available at the following URL</a></li>
<li>Remove the CF card by unplugging the usb cable then the cf card. </li>
<li>Shutdown the Soekris, Remove the case and remove current CF Card, place aside</li>
<li>Place the new image card inside and then plug in your cables. </li>
<li>Connect serial cable to your linux box and set term to 9600 8N1. I use minicom. </li>
<li>Start up minicom on your linux box. </li>
<li>Plug in the Soekris</li>
<li>If it doesn't boot, you may have to set the bios to have the CF Card as primary.<br />
This note is thanks to the <a href="http://pfsense.blogspot.com/2005/04/note-about-soekris-4801s.html">pfsense digest</a></p>
<pre>

To do this enter the bios by pressing ctrl-p on boot and:

set flash=primary

reboot
</pre>
</li>
<li>Watch as it boots to make sure nothing is funky</li>
<li>Now you should see the configuration interface on your pfsense box, through minicom (the serial connection)</li>
<li>Setup the LAN and WAN interfaces</li>
<li>Connect to the LAN interface via a laptop, and configure the web interface</li>
<li>Remove laptop, plug into your switch, and you're good to go.</li>
</ol>
<p>I like pfsense. It's got a lot more options than m0n0wall, and while it's a little slower on my soekris 4801, it's still a great addition to my network :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2007/04/23/pfsense-on-a-soekris-instead-of-monowall-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.voipphreak.ca @ 2010-09-10 10:47:40 -->