<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Akom's Tech Ruminations - Asterisk</title>
    <link>http://tech.akom.net/</link>
    <description>Various tech outbursts - code and solutions to practical problems</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Tue, 15 Nov 2011 17:10:21 GMT</pubDate>

    <image>
        <url>http://tech.akom.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Akom's Tech Ruminations - Asterisk - Various tech outbursts - code and solutions to practical problems</title>
        <link>http://tech.akom.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Getting Meetme to work in Asterisk 1.6 on Ubuntu Lucid</title>
    <link>http://tech.akom.net/archives/70-Getting-Meetme-to-work-in-Asterisk-1.6-on-Ubuntu-Lucid.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/70-Getting-Meetme-to-work-in-Asterisk-1.6-on-Ubuntu-Lucid.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=70</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    I&#039;m assuming that you are attempting to use the Meetme() application and getting an error like this:
&lt;br/&gt;
&lt;blockquote&gt;WARNING[10695]: app_meetme.c:1097 build_conf: Unable to open pseudo device
&lt;/blockquote&gt;



It&#039;s rather simple: 
&lt;br/&gt;

&lt;blockquote&gt;&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;apt-get&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; dahdi dahdi-dkms dahdi-linux &amp;#160;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#I think dahdi may be enough&lt;/span&gt;&lt;br /&gt;$ &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; dahdi_dummy &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;etc&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;modules&lt;br /&gt;$ modprobe dadhi_dummy&lt;br /&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ls&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-l&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dahdi&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;pseudo&lt;br /&gt;crw-rw---- &lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; root dialout &lt;span style=&quot;color: #000000;&quot;&gt;196&lt;/span&gt;, &lt;span style=&quot;color: #000000;&quot;&gt;255&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;2011&lt;/span&gt;-&lt;span style=&quot;color: #000000;&quot;&gt;11&lt;/span&gt;-&lt;span style=&quot;color: #000000;&quot;&gt;15&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;11&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;26&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dahdi&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;pseudo&lt;br /&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;id&lt;/span&gt; asterisk&lt;br /&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;Should include &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;dialout&#039;&lt;/span&gt; group&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;

&lt;br/&gt;
Yay!  Apparently in Asterisk 1.6 the timing source for the Meetme application is no longer ztdummy (fortunately I was unable to use &lt;strong&gt;m-a&lt;/strong&gt; to compile zaptel) but rather relies on &lt;strong&gt;DAHDI&lt;/strong&gt;, not only for timing but for conference mixing  - see &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/&#039;]);&quot;  href=&quot;http://www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/&quot;&gt;http://www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/&lt;/a&gt;

 
    </content:encoded>

    <pubDate>Tue, 15 Nov 2011 11:57:19 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/70-guid.html</guid>
    
</item>
<item>
    <title>Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds</title>
    <link>http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=57</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    One of my asterisk setups got attacked recently by a brute force script kiddie.   The attack is simple:

&lt;ol&gt;
 &lt;li&gt;Try sequential sip usernames from 1 to 10000, hoping that the admin chose a numeric username scheme&lt;/li&gt;
 &lt;li&gt;If asterisk returns anything but a 401, then perhaps this is a real account, add it to the list&lt;/li&gt;
 &lt;li&gt;If anything is on the list of &quot;possibles&quot;, then brute force their passwords&lt;/li&gt;
&lt;/ol&gt;

&lt;br/&gt;&lt;br/&gt;

&lt;strong&gt;Why this works:&lt;/strong&gt;

&lt;ul&gt;
 &lt;li&gt;Asterisk has no delay for failed logins, so a brute force attack is viable, hundreds of attempts per second are possible.  Not sure what can be done about this&lt;/li&gt;
 &lt;li&gt;The admin didn&#039;t set &lt;b&gt;alwaysauthreject = yes&lt;/b&gt; in sip.conf.  It&#039;s off by default, why???  With this enabled, there is no way to tell if a username is valid from the reject response&lt;/li&gt;
&lt;/ul&gt;

&lt;br/&gt;&lt;br/&gt;

&lt;strong&gt;To deal with this:&lt;/strong&gt; &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html#extended&quot;&gt;Continue reading &quot;Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 05 Oct 2010 11:31:14 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/57-guid.html</guid>
    
</item>
<item>
    <title>My Not So Great Experience with Grandstream HT-502 ATA</title>
    <link>http://tech.akom.net/archives/34-My-Not-So-Great-Experience-with-Grandstream-HT-502-ATA.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/34-My-Not-So-Great-Experience-with-Grandstream-HT-502-ATA.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    I got 3 of these &lt;strong&gt;Grandstream HT-502&lt;/strong&gt;&#039;s for a client&#039;s Asterisk setup, and I picked Grandstream basically because they were cheap (client on a budget) and I found no bad reviews.  They were ordered February 2009.

