<?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; Randomizing your voicemail greetings with Asterisk to annoy friends and family!</title>
	<atom:link href="http://www.voipphreak.ca/category/asterisk-12/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>Randomizing your voicemail greetings with Asterisk to annoy friends and family!</title>
		<link>http://www.voipphreak.ca/2009/04/20/randomizing-your-voicemail-greetings-with-asterisk-to-annoy-friends-and-family/</link>
		<comments>http://www.voipphreak.ca/2009/04/20/randomizing-your-voicemail-greetings-with-asterisk-to-annoy-friends-and-family/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 04:29:14 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk 1.2]]></category>
		<category><![CDATA[Asterisk 1.4]]></category>
		<category><![CDATA[Asterisk 1.6]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/?p=1246</guid>
		<description><![CDATA[Do you run Asterisk for your house as well as for your business? Have you ever wanted to play a random voicemail greeting to the house callers? Just so they aren't always hearing the same thing every time they call? Well, with this little trick you can do it very easily. First, find yourself some [...]]]></description>
			<content:encoded><![CDATA[<p>Do you run Asterisk for your house as well as for your business? Have you ever wanted to play a random voicemail greeting to the house callers? Just so they aren't always hearing the same thing every time they call? Well, with this little trick you can do it very easily.</p>
<p>First, find yourself some <a href="http://www.ilovewavs.com/comedy/AnsMach/AnsMach.htm" target="_blank">Funny Answering Machine messages</a> or other such thing that you want to rotate around. These will usually come in .wav or .mp3 format, which you'll have to convert, using information from voip-info on <a href="/var/spool/asterisk/random-vm/vmscript.sh" target="_blank">converting from wav to gsm for use with asterisk</a>.</p>
<p>After you've converted your files, you can follow these simple steps to get some random voicemail.</p>
<p>First, make a directory for your random voicemail gsm files</p>
<blockquote><p># mkdir /var/spool/asterisk/random-vm</p></blockquote>
<p>Now, copy all your gsm files to this directory</p>
<blockquote><p># mv /home/admin/*.gsm /var/spool/asterisk/random-vm</p></blockquote>
<p>Now, delete your old unavailable messages from your voicemail directory. In this case it's extension 7000, yours might differ.</p>
<blockquote><p># cd /var/spool/asterisk/voicemail/device/7000/<br />
# rm unavail.gsm unavail.wav unavail.WAV busy.gsm busy.wav busy.WAV</p></blockquote>
<p>Now, create a symlink from busy.gsm to unavail.gsm</p>
<blockquote><p># ln -s unavail.gsm busy.gsm</p></blockquote>
<p>Now you just need to setup a little script to randomize the voicemail greetings.</p>
<blockquote><p># cd /var/spool/asterisk/random-vm<br />
# nano vmscript.sh</p></blockquote>
<p>And using your favourite editor (nano for us.. yes, we're not that nerdy) paste the following in.</p>
<blockquote><p>#!/bin/sh</p>
<p># number of voicemails to rotate is 6 (0-5). Change to match yours.<br />
number=`expr $(date +%S) % 6`</p>
<p># remove the old voicemail message<br />
rm /var/spool/asterisk/voicemail/device/7000/unavail.gsm</p>
<p># link the unavailable message to one of the random ones, yo!<br />
ln -s /var/spool/asterisk/random-vm/unavail-$number.gsm /var/spool/asterisk/voicemail/device/7000/unavail.gsm</p>
<p># done!</p></blockquote>
<p>Now, exit and save the file. Remember to change the paths, and amount of voicemail greetings as required.</p>
<p>All you should have to do now, is change the permissions, and then add it to cron and you'll be set.</p>
<p>Change permissions like this</p>
<blockquote><p># chown -R asterisk:asterisk /var/spool/asterisk/random-vm<br />
# chmod +x /var/spool/asterisk/random-vm/vmscript.sh</p></blockquote>
<p>Add it to cron like this</p>
<blockquote><p># crontab -e</p></blockquote>
<p>then add the following line</p>
<blockquote><p># to rotate voicemail messages<br />
*/1 * * * * /var/spool/asterisk/random-vm/vmscript.sh</p></blockquote>
<p>Exit and save your crontab. Which will rotate them every minute. Obviously, if you get like 30 calls a minute you may run into trouble, but for a simple house line, this works great, and always keeps callers guessing!</p>
<p><strong>UPDATE</strong></p>
<p>turns out it wasn't fully randomizing the messages as I intended. To get this to work, simply change the script above from</p>
<blockquote><p>#!/bin/sh</p></blockquote>
<p>to</p>
<blockquote><p>#!/bin/bash</p></blockquote>
<p>and then change</p>
<blockquote><p>number=`expr $(date +%S) % 6`</p></blockquote>
<p>to</p>
<blockquote><p>number=$(($RANDOM % 6))</p></blockquote>
<p>Now it'll rotate as expected.</p>
<p><strong>UPDATE</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2009/04/20/randomizing-your-voicemail-greetings-with-asterisk-to-annoy-friends-and-family/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Asterisk 1.2.31.1, 1.4.22.2, 1.4.23.1,	and 1.6.0.5 released</title>
		<link>http://www.voipphreak.ca/2009/01/24/asterisk-12311-14222-14231and-1605-released/</link>
		<comments>http://www.voipphreak.ca/2009/01/24/asterisk-12311-14222-14231and-1605-released/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 05:38:41 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk 1.2]]></category>
		<category><![CDATA[Asterisk 1.4]]></category>
		<category><![CDATA[Asterisk 1.6]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/?p=1055</guid>
		<description><![CDATA[The Asterisk.org development team has announced the release of Asterisk 1.2.31.1, 1.4.22.2, 1.4.23.1, and 1.6.0.5. These releases are available for immediate download from http://downloads.digium.com/. This update for Asterisk includes a security fix for chan_iax2. Please see the associated security adivisory for more details: http://downloads.digium.com/pub/security/AST-2009-001.html These updates are a fix to a previous security release (released [...]]]></description>
			<content:encoded><![CDATA[<p>The Asterisk.org development team has announced the release of Asterisk 1.2.31.1, 1.4.22.2, 1.4.23.1, and 1.6.0.5. These releases are available for immediate download from <a href="http://downloads.digium.com/">http://downloads.digium.com/</a>.</p>
<p>This update for Asterisk includes a security fix for chan_iax2. Please see the associated security adivisory for more details:</p>
<p><a href="http://downloads.digium.com/pub/security/AST-2009-001.html">http://downloads.digium.com/pub/security/AST-2009-001.html</a></p>
<p>These updates are a fix to a previous security release (released as versions 1.2.31, 1.4.22.1, and 1.6.0.3).</p>
<p>The new versions are being released after additional testing revealed some issues with the way that scanning for users was blocked. Those issues have been corrected in this release.</p>
<p>This security issue affects the 1.2, 1.4, and 1.6 series of Asterisk.</p>
<p>Also note, that Asterisk 1.6.0.4-rc1 was released yesterday prior to the security update. That release has been removed as there will be no 1.6.0.4 release, but rather will be reincarnated as 1.6.0.6-rc1. The reason for the dead release is to avoid 5 digit release numbers.</p>
<p>ChangeLogs for the various releases are available at:</p>
<p><a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.2.31.1">http://downloads.digium.com/pub/asterisk/ChangeLog-1.2.31.1</a></p>
<p><a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.4.22.2">http://downloads.digium.com/pub/asterisk/ChangeLog-1.4.22.2</a></p>
<p><a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.4.23.1">http://downloads.digium.com/pub/asterisk/ChangeLog-1.4.23.1</a></p>
<p><a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.6.0.5">http://downloads.digium.com/pub/asterisk/ChangeLog-1.6.0.5</a></p>
<p>Thank you for your continued support of Asterisk!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2009/01/24/asterisk-12311-14222-14231and-1605-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk 1.2.31, 1.4.22.1, and 1.6.0.3 released</title>
		<link>http://www.voipphreak.ca/2009/01/08/asterisk-1231-14221-and-1603-released/</link>
		<comments>http://www.voipphreak.ca/2009/01/08/asterisk-1231-14221-and-1603-released/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 21:30:07 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk 1.2]]></category>
		<category><![CDATA[Asterisk 1.4]]></category>
		<category><![CDATA[Asterisk 1.6]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/?p=982</guid>
		<description><![CDATA[The Asterisk.org development team has announced the release of Asterisk 1.2.31, 1.4.22.1, and 1.6.0.3. These releases are available for immediate download from http://downloads.digium.com/. This update for Asterisk includes a security fix for chan_iax2. Please see the associated security adivisory for more details: http://downloads.digium.com/pub/security/AST-2009-001.html This security issue affects the 1.2, 1.4, and 1.6 series of Asterisk. [...]]]></description>
			<content:encoded><![CDATA[<p>The Asterisk.org development team has announced the release of Asterisk 1.2.31, 1.4.22.1, and 1.6.0.3. These releases are available for immediate download from <a href="http://downloads.digium.com/">http://downloads.digium.com/</a>.</p>
<p>This update for Asterisk includes a security fix for chan_iax2. Please see the associated security adivisory for more details:</p>
<p><a href="http://downloads.digium.com/pub/security/AST-2009-001.html">http://downloads.digium.com/pub/security/AST-2009-001.html</a></p>
<p>This security issue affects the 1.2, 1.4, and 1.6 series of Asterisk. Asterisk releases 1.2.31, and 1.4.22.1 only contain the security fix.</p>
<p>Asterisk release 1.6.0.3 has additional changes from 1.6.0.2, including a fix to the Makefile that caused menuselect to break in certain cases.</p>
<p>Also, some issues related to memory leaks and more appropriate SIP dialog responses when receiving 4XX messages have been fixed.</p>
<p>ChangeLogs for the various releases are available at:<a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.2.31"></p>
<p>http://downloads.digium.com/pub/asterisk/ChangeLog-1.2.31</a></p>
<p><a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.4.22.1">http://downloads.digium.com/pub/asterisk/ChangeLog-1.4.22.1</a></p>
<p><a href="http://downloads.digium.com/pub/asterisk/ChangeLog-1.6.0.3">http://downloads.digium.com/pub/asterisk/ChangeLog-1.6.0.3</a></p>
<p>Thank you for your continued support of Asterisk!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2009/01/08/asterisk-1231-14221-and-1603-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asterisk 1.2.30.4 released, fixing iax2 security bug.</title>
		<link>http://www.voipphreak.ca/2008/12/10/asterisk-12304-released-fixing-iax2-security-bug/</link>
		<comments>http://www.voipphreak.ca/2008/12/10/asterisk-12304-released-fixing-iax2-security-bug/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 01:43:35 +0000</pubDate>
		<dc:creator>Voip Phreak</dc:creator>
				<category><![CDATA[Asterisk 1.2]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.voipphreak.ca/?p=938</guid>
		<description><![CDATA[The Asterisk.org development team has released Asterisk version 1.2.30.4. This release is available for immediate download from http://downloads.digium.com/. This update for Asterisk includes a security fix for chan_iax2. Please see the associated security advisory for more details: http://downloads.digium.com/pub/security/AST-2008-012.pdf . This security issue affects only the 1.2 series. Thank you for your continued support of Asterisk!]]></description>
			<content:encoded><![CDATA[<p>The Asterisk.org development team has released Asterisk version 1.2.30.4.<br />
This release is available for immediate download from <a href="http://downloads.digium.com/">http://downloads.digium.com/</a>.</p>
<p>This update for Asterisk includes a security fix for chan_iax2.  Please see the associated security advisory for more details:<br />
<a href="http://downloads.digium.com/pub/security/AST-2008-012.pdf">http://downloads.digium.com/pub/security/AST-2008-012.pdf</a> .</p>
<p>This security issue affects only the 1.2 series.</p>
<p>Thank you for your continued support of Asterisk!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.voipphreak.ca/2008/12/10/asterisk-12304-released-fixing-iax2-security-bug/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-08 04:31:30 -->