&lt;br/&gt;&lt;br/&gt;
First impressions:  They are tiny, like two EZ-Passes stacked on top of each other.  They are cute, and have all the features you&#039;d expect or even desire in such a device:  Dual WAN (routed or bridged, with port forwarding), two FXS ports, some status LEDs, remote configuration and pull provisioning, syslog support, etc.

&lt;br/&gt;&lt;br/&gt;
Well that was the good news... &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/34-My-Not-So-Great-Experience-with-Grandstream-HT-502-ATA.html#extended&quot;&gt;Continue reading &quot;My Not So Great Experience with Grandstream HT-502 ATA&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 13 Mar 2009 09:41:32 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/34-guid.html</guid>
    
</item>
<item>
    <title>Data Warehousing and Metrics with Asterisk PBX</title>
    <link>http://tech.akom.net/archives/32-Data-Warehousing-and-Metrics-with-Asterisk-PBX.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/32-Data-Warehousing-and-Metrics-with-Asterisk-PBX.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    An &lt;strong&gt;Asterisk&lt;/strong&gt; installation I am doing for a client has the promise of two interesting developments in the near future:  

&lt;br/&gt;&lt;br/&gt;
&lt;ol&gt;&lt;li&gt;Writing a CDR/Voicemail status-tracking application that makes sure that all client voicemails are handled within one hour and keeps track of what was done&lt;/li&gt;&lt;li&gt;A future custom metrics/data warehouse implementation that will use both the &lt;strong&gt;CDR&lt;/strong&gt; and &lt;strong&gt;VoiceMail&lt;/strong&gt; data&lt;/li&gt;&lt;/ol&gt;

&lt;br/&gt;

With that in mind (and the fact that I&#039;m using Mysql master-master replication across offices) I looked into storing the voicemails in the database as well.  This is fairly &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.voip-info.org/wiki/view/Asterisk+Voicemail+ODBC+storage&#039;]);&quot;  href=&quot;http://www.voip-info.org/wiki/view/Asterisk+Voicemail+ODBC+storage&quot; title=&quot;ODBC Storage for Voicemail&quot;&gt;well-documented&lt;/a&gt;.   I had this up and running in no time, and now for each voicemail I have a neat row in my MySQL table.  

&lt;br/&gt;&lt;br/&gt;
The problem is - &lt;strong&gt;&lt;em&gt;&lt;font size=&quot;+1&quot;&gt;how do I connect the row in CDR table to the matching voicemail row&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt;?  There are no columns that have data to allow you to do match one to the other.  Even timestamps, if you were so desperate, are not exactly the same!  So this is how I did it. &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/32-Data-Warehousing-and-Metrics-with-Asterisk-PBX.html#extended&quot;&gt;Continue reading &quot;Data Warehousing and Metrics with Asterisk PBX&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 01 Feb 2009 21:00:37 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/32-guid.html</guid>
    
</item>
<item>
    <title>Teaching your Asterisk phone system to control your music</title>
    <link>http://tech.akom.net/archives/30-Teaching-your-Asterisk-phone-system-to-control-your-music.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/30-Teaching-your-Asterisk-phone-system-to-control-your-music.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=30</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=30</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    &lt;!-- s9ymdb:99 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;40&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://tech.akom.net/uploads/diagrams/asterisk-plus-mpd.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;

Ever since I built my Asterisk-based &lt;strong&gt;VOIP phone system&lt;/strong&gt; I&#039;ve been finding more and more interesting ways to put it to work.  I mean, it&#039;s a business phone server, but it&#039;s got plenty of resources as it sits around waiting for a phone call.  So I figured... why not be able to pick up the nearest phone, dial an extension, and be able to &lt;strong&gt;stop/start/skip my whole-house music&lt;/strong&gt;?  How about doing this from anywhere?  OK this may seem odd to you, but you&#039;d be surprised how often it saves you from having to get up and go find the remote or having to wake up a computer &lt;img src=&quot;http://tech.akom.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;.   OK you&#039;re not convinced that this is very useful.  How about pausing music for a phone call?  Automatically?

&lt;br/&gt;&lt;br/&gt;

For those who don&#039;t know, &lt;strong&gt;Asterisk&lt;/strong&gt; is a open source (and free) software PBX system.  You know, the thing that IP phones connect to (you know, that little box you got from Vonage - it connects to something - well in my house, it connects to my server).  It provides call routing and management, voicemail, IVR (menus), etc.  In short, it&#039;s awesome.   I mean, yeah, it&#039;s a little unintuitive at first, but it&#039;s not that complicated once you loosen up your old fixed programmatic thinking a little &lt;img src=&quot;http://tech.akom.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;

&lt;br/&gt;&lt;br/&gt;

So, here is the setup. &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/30-Teaching-your-Asterisk-phone-system-to-control-your-music.html#extended&quot;&gt;Continue reading &quot;Teaching your Asterisk phone system to control your music&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 17 Jan 2009 20:05:48 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/30-guid.html</guid>
    
</item>

</channel>
</rss>
