<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>asterisk &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/asterisk/</link>
	<description>Feed of posts on WordPress.com tagged "asterisk"</description>
	<pubDate>Sat, 28 Nov 2009 21:01:16 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[I'm glad I understood the context of that statement, otherwise it would seem much dirtier.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/28/im-glad-i-understood-the-context-of-that-statement-otherwise-it-would-seem-much-dirtier/</link>
<pubDate>Sat, 28 Nov 2009 18:41:39 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/28/im-glad-i-understood-the-context-of-that-statement-otherwise-it-would-seem-much-dirtier/</guid>
<description><![CDATA[This Thanksgiving was one of the best Thanksgivings I&#8217;ve had in a very, very long time. Since ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This Thanksgiving was one of the best Thanksgivings I&#8217;ve had in a very, very long time. Since the days that the whole family use to be together, and we&#8217;d play spy, or Mike, Dan and Ben would talk about girls and pat my head and say &#8216;when you&#8217;re older&#8217;. I miss my cousins, but Robin and John, their kids Dan and Alex, and of course Adury&#8211;but not so much her&#8211;are becoming family. There&#8217;s no seriousness, there&#8217;s no stifled laughter, it&#8217;s all&#8230;</p>
<p>Easy. Everyone talking at once, and I feel like I&#8217;m home. Will simply would not sit down for the life of him. Constantly getting up to help serve everyone, acting more like the woman than I was. And boy was there so much to eat, that the both of us were full a day later. Turkey, stuffing, sweet potato pie, mushrooms&#8211;oh lord, I can&#8217;t even go on, it was so mouth watering good. And the lasagna&#8230; Oh my <em>god</em>. Liz dropped the first batch on the floor&#8211;and everyone clapped. It&#8217;s not a Thanksgiving, they said, if you don&#8217;t drop something. Thankfully she made two. I would have died I couldn&#8217;t have had any. Ahaha.</p>
<p>The traditions have changed, and I had assumed all families were the same. Instead of sports being on, it was video games, and let me tell you I enjoyed the video games a whole lot more. Though secretly I miss the sports being on it the background. But this new life&#8230; it&#8217;s more lively and full of energy. And Lu was there! And the stories she had to tell got me laughing so hard.</p>
<p>And then Black Friday came. And I, claiming I didn&#8217;t want anything to do with it, turned to Will with big eyes and pleaded we go out. Luck he loves me, he said turning off FF9. He bought, surprise surprise Video Games, and got me a new wallet. I&#8217;m so pleased with it. Ahaha&#8230;</p>
<p>I wanna get closer to Jessie, but I&#8217;m unsure as to how to go about that. We&#8217;re like family, aren&#8217;t we? And Laura assures me that Jessie loves me. He asks about me all the time, she says. So there. He has a similar sense of humor as I do, and well. I dunno what or how to go about it.</p>
<p>Driving is much more fun than I had thought it would be. I guess I like it more since I&#8217;m alone, and I don&#8217;t have anyone judging me in the seat next to mine. Though I still drift to the shoulder. I tend to do that a lot. Eh.</p>
<p>My legs are getting worse. I can mind the pain while drivng, and while walking, but now they hurt when I lay down or sit. Just&#8230; they hurt. They burn. It&#8217;s usually my right leg/ankle that&#8217;s the biggest problem. I don&#8217;t know what to do about it. And I&#8217;m not so keen on getting more medication. And more, my week-long headaches are back. I mean, they use to be a lot worse than they are now, so I don&#8217;t really mind them as much, it&#8217;s just annoying.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Più servers Asterisk, un unico centralino]]></title>
<link>http://chrisbware.wordpress.com/2009/11/27/piu-asterisk-un-unico-centralino/</link>
<pubDate>Fri, 27 Nov 2009 16:28:54 +0000</pubDate>
<dc:creator>chrisbware</dc:creator>
<guid>http://chrisbware.wordpress.com/2009/11/27/piu-asterisk-un-unico-centralino/</guid>
<description><![CDATA[Tra i file di configurazione di Asterisk, vincono a pari merito la il premio per i più inutilizzati ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Tra i file di configurazione di Asterisk, vincono a pari merito la il premio per i più inutilizzati extensions.ael e dundi.conf. La comunità degli utilizzatori del famoso IPPBX non sembra aver apprezzato lo sforzo di Mark Spencer e soci nel creare qualcosa di più dei soliti servizi. Eppure si tratta di due funzionalità molto potenti che semplificherebbero di molto la vita dei progettatori. Di AEL abbiamo già parlato in un precedente post, oggi volevo parlarvi dei miei esperimenti con DUNDi.</p>
<p>A cosa serve questo nuovo protocollo della premiata ditta Digium? A fare quello che tutti i progettatori di reti VoIP basate su Asterisk chiedevano da anni, anche se, quando la soluzione è arrivata nessuno se ne accorto. Con DUNDi è possibile condividere i piani di numerazione di macchine diverse, senza dover ricreare gli interni su ciascuna macchina. L&#8217;uovo di colombo è questo protocollo cifrato che interroga i vari servers alla ricerca dell&#8217;interno cercato, ricevendo come risposta l&#8217;indirizzo esatto a cui sparare la chiamata, sempre se esiste. La tecnica non è innovativa, dato che viene usata da tutti i principali software per il peer2peer ma unita alle qualità di Asterisk, fornisce un qualcosa di rivoluzionario.</p>
<p>Com&#8217;è ormai usanza di questo blog, voglio mostrarvi un semplice esempio applicativo. A tale proposito supponiamo di avere due aziende, la <em>Acme Corporation</em> e la <em>Experience Ltd</em>, dotate entrambi del loro bel Asterisk Server, con connesso un flusso primario dal quale ricevono e fanno chiamate. Ad un certo punto la Acme compra la Experience e le due aziend econdividono la stessa rete. Gli amministratori decidono di unificare i centralini per non passare dalla rete telefonica nazionale, quando la chiamata è da un interno di un&#8217;azienda all&#8217;altra. Le due macchine sono così fatte:</p>
<p>Asterisk <em>Acme</em> :                   IP address 192.168.1.10                   MAC Address: 11:11:11:11</p>
<p>Asterisk <em>Experience</em> :          IP address 192.168.2.10                   MAC Address: 22:22:22:22</p>
<p>Si decide di creare un link DUNDì tra le due, cosa fattibile in pochi semplici passi.</p>
<p><span style="text-decoration:underline;">Generazione delle chiavi pubbliche e private</span></p>
<p>In Asterisk <em>Acme</em>, sotto il path /var/lib/asterisk/keys digitare:</p>
<pre>astgenkey -n Acme</pre>
<p>verranno generati due files, Acme.key e Acme.pub . Acme.pub deve essere copiato nella stessa sottodirectory nel server Asterisk <em>Experience</em>. La stessa operazione andrà eseguita, in verso opposto, sostituendo &#8220;Experience&#8221; nel comando astgenkey, nell&#8217;Asterisk di Experience Ltd.</p>
<p><span style="text-decoration:underline;">DUNDi.conf</span></p>
<p>A questo punto bisogna configurare il DUNDi, dichiarando le altre macchine che compongono il mega centralino. Nel nostro caso è facile perché sono solo due, ma il principio è lo stesso anche per molte macchine.</p>
<p>Nella prima sezione del file dundi.conf si dichiarano informazioni sulla collocazione della macchina locale e sul criterio di interrogazione delle altre macchine. Per il server Acme sarà:</p>
<pre>[general]
organization= Acme Corporation
locality= Zona indistriale
stateprov= Milano
country=It
email=amministratore@acme.com
phone=+39.0255.144.915
bindaddr=0.0.0.0
port=4520
entityid=11:11:11:11  ; Per convenzione il MAC del server
cachetime=3600
ttl=5                 ; 2000 + ttl * 200 = 3000ms di attesa massima per le query DUNDi
autokill=yes
secretpath=dundi
storehistory=no</pre>
<p>Segue poi una sezione in cui si dichiarano i criteri di ricerca degli interni nelle altre macchine e nella macchina locale. Sparo la parte di configurazione e poi l&#8217;analizzo:</p>
<pre>[mappings]
priv =&#62; ext-condivise,0,IAX2,priv:${SECRET}@192.168.1.10/${NUMBER},nopartial</pre>
<p>Il canale di ricerca DUNDi si chiama <em>priv</em>. E&#8217; uno solo ma se ne possono avere quanti se ne vuole. Se una macchina esterna interroga questo server alla ricerca di un interno, si deve controllare un contesto del file extensions.conf chiamato [ext-condivise] per avere una risposta. E&#8217; quindi possibile condividere solo gli interni che si vuole, vedremo poi come. Se l&#8217;interno che l&#8217;altro server cerca esiste, questo è contattabile in IAX sparando la chiamata al contesto IAX che si chiama <em>priv</em>. Esiste quindi un contesto IAX che accetta chiamate con autenticazione criptata, che accede ai contesti extensions di questa macchina.</p>
<p>L&#8217;ultima parte di questo file di configurazione è la dichiarazione dei servers che compongono il mega centralino. Si avranno tante sezioni come quella che segue. Nel nostro caso è solo una perché si ha un solo server da controllare, oltre il locale.</p>
<pre>[22:22:22:22] ; MAC address del server Experience
model = symmetric
host = 192.168.2.10 ; IP del server Experience
inkey = Experience
outkey = Acme
include = priv
permit = priv
qualify = yes
order = primary</pre>
<p>Et voila, il file dundi.conf è servito. Da notare che abbiamo citato parti dell&#8217;extensions.conf e dello iax.conf che dobbiamo andare a creare. Per la macchina Experience, il file dundi.conf sarà esattamente simmetrico, apportando le giuste modifiche.</p>
<p><span style="text-decoration:underline;">IAX.conf</span></p>
<p>La parte IAX è forse la più semplice. Inanzi tutto è bene specificare che si poteva usare anche il SIP o l&#8217;H323 come protocollo, ma in Asterisk tutto è più semplice usando IAX per il trunking. Si tratta di creare un contesto per accettare le chiamate dagli altri server sulla base di un&#8217;autenticazione del tipo chiave pubblica/chiave privata ( a questo servono i file creati al primo step).</p>
<pre>[general]
bindport = 4569        
bindaddr = 0.0.0.0   
disallow=all
allow=alaw
allow=gsm
mailboxdetail=yes

[priv]
type=friend
dbsecret=dundi/secret
context=incoming-dundi</pre>
<p>La prima parte è un semplice contesto general di iax.conf. Nella seconda si dice che si accettano chiamate nel contesto <em>[priv] , </em>l&#8217;autenticazione usa il dbsecret del DUNDi e il contesto in extensions.conf che gestisce la chiamata si chiama [incoming-dundi]. Il dbsecret del DUNDi è un campo del DB interno Asterisk che viene continuamente modificato dal processo DUNDi secondo le chiavi segrete locali e pubbliche remote. Questo iax.conf può essere copiato pari pari nella macchina Experience, oppure basta aggiungere il contesto [priv].</p>
<p><span style="text-decoration:underline;">Extensions.conf</span></p>
<p>Per finire l&#8217;opera bisogna popolare il file extensions.conf con tutti i contesti definiti nei precedenti files. Devo premettere che ho implementato questa soluzione tra due macchine con Freepbx , quindi non ho toccato extensions.conf, bensì extensions_custom.conf, ma la sostanza non cambia. Per prima cosa si crea un contesto dove si mostrano i numeri condivisi, come segue:</p>
<pre>[ext-condivise]
exten =&#62; 0211144947,1,NoOp
exten =&#62; 0211144945,1,NoOp
exten =&#62; 0211144939,1,NoOp</pre>
<p>Ho scelto di pubblicare i numeri esterni del centralino e non gli effettivi interni, perché volevo che le chiamate in arrivo dall&#8217;altro centralino fossero trattate come quelle in arrivo dalla Rete Telefonica. Così l&#8217;operatore di Experience che era abituato a fare il numero pubblico di un collega Acme, non si accorgerà del passaggio. Un interno è pubblicato e visibile agli altri server se si trova in questo contesto. Poi si crea il contesto che gestisce le chiamate in arrivo dal trunk iax:</p>
<pre>[incoming-dundi]
include =&#62; from-trunk
</pre>
<p>Sempre perché lavoro su freepbx, ho incluso il context from-trunk, dove la chiamata viene trattata come se arrivasse dalla PSTN. Quando l&#8217;operatore Experience chiama il numero del collega Acme, il DUNDi fa un&#8217;interrogazione criptata sul contesto [ext-condivise] cercando il numero chiamato e, se lo trova, spara la chiamata sul trunk iax che la fa gestire dal contesto [incoming-dundi]. Sembra complicato ma ha una logica lapalissiana.</p>
<p>A questo punto manca solo un contestino per fare le query nell&#8217;altro verso: dalla macchina Acme a quella Experience. Segue lo striminzito contesto:</p>
<pre>[lookupdundi]
switch =&#62; DUNDi/priv</pre>
<p>Switch è l&#8217;extension che scatena la query usando il protocollo DUNDi sul contesto DUNDi chiamato [priv]. That&#8217;s all folks a livello di files di configurazione. Su Freepbx ho dovuto creare un trunk custom per sparare le chiamate prima sul DUNDi e poi, se non esisteva il chiamato sull&#8217;altro server, sulla rete telefonica pubblica.</p>
<p>&#160;</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Update: Asterisk TFoT v3 Progressing Nicely]]></title>
<link>http://leifmadsen.wordpress.com/2009/11/27/update-asterisk-tfot-v3-progressing-nicely/</link>
<pubDate>Fri, 27 Nov 2009 13:27:22 +0000</pubDate>
<dc:creator>Leif Madsen</dc:creator>
<guid>http://leifmadsen.wordpress.com/2009/11/27/update-asterisk-tfot-v3-progressing-nicely/</guid>
<description><![CDATA[Jim and I have been working feverishly for the past few days, and the only thing that can cure it is]]></description>
<content:encoded><![CDATA[Jim and I have been working feverishly for the past few days, and the only thing that can cure it is]]></content:encoded>
</item>
<item>
<title><![CDATA[All these words that we speak casually]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/26/all-these-words-that-we-speak-casually/</link>
<pubDate>Thu, 26 Nov 2009 15:17:24 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/26/all-these-words-that-we-speak-casually/</guid>
<description><![CDATA[There&#8217;s always drama before/during holidays, a sort of bad luck thing that I tend to skip away]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>There&#8217;s always drama before/during holidays, a sort of bad luck thing that I tend to skip away from. Last year there was two sets of drama on the same day, on Thanksgiving, and now last night, a night before thanksgiving. I just don&#8217;t like Thanksgiving&#8211;what the hell do I have to be thankful for? I suppose a lot of things, but not anything I really want to admit to or share. Plus, I really don&#8217;t like my family. Or do I? It depends on my mood and how I want to present myself. Fern I love, my cousins&#8211;well, I do, but I&#8217;m annoyed with them. Who thought I&#8217;d ever carry a grudge?</p>
<p>&#160;</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[It all will fall, fall right into place.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/25/it-all-will-fall-fall-right-into-place/</link>
<pubDate>Wed, 25 Nov 2009 19:26:58 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/25/it-all-will-fall-fall-right-into-place/</guid>
<description><![CDATA[You feel The force of nature We touch And something charges It&#8217;s something that&#8217;s overwh]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>You feel<br />
The force of nature<br />
We touch<br />
And something charges</em></p>
<p>It&#8217;s something that&#8217;s overwhelming and I feel completely abandoned, though it&#8217;s something I could fix if only my mind didn&#8217;t spin tales. And all I want is to curl up and cry. And cry. And cry.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[VOIP / Asterisk mengaktifkan video call dengan Xlite client]]></title>
<link>http://setijoagus.wordpress.com/2009/11/24/voip-asterisk-mengaktifkan-video-call-dengan-xlite-client/</link>
<pubDate>Tue, 24 Nov 2009 06:24:25 +0000</pubDate>
<dc:creator>setijoagus</dc:creator>
<guid>http://setijoagus.wordpress.com/2009/11/24/voip-asterisk-mengaktifkan-video-call-dengan-xlite-client/</guid>
<description><![CDATA[1. Tambahkan pada file /etc/sip.conf,  setelah general [general] videosupport=yes allow=h263 2. Jala]]></description>
<content:encoded><![CDATA[1. Tambahkan pada file /etc/sip.conf,  setelah general [general] videosupport=yes allow=h263 2. Jala]]></content:encoded>
</item>
<item>
<title><![CDATA[Starting work on Asterisk: TFoT 3rd edition]]></title>
<link>http://leifmadsen.wordpress.com/2009/11/23/starting-work-on-asterisk-tfot-3rd-edition/</link>
<pubDate>Mon, 23 Nov 2009 14:03:35 +0000</pubDate>
<dc:creator>Leif Madsen</dc:creator>
<guid>http://leifmadsen.wordpress.com/2009/11/23/starting-work-on-asterisk-tfot-3rd-edition/</guid>
<description><![CDATA[As many of you know, I&#8217;m a co-author of Asterisk: The Future of Telephony. While my girlfriend]]></description>
<content:encoded><![CDATA[As many of you know, I&#8217;m a co-author of Asterisk: The Future of Telephony. While my girlfriend]]></content:encoded>
</item>
<item>
<title><![CDATA[Asterisk CDR in MySQL]]></title>
<link>http://sysbrain.wordpress.com/2009/11/23/asterisk-cdr-in-mysql/</link>
<pubDate>Mon, 23 Nov 2009 08:35:11 +0000</pubDate>
<dc:creator>Jabi</dc:creator>
<guid>http://sysbrain.wordpress.com/2009/11/23/asterisk-cdr-in-mysql/</guid>
<description><![CDATA[Install Mysql Server and MysqlClient apt-get install php5-mysql mysql-client-5.0 mysql-client libmys]]></description>
<content:encoded><![CDATA[Install Mysql Server and MysqlClient apt-get install php5-mysql mysql-client-5.0 mysql-client libmys]]></content:encoded>
</item>
<item>
<title><![CDATA[Jim van Meggelen, Open Source Telephony Renaissance Man]]></title>
<link>http://leifmadsen.wordpress.com/2009/11/21/jim-van-meggelen-open-source-telephony-renaissance-man/</link>
<pubDate>Sat, 21 Nov 2009 15:04:26 +0000</pubDate>
<dc:creator>Leif Madsen</dc:creator>
<guid>http://leifmadsen.wordpress.com/2009/11/21/jim-van-meggelen-open-source-telephony-renaissance-man/</guid>
<description><![CDATA[In case you missed it, Suzanne Bowen of DIDX recently interviewed co-author of Asterisk: The Future ]]></description>
<content:encoded><![CDATA[In case you missed it, Suzanne Bowen of DIDX recently interviewed co-author of Asterisk: The Future ]]></content:encoded>
</item>
<item>
<title><![CDATA[iLBC vs g729 -- The quick guide to using compressed codecs in Elastix]]></title>
<link>http://chillingsilence.wordpress.com/2009/11/21/ilbc-vs-g729-the-quick-guide-to-using-compressed-codecs-in-elastix/</link>
<pubDate>Sat, 21 Nov 2009 04:00:41 +0000</pubDate>
<dc:creator>chillingsilence</dc:creator>
<guid>http://chillingsilence.wordpress.com/2009/11/21/ilbc-vs-g729-the-quick-guide-to-using-compressed-codecs-in-elastix/</guid>
<description><![CDATA[We all know that g711 (alaw / ulaw) is meant to sound the best. It&#8217;s uncompressed and equivale]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>We all know that g711 (alaw / ulaw) is meant to sound the best. It&#8217;s uncompressed and equivalent quality to ISDN, which most businesses are used to with their traditional PABX System.</p>
<p>However, it comes at a price, 64kbps + overheads means around <a title="Asterisk Bandwidth Calc" href="http://site.asteriskguide.com/bandcalc/bandcalc.php" target="_blank">111kbps</a> when you factor in everything else over an ADSL PPPoA / PPPoE connection.</p>
<p>Now that&#8217;s a LOT when you think about it, considering on a standard ADSL2+ line you&#8217;re going to max out at around 5-7 SIP lines, especially if it&#8217;s a shared connection. This is where a compressed codec such as (My personal favorite) iLBC, or g729, can be incredibly cost effective, as you can load up around 15-20 on the same sort of bandwidth. When you&#8217;re a small business, that means with the right kind of QoS, you can share your ADSL Broadband connection and still have 5-10 concurrent phone calls, all happily living together.</p>
<p>So do away with expensive BRI interfaces and monthly charges, and go SIP!</p>
<p>We&#8217;re going to look at a few things very briefly:</p>
<p>1) MOS &#8211; What is it and why do I care?</p>
<p>2) Which codec is right for me?</p>
<p>3) g729 &#8211; Installation</p>
<p>4) iLBC &#8211; Installation</p>
<p>5) Trunk and Extension setup</p>
<p>6) Testing the codecs</p>
<p><!--more--></p>
<p style="text-align:center;"><strong>1) MOS &#8211; What is it and why do I care?</strong></p>
<p style="text-align:left;">MOS stands for &#8220;<a title="Wikipedia MOS article" href="http://en.wikipedia.org/wiki/Mean_Opinion_Score" target="_blank">Mean Opinion Score</a>&#8220;, and in a nutshell it&#8217;s a way of determining out of 5 how good a particular codec (Read: Phone call) will sound. The Wikipedia article is a good overview of MOS, each codecs ratings, and some phrases you can use to test the compression yourself and see if words become difficult to understand.</p>
<p style="text-align:left;">Now, we all want a nice good MOS, because at the end of the day if you&#8217;re using a PBX system, there&#8217;s nothing worse than it sounding like a VoIPBuster call to some exotic island. Personally I aim for higher quality, this is why iLBC stands out well for me. That said, the choice is yours, try a few out and see what sound you personally (And quite possibly the person who writes your paycheck) are happy with.</p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:center;"><strong>2) Which codec is right for me?</strong></p>
<p style="text-align:left;">Well that is a very good question, and that&#8217;s something that you&#8217;re going to have to answer for yourself. Lets look at some of the benefits of each:</p>
<table style="text-align:center;" border="1" cellspacing="1" cellpadding="2" width="600">
<tbody>
<tr>
<th scope="row">iLBC Pros</th>
<th scope="row">iLBC Cons</th>
<th scope="row">g729 Pros</th>
<th scope="row">g729 Cons</th>
</tr>
<tr>
<td>Free!</td>
<td>Generally installed from Source code</td>
<td>Most physical devices support it</td>
<td>Costs $ per-channel</td>
</tr>
<tr>
<td>Better MOS than g729</td>
<td>&#8220;Interesting&#8221; license</td>
<td>Requires less CPU than iLBC for encoding / decoding<br />
(Good for low-powered or highly loaded PBXs)</td>
<td>Not many free Softphones support g729</td>
</tr>
<tr>
<td>Handles packet loss better than g729 &#38; g711</td>
<td>Less physical devices support it than g729</td>
<td>More common than iLBC</td>
<td>Easier to pick up the compression vs iLBC</td>
</tr>
<tr>
<td>Many open-source softphones support it</td>
<td></td>
<td></td>
<td>Many different version</td>
</tr>
</tbody>
</table>
<p style="text-align:left;">It&#8217;s not difficult to see there could be benefits for either. If you&#8217;re looking for low-cost deployment, or over a shaky ADSL connection you can&#8217;t seem to QoS well (Or perhaps Wireless?) then iLBC is probably the way to go. If you&#8217;re doing a larger installation, or an installation for a customer then it&#8217;s worth investigating g729, especially if you&#8217;re running underpowered hardware or have a large number of Exts or lots of expected concurrent calls.</p>
<p style="text-align:left;">Please keep in mind that you do not have to stick with just one codec, feel free to mix and match box on a per-customer level, or on a per-machine level also.</p>
<p style="text-align:left;">
<p style="text-align:center;">
<p style="text-align:center;"><strong>3) g729 &#8211; Installation</strong></p>
<p style="text-align:left;">OK so I&#8217;m going to cheat here and direct you to Digium. Yes, there are &#8220;free&#8221; binaries out there, but at the price of $10 per-channel surely it&#8217;s not that expensive if you&#8217;re going to add it to your PBX&#8217;s you deploy.</p>
<p style="text-align:left;">Anyway if you&#8217;re downloading a &#8220;free&#8221; version, simply pop it in /usr/lib/asterisk/modules and chmod 755 the file. 64-bit versions go in /usr/lib64/asterisk/modules</p>
<p style="text-align:left;">Other than that, follow Digiums excellent instructions here, it should take you less than 5 minutes: <a href="http://kb.digium.com/entry/5/">http://kb.digium.com/entry/5/</a></p>
<p style="text-align:left;">
<p style="text-align:center;">
<p style="text-align:center;"><strong>4) iLBC &#8211; Installation</strong></p>
<p style="text-align:left;">We&#8217;re going to be compiling this from source. Lucky for us Elastix makes this nice and easy! We won&#8217;t be installing a complete asterisk system, we don&#8217;t want to break the RPM&#8217;s because, let&#8217;s face it, it&#8217;s the easiest way to keep a system updated / secure.</p>
<p style="text-align:left;">First off, download Asterisk from here: <a href="http://www.asterisk.org/downloads">http://www.asterisk.org/downloads</a></p>
<p style="text-align:left;">Get it to your elastix box any way you want (SCP / SSH / local terminal) and pop it in /usr/src</p>
<p style="text-align:left;">Now, run:</p>
<p style="text-align:left;padding-left:30px;">tar xvzf asterisk-1.4.*.tar.gz</p>
<p style="text-align:left;">change in to the newly created &#8220;asterisk&#8221; directory and run:</p>
<p style="text-align:left;padding-left:30px;">./contrib/scripts/get_ilbc_source.sh</p>
<p style="text-align:left;">Press &#8220;Enter&#8221; after it displays the warning presuming you&#8217;ve read the documentation (Which I&#8217;m also going to assume you&#8217;ve done) and shortly after you&#8217;ll get a lovely message telling you &#8220;The iLBC source code download is complete.&#8221;</p>
<p style="text-align:left;">Now, run:</p>
<p style="text-align:left;padding-left:30px;">./configure</p>
<p style="text-align:left;">That should run through without any issues, so now we&#8217;re going to tell Asterisk that we only want to build a very basic system (for the sake of time) and we want the iLBC codec. To enable the iLBC Codec you need to ensure in &#8220;4. Codec Translators&#8221; that &#8220;codec_ilbc&#8221; is checked.</p>
<p style="text-align:left;"><strong>Note:</strong> When you press &#8220;Esc&#8221; to quit &#8220;make menuconfig&#8221;, make sure you press <strong><span style="text-decoration:underline;">S</span></strong> to save changes.</p>
<p style="text-align:left;">Now, just type &#8220;make&#8221; and watch the system build! As soon as you see codec_ilbc you can press Ctrl + C to stop it building. You&#8217;ll notice codec_ilbc being built just after all the app_ files, so it&#8217;s safest to stop the build process when you see the format_ files being built. Either that or let it run right the way through.</p>
<p style="text-align:left;">Almost done now, you just need to copy ./codecs/codec_ilbc.so to /usr/lib/asterisk/modules (or /usr/lib64/asterisk/modules on a 64-bit system) and chmod 755 <span style="background-color:#ffffff;">/usr/lib/asterisk/modules/codec_ilbc.so</span></p>
<p style="text-align:left;"><span style="background-color:#ffffff;"> </span></p>
<p style="text-align:left;">
<p style="text-align:center;"><strong>5) Trunk and Extension setup</strong></p>
<p style="text-align:left;">Now depending on if you want your Ext or SIP Trunk to use the codec, it may be desirable to &#8220;force&#8221; the system to only use that codec.</p>
<p style="text-align:left;"><strong>To setup a Trunk:</strong> Open the SIP / IAX2 Trunk that you wish to limit in Elastix to the particular codec. In the PEER Details add an additional two lines:</p>
<p style="text-align:left;padding-left:30px;">disallow=all<br />
<span style="background-color:#ffffff;">allow=g729&#38;ilbc</span></p>
<p style="text-align:left;"><span style="background-color:#ffffff;">You may want to opt for something such as &#8220;allow=g729&#38;g711&#8243; or perhaps &#8220;allow=ilbc&#38;alaw&#8221; for example. Review your needs and act appropriately. Save and submit the changes.</span></p>
<p style="text-align:left;"><span style="background-color:#ffffff;"><strong>To setup an Ext:</strong> Open the Ext that you wish to limit the particular codec on. Scroll down to &#8220;disallow&#8221; and enter in &#8220;all&#8221;. Next in the &#8220;allow&#8221; field enter in something such as &#8220;g729&#8243; or &#8220;ilbc&#8221;, or perhaps &#8220;ilbc&#38;alaw&#8221; as above with the Trunk. Save and submit the changes when done.</span></p>
<p style="text-align:left;"><span style="background-color:#ffffff;"><strong>Notes:</strong> Try and avoid transcoding where possible. It&#8217;s nice that asterisk does it so well, however it does add marginal delay to your calls, not to mention CPU overheads etc.</span></p>
<p style="text-align:left;"><span style="background-color:#ffffff;">Also keep in mind that if you limit the codecs, say to just g729, and a particular device is unable to use g729, the call will simply fail.</span></p>
<p style="text-align:left;"><span style="background-color:#ffffff;"> </span></p>
<p style="text-align:center;"><strong>6) Testing the codecs</strong></p>
<p style="text-align:left;">The best part, testing! Hopefully everything has gone according to plan thus far. You&#8217;ve got one or two new codecs setup and you&#8217;re dying to test them out (In a development / testing environment naturally and not on your companies production PBX). Now you need to ssh in to your asterisk system and run:</p>
<p style="text-align:left;padding-left:30px;">asterisk -r</p>
<p style="text-align:left;">This brings up the asterisk console. Now, make a call on one of your new Ext&#8217;s that should be using iLBC / g729, or over the trunk that should be compressed.</p>
<p style="text-align:left;">While that call is active, rush back over to your ssh session and in the asterisk console type:</p>
<p style="text-align:left;padding-left:30px;">sip show channels</p>
<p style="text-align:left;">You should see something like this:</p>
<pre style="padding-left:30px;">x.x.x.x   09xxxxxxx   2408517b625  00101/00102  0x400 (ilbc)     No       Rx: ACK</pre>
<p style="text-align:left;">If you&#8217;re making a pure SIP call, you&#8217;ll see one line for the Ext -&#62; Asterisk, and one line from Asterisk -&#62; your SIP Provider.</p>
<p style="text-align:left;">Success!</p>
<p style="text-align:left;">Thanks for reading, and if you have any questions please feel free to leave comments or post in the Elastix forums.</p>
<p style="text-align:left;">Please also keep in mind that whilst g729 / iLBC are not the only codecs, almost every device that supports compression is likely to support one of them, or if not it will support GSM.</p>
<p style="text-align:left;">Hopefully as you&#8217;re reading this you&#8217;re happily making calls via iLBC or g729. Enjoy!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Work for it bitch. Now take off your pants and dance.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/20/work-for-it-bitch-now-take-off-your-pants-and-dance/</link>
<pubDate>Fri, 20 Nov 2009 23:17:32 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/20/work-for-it-bitch-now-take-off-your-pants-and-dance/</guid>
<description><![CDATA[McRinny xB: I didn&#8217;t know if you wanted to do that journey alone or not. Ckwhy425: If I get lo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="50">
<div><em><strong>McRinny xB</strong>: <span style="font-family:Arial;color:#000000;font-size:xx-small;">I didn&#8217;t know if you wanted to do that journey alone or not.</span></em></div>
</div>
<div id="51">
<div><em><strong>Ckwhy425</strong>: <span style="font-family:Arial;color:#000000;font-size:x-small;">If I get lost</span></em></div>
</div>
<div id="52">
<div><em><strong>Ckwhy425</strong>: <span style="font-family:Arial;color:#000000;font-size:x-small;">YOU&#8217;LL KNOW</span></em></div>
</div>
<div id="53">
<div><em><strong>McRinny xB</strong>: <span style="font-family:Arial;color:#000000;font-size:xx-small;">o.o My Jew senses will tingle.</span></em></div>
</div>
<div id="54">
<div><em><strong>Ckwhy425</strong>: <span style="font-family:Arial;color:#000000;font-size:x-small;">Yes</span></em></div>
</div>
<div id="55">
<div><em><strong>Ckwhy425</strong>: <span style="font-family:Arial;color:#000000;font-size:x-small;">That and you&#8217;ll hear an accident on the radio</span></em></div>
</div>
<div id="56">
<div><em><strong>McRinny xB</strong>: <span style="font-family:Arial;color:#000000;font-size:xx-small;">XD</span></em></div>
</div>
<div id="57">
<div><em><strong>McRinny xB</strong>: <span style="font-family:Arial;color:#000000;font-size:xx-small;">Well&#8230;</span></em></div>
</div>
<div id="58">
<div><em><strong>McRinny xB</strong>: <span style="font-family:Arial;color:#000000;font-size:xx-small;">At least then you won&#8217;t have to see Twilight.</span></em></div>
</div>
<div id="59">
<div><em><strong>Ckwhy425</strong>: <span style="font-family:Arial;color:#000000;font-size:x-small;">YAY</span></em></div>
</div>
<div id="60">
<div><em><strong>Ckwhy425</strong>: <span style="font-family:Arial;color:#000000;font-size:x-small;">DEATH &#62; TWILIGHT</span></em></div>
<div><em></em></div>
<div><span style="font-family:Arial;font-size:x-small;">So now I&#8217;m feeling extremely foolish for my behavior of yesterday, nearing on embarrassed. I don&#8217;t like sharing my grief usually, and I was completely out of control and out of line. I&#8217;m grateful for Snarf who helped me out, and to Tara&#8211;I just wish I was more level-headed to be thankful rather than freaking out, stuffing my face, and drinking myself to sleep. With pepsi, of course.</span></div>
<div></div>
<div><span style="font-family:Arial;font-size:x-small;">What more, Will might not be able to make it to the movie tonight, which sucks, because I don&#8217;t want to be surrounded by crazed fans without him. I guess I just want him to suffer with me. Cruel, no? How can it be love if I want him to suffer? I should hope him not to be able to see the movie, and be cramped in the crowed theater with us, but I&#8217;d miss him, and I&#8217;m anxious about how I&#8217;d get home. Clearly Wally will drive me, but I hate giving directions at night.</span></div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[I think I need saving the most.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/20/i-think-i-need-saving-the-most/</link>
<pubDate>Fri, 20 Nov 2009 03:49:30 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/20/i-think-i-need-saving-the-most/</guid>
<description><![CDATA[Shock is the first thing that filtered through me, and I hate how you went about saying it. Numb, co]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Shock is the first thing that filtered through me, and I hate how you went about saying it. Numb, completely numb, and disbelieving&#8211;should I even be allowed to feel those things? Considering our relationship, I feel like I shouldn&#8217;t, like it should be nothing to me, but it <em>is</em> something. I hate knowing that you died without knowing that I wanted to see you, that I wanted a relationship with you.</p>
<p>Why is it that everyone in my family dies? Do I even get to call you my family? And here I am, sitting, crying. Isn&#8217;t that pathetic? I&#8217;m so completely selfish. I cry because I didn&#8217;t get the chance to make memeoris with you, I cry because I&#8217;m bitter and angry that another person left my life. You&#8217;re suppose to be here for me to meet, you&#8217;re suppose to be my dad, you&#8217;re suppose to live forever even if we&#8217;ve never met.</p>
<p>I never meant to bad mouth you, I never meant to mock the idea of you, I never meant to use you as an excuse. And now you&#8217;re gone, and it&#8217;s just another thing to add to my list, and now you&#8217;re another thing for me to feel bad over.</p>
<p>And fuck, I&#8217;m crying so hard I think I might puke it all back up, and my head is spinning and it hurts, and I just wanna curl up and cry, and cry, and cry.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[You're just following Hitler's orders, but I'll be back with cake.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/18/youre-just-following-hitlers-orders-but-ill-be-back-with-cake/</link>
<pubDate>Wed, 18 Nov 2009 21:51:07 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/18/youre-just-following-hitlers-orders-but-ill-be-back-with-cake/</guid>
<description><![CDATA[Okay, so having Victor, lovely mister Kitty, as a muse was a completely moronic thing to do. He]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Okay, so having Victor, lovely mister Kitty, as a muse was a completely moronic thing to do. He&#8217;s like Mischa and Jayden combined with such animalist <em>rage</em> that it&#8217;s almost pee-producing frightening. I&#8217;m surprised he actually agreed to being my muse for a bit, though I&#8217;m not sure he realized he had a choice. What more, he came to school with me, and curiously, still somehow violently, explored my classrooms, mimiced my professors, and ripped apart things. Holy hell. Having him breathing down my neck while taking the road test was not a plus. He kept pointing out things I did wrong, told me to do this and then quickly barked out &#8220;Just kiddin&#8217;!&#8221;</p>
<p>But Victor is my good luck charm, and so I let him loose in Ellenville. If he likes me, he&#8217;ll come back. If not&#8230; well I guess he&#8217;ll spook the towns folk.</p>
<p>&#8220;I wish there was like a GED for college. We could take it together and rule the world.&#8221; -Molly &#8220;We could share the lols and kill things and then get dobs somewhere together. I&#8217;m going to be a massues lol spelled wrong. When I get enough money I plan to open my own spa.&#8221;</p>
<p>&#8220;Oh, I plan on being a guidence counselor.&#8221;</p>
<p>&#8220;Yay. &#62;:f beat the children. Beat them with soap until they&#8217;re normal. Like us.&#8221;</p>
<p>I&#8217;ve asked Molly that if I come up for a weekend if I was allowed to stay at her house, which she said I was, as long as her parents didn&#8217;t know I was an internet friend. Which is fine. I plan on going as much as I can.</p>
<p>I think it would be amazing if we lived close by to each other, though I&#8217;m sure when she&#8217;s not with a client and I&#8217;m not with a student we&#8217;ll be texting each other things and mocking the kids/clients. Or she&#8217;ll tell me about her sex life in detail while I&#8217;m talking to a troubled child. I DUNNO MAN.</p>
<p>So midnight, on Friday&#8211;I guess, it&#8217;s gonna be actually Saturday&#8211;Wally, Tara, Will and I are seeing Twilight. I&#8217;m not so much looking forward to it. Tara had previously thought that because it was midnight that nobody would be there, but I have a feeling that it&#8217;s gonna be so packed that we might not find seats together, and there&#8217;s always the high chance that Will has to pick his sister up at 11.</p>
<p>I had origionally backed out of seeing it, since Tara wanted to see it opening night. So a month ago she went to preorder the tickets and found it to be sold out. Wow. A full fucking month in advance. Are these pre-teens all on crack or something? I mean, Werewolves are cool and all, and so are vampires&#8211;but I&#8217;m a Harry Potter fan, and not so much a Twilight fan. Bella has no personality, other then her deed love for Edward&#8211;but I can admit the author writes well, and has a way about alluring her readers. So that&#8217;s respectable. I just wish she made her characters have more depth to them. Eh. It&#8217;s more of a teeny romance than anything. Which is fine. But honestly, she really could have stopped after the first book.</p>
<p>So anyhow. I&#8217;m going to be surrounded by fangirls who obsesse over something I don&#8217;t really care for. Wally, who got talked into going, talked me into it, by promising to snap anyone&#8217;s neck who comes near me, and I, inturn, pleaded with Will to come. He finally agreed&#8211;mostly because Tara already bought the tickets.</p>
<p>Something&#8230; SOMETHING&#8230; bad is gonna happen that night, I just have a feeling.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[AstriCon 2009 Presentation -- Building a Distributed Call Center]]></title>
<link>http://leifmadsen.wordpress.com/2009/11/18/astricon-2009-presentation-building-a-distributed-call-center/</link>
<pubDate>Wed, 18 Nov 2009 20:40:15 +0000</pubDate>
<dc:creator>Leif Madsen</dc:creator>
<guid>http://leifmadsen.wordpress.com/2009/11/18/astricon-2009-presentation-building-a-distributed-call-center/</guid>
<description><![CDATA[For those who missed it, you&#8217;re able to get a PDF of my AstriCon 2009 presentation from the ht]]></description>
<content:encoded><![CDATA[For those who missed it, you&#8217;re able to get a PDF of my AstriCon 2009 presentation from the ht]]></content:encoded>
</item>
<item>
<title><![CDATA[reinstalling my ip08 firmware]]></title>
<link>http://r3d3ye.wordpress.com/2009/11/18/reinstalling-my-ip08-firmware/</link>
<pubDate>Wed, 18 Nov 2009 14:36:15 +0000</pubDate>
<dc:creator>r3d3ye</dc:creator>
<guid>http://r3d3ye.wordpress.com/2009/11/18/reinstalling-my-ip08-firmware/</guid>
<description><![CDATA[It was really not expected when one of my ip08 box got a problem. So I need to reinstall my firmware]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It was really not expected when one of my ip08 box got a problem. So I need to reinstall my firmware. </p>
<p>Good thing i have a usb/serial devices that will help me do this reinstallation.<br />
My minicom is also in place,so no problem at all communicating to my ip08 box.</p>
<p>The missing components are my tftp server on my KahelOS that also need to be installed and some packages on ip08.<br />
In a gist,here some of the steps that i did to resolve my dillema.</p>
<p>Step 1:Install and Implement tftp on my KahelOS</p>
<p>pacman -S tftp-hpa<br />
vim /etc/hosts.allow</p>
<p>tftpd: ALL<br />
in.tftpd: ALL<br />
/etc/rc.d/tftpd start<br />
note:tftp folder<br />
/var/tftpboot/</p>
<p>Step 2:IP08 install Image to NAND</p>
<p>ip04&#62;set autostart<br />
ip04&#62;set serverip your.tftp.server<br />
ip04&#62;tftp 0&#215;1000000<br />
ip04&#62;nand erase clean<br />
ip04&#62;nand erase<br />
ip04&#62;nand write 0&#215;1000000 0&#215;0 0&#215;300000<br />
ip04&#62;set bootargs ethaddr=your:mac:address root=/dev/mtdblock0 rw<br />
ip04&#62;save<br />
ip04&#62;bootm 0&#215;1000000</p>
<p>*this will reboot<br />
root:~&#62; copy_rootfs.sh<br />
root:~&#62; reboot</p>
<p>ip04&#62;set autostart yes<br />
ip04&#62;set bootargs ethaddr=your:mac:address root=/dev/mtdblock2 rw<br />
ip04&#62;set nandboot &#8216;nboot 0&#215;2000000 0&#215;0&#8242;<br />
ip04&#62;set bootcmd run nandboot<br />
ip04&#62;save<br />
ip04&#62;reset</p>
<p>Step 3:IP08 install packages.<br />
vim /etc/ipkg.conf<br />
src voiptel http://update.voiptel.no</p>
<p>ipkg update<br />
ipkg install asterisk-spandsp-1.4.21.2 libcurl libssl oslec libtiff libxml net-snmp ntpclient pagecache rsync ssmtp  busybox cron dropbear gettext<br />
ipkg install zaptel-sport voiptel-gui voiptel-ntp voiptel-sounds<br />
reboot</p>
<p>Finally: configure the timezone:</p>
<p>vi /etc/TZ<br />
PHT-8</p>
<p>@/etc/rc.d/S30ntp<br />
insert this line.</p>
<p>start) ntpdate pool.ntp.org;</p>
<p>That&#8217;s it. everything now is back to normal.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Asterisk VoIP Security]]></title>
<link>http://sysbrain.wordpress.com/2009/11/18/asterisk-voip-security/</link>
<pubDate>Wed, 18 Nov 2009 11:30:33 +0000</pubDate>
<dc:creator>Jabi</dc:creator>
<guid>http://sysbrain.wordpress.com/2009/11/18/asterisk-voip-security/</guid>
<description><![CDATA[I leave here a link to the webinar on security in asterisk that took place last Friday. The speakers]]></description>
<content:encoded><![CDATA[I leave here a link to the webinar on security in asterisk that took place last Friday. The speakers]]></content:encoded>
</item>
<item>
<title><![CDATA[I'm a kitty cat, and I dance dance dance.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/18/im-a-kitty-cat-and-i-dance-dance-dance/</link>
<pubDate>Wed, 18 Nov 2009 03:00:26 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/18/im-a-kitty-cat-and-i-dance-dance-dance/</guid>
<description><![CDATA[I&#8217;m just a little bit caught in the middle Life is a maze and love is a riddle I don&#8217;t k]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>I&#8217;m just a little bit caught in the middle<br />
Life is a maze and love is a riddle<br />
I don&#8217;t know where to go, can&#8217;t do it alone<br />
I&#8217;ve tried and I don&#8217;t know why</em></p>
<p>Maybe it&#8217;s because we&#8217;re more like best friends, two complete immature prats, than anything that we get along the way we do and connect on a level that I&#8217;ve never dreamed of connecting on. There is no embarrassment, no topic left untouched, no secret kept hidden. It&#8217;s free for-all of just truths and laughter.</p>
<p>But it&#8217;s been that way from the beginning; just laughter.</p>
<p>Sitting in the waiting room of Nicole&#8217;s shrink, time passing by and I was suppose to be home thirty minutes ago. The room is overly bright, newly remade, and smells of turkey and gravy&#8211;we assume the Shrink isn&#8217;t coming out for Nicole because he&#8217;s devoring an entire Turkey dinner. Time clicks by and Will turns to me, &#8220;Potato&#8221; he deadpans, emphasizing the <em>p</em>, causing spit to splatter all over my face&#8230;</p>
<p>And I crack up, nearly peeing myself in the process.</p>
<p>It&#8217;s been a year and almost two months, and still, nothing but the amount of time we&#8217;ve spent together has changed. Since the start of our relationship it was smooth and open like this, no topic forbidden. But I wonder&#8230; Why no butterflies? Surely true love has butterflies, doesn&#8217;t it?</p>
<p>I&#8217;ve been bratty and pressuring him to buy me an engagment ring&#8211;just to be a brat. He won&#8217;t, since he wants to &#8220;buy you a really nice one&#8221;, which means he&#8217;d need moneys, and because he and I both know nothing would change. I still wouldn&#8217;t be allowed to sleep over.</p>
<p>I need a job and a place to live. I had a dream Ryan and his friend Shane, despite not knowing him&#8211;why&#8217;d I even dream of him?&#8211;, bought this shabby Ranch that had a basement, and the old couple was desperate to sell so it was pretty cheap, and they decided to leave most of their furnature in the house when they moved&#8211;so I left home and moved in with them, and got a job. I think it would be nice to live with Ryan, to be roommates. xD To bad he lives in California. He should move to New York. It&#8217;s amazin&#8217;. I&#8217;ve known him since I was 13, him 15.</p>
<p>I have another road test tomorrow, which I really don&#8217;t feel ready for. Blah, I don&#8217;t know how well I&#8217;ll do. I&#8217;m worried I&#8217;ll get an anxiety attack.</p>
<p>So this morning at 9, I got dropped off at Will&#8217;s, and at 9:30 Wally came over, which from there we drove to the bank, then the mall for L4D2, Assassins Creed 2, and Modern Warfare 2 and of course Senzu Beans at FYE. The Senzu Beans are pretty good, actually.</p>
<p>I don&#8217;t really like L4D2 much, but Ellis makes it all better by making me laugh a lot. Blah. Modern Warfare 2 is amazing from what I&#8217;ve seen&#8211;Homfg. I like Wally&#8217;s gamertag, it kind of makes me wish I had my own 360. Though at the same time&#8230; when would I even play? Never. I&#8217;m way to distracted to play, and I&#8217;m usually with Will anyhow.</p>
<p>I mainly don&#8217;t want to drop out of college because then I&#8217;d have to get a job, which means even less time with Will. And it&#8217;s awful how I center my priorities around him.</p>
<p>UGH.</p>
<p>UGH UGH UGH</p>
<p>I hate Hugh Jackman as Wolverine. Jesus Christ, he does a terrible job, he&#8217;s WAY to much of a pansy, and, his <em>looks</em>? Pfft, non-sexy. So I&#8217;m back in an X-Men kick, so we bought all four seasons of the origional X-Men cartoon. <em>You gonna end up like Storm&#8230; in da box</em>. Hehe. KNOWLEDGE IS POWAH.</p>
<p>I&#8217;m thinking of having Victor as a muse, just because he&#8217;s violent and he&#8217;ll be destructive while I&#8217;m at school. Distracting, yes, but amazingly fun to watch.. Mmmm. I was gonna have Professor X, but his mind reading would get old fast. Kurt would just poof away whenever, and I&#8217;d lose Mystique. Sure, I&#8217;m well aware that Victor may just tell me to fuck off, or slash my room apart, or whatever, but he&#8217;s completely worth it.<em><br />
</em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Running Asterisk on Xen]]></title>
<link>http://leeconomics.wordpress.com/2009/11/17/running-asterisk-on-xen/</link>
<pubDate>Tue, 17 Nov 2009 16:23:39 +0000</pubDate>
<dc:creator>kenleland</dc:creator>
<guid>http://leeconomics.wordpress.com/2009/11/17/running-asterisk-on-xen/</guid>
<description><![CDATA[We are migrating our Asterisk test environment from VMware to Xen.  We always used the free VMware (]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h1 style="text-align:center;"><a href="http://www.asterisk.org"><img class="wp-image-222" title="asterisk_logo" src="http://leeconomics.wordpress.com/files/2009/11/asterisk_logo.jpg" alt="asterisk_logo" width="138" height="79" /></a> <a href="http://www.centos.org"><img class="wp-image-232" title="centos_icon_60" src="http://leeconomics.wordpress.com/files/2009/11/centos_icon_601.png" alt="" width="63" height="60" /></a><a href="http://www.xen.org"><img class="wp-image-223" title="xen_logo" src="http://leeconomics.wordpress.com/files/2009/11/xen_logo.gif" alt="xen_logo" width="149" height="67" /></a></h1>
<p>We are migrating our Asterisk test environment from VMware to Xen.  We always used the free VMware (<a href="http://www.vmware.com/products/server/">VMware Server</a>) which worked fine other than one huge limitation: There was no way for our virtual machines to access telephony cards (eg: Sangoma or Digium T1 pci cards).  Xen provides that feature and more by allowing your virtual machines to access pretty much any device you can access from within a regular linux installation.</p>
<p>Here are the steps I took to add Xen to my CentOS test server and fire up my first asterisk guest complete with its own digium pri card.  For my first asterisk guest i created a server with all the latest and greatest asterisk software and appropriately named it <em>bleeder</em>.</p>
<p>1. Install Xen &#8211; This step turns your current server into the Dom0, or &#8220;the special privileged domain that is used to administer normal guest domains&#8221;</p>
<pre>yum install xen kernel-xen
modify /boot/grub/grub.conf to boot the xen kernel by default
reboot
</pre>
<p>2. Download a 1G partition image that contains an ext3 filesystem with the linux kernel and a minimal set of CentOS packages and extend it to 4G.  <a href="http://stacklet.com">Stacklet.com</a> is a great resource for these.  I found the CentOS image i was looking for <a href="http://stacklet.com/downloads/images/centos/5.4">here</a>.  This comes with the partition image and two example config files.  I copied the partition image to a directory i could remember where i had sufficient space and extended it using the following commands.  The first command (dd) extends the actual file.  This is analogous to extending a partition on a disk.</p>
<pre>[root@fsdev images]# dd bs=1k seek=4096k count=1 if=/dev/zero of=centos.5.3.x86.img
</pre>
<p>Note that this command produces a &#8220;sparse&#8221; file.  That means that though the file can grow up to a total size of 4GB, it only takes up the space on disk that it is actually using.  Here&#8217;s the proof:</p>
<pre>[root@fsdev images]# ls -lh
total 2.1G
-rw-r--r-- 1 k3leland k3leland  4.1G Nov 15 19:33 centos.5-3.x86.img
[root@fsdev images]# du -h centos.5-3.x86.img
1.1G  centos.5-3.x86.img</pre>
<p>The rest of the commands are to resize the actual ext3 filesystem.  Find the first available loopback device and assign our partition image to it:</p>
<pre>[root@fsdev images]# losetup -f
/dev/loop0
[root@fsdev images]# losetup /dev/loop0 centos.5-3.x86.img
</pre>
<p>Now Resize!</p>
<pre>[root@fsdev images]# resize2fs /dev/loop0
resize2fs 1.39 (29-May-2006)
Please run 'e2fsck -f /dev/loop0' first.

[root@fsdev images]# e2fsck -f /dev/loop0
...output omitted...
[root@fsdev images]# resize2fs /dev/loop0 4G
resize2fs 1.39 (29-May-2006)
Resizing the filesystem on /dev/loop0 to 1048576 (4k) blocks.
The filesystem on /dev/loop0 is now 1048576 blocks long.
</pre>
<p>Lastly unassign our file to the loopback device:</p>
<pre>[root@fsdev images]# losetup -d /dev/loop0
</pre>
<p>Here is an extra command that may come in handy when dealing with partition images.  This allows you to mount the image and explore the contents:</p>
<pre>[root@fsdev images]# mount -o loop -t ext3 centos.5-3.x86.img /mnt
[root@fsdev images]# ls /mnt/
bin   dev  home  lost+found  mnt  poweroff  root  selinux  sys  usr
boot  etc  lib   media       opt  proc      sbin  srv      tmp  var
</pre>
<p>3. Copy the pygrub config to /etc/xen/bleeder and make some slight modifcations to it.  I gave it its very own ip address and indicated i wanted it bridged at the ethernet level by adding this line:</p>
<pre>vif = [ 'ip=xx.xx.xx.xx, bridge=xenbr0' ]</pre>
<p>I updated the disk directive to reflect the new location that i moved the image to:</p>
<pre>disk = ['file:/var/asterisk/xen/images/centos.5-3.x86.img,sda1,w']</pre>
<p>And lastly I assigned the virtual machine the digium T1 card using the pci directive.  Note: I found the pci identifier in the output of lspci.</p>
<pre>pci=['0a:01.0']
</pre>
<p>4. Unbind the pri card from my Dom0 so that i will be able to boot my bleeder guest by loading the pciback kernel module with the hide option:</p>
<pre>modprobe pciback 'hide=(0a:01.0)'
</pre>
<p>If this worked you will see some messages in dmesg:</p>
<pre>pciback 0000:0a:01.0: seizing device
PCI: Enabling device 0000:0a:01.0 (0310 -&#62; 0313)
ACPI: PCI Interrupt 0000:0a:01.0[A] -&#62; GSI 20 (level, low) -&#62; IRQ 21
ACPI: PCI interrupt for device 0000:0a:01.0 disabled
</pre>
<p>If this command doesn&#8217;t work it will not give any indication other than you will not see those messages in dmesg.  This command will not work if you currently have a driver loaded that is binded to that device.  That means you may have to:</p>
<pre>service zaptel/dahdi stop
</pre>
<p>and try again:</p>
<pre>rmmod pciback
modprobe pciback 'hide=(0a:01.0)'
</pre>
<p>5. Now we are ready to boot our guest for the first time using the xm command.  The -c option indicates we want a console on the new vm, and the name of the vm, <em>bleeder</em>, corresponds to the name of the config file in /etc/xen.  If everything works you will eventually get a login prompt (root/password by default)</p>
<pre>[root@fsdev ~]# xm create -c bleeder
Using config file "/etc/xen/bleeder".
</pre>
<p>One error that prevented booting for the first time was:</p>
<pre>Error: pci: improper device assignment specified: pci: 0000:0f:00.0 must be co-assigned to the same guest with 0000:0f:06.0, but it is not owned by pciback.
</pre>
<p>I resolved this by moving my pci card to a different slot in the system.  I believe this is a limitation in Xen but if you have the flexibility to move your card it beats waiting for a bug fix;)  Here is the output of lspci and lspci -t before and after the move:</p>
<pre>[k3leland@Dom0 ~]$ lspci &#124; grep Digium
0f:06.0 Ethernet controller: Digium, Inc. Wildcard TE120P single-span T1/E1/J1 card (rev 11)
[k3leland@Dom0 ~]$ lspci -t
-[0000:00]-+-00.0
           +-01.0-[0000:01]--
           +-1c.0-[0000:09-0a]--+-00.0-[0000:0a]--
           &#124;                    \-00.1
           +-1c.4-[0000:0d]----00.0
           +-1c.5-[0000:0e]----00.0
           +-1d.0
           +-1d.1
           +-1d.2
           +-1d.3
           +-1d.7
           +-1e.0-[0000:0f]--+-00.0
           &#124;                 \-06.0
           +-1f.0
           +-1f.1
           +-1f.2
           \-1f.3

[k3leland@Dom0 ~]$ lspci &#124; grep Digium
0a:01.0 Ethernet controller: Digium, Inc. Wildcard TE120P single-span T1/E1/J1 card (rev 11)
[k3leland@fsdev ~]$ lspci -t
-[0000:00]-+-00.0
           +-01.0-[0000:01]--
           +-1c.0-[0000:09-0a]--+-00.0-[0000:0a]----01.0
           &#124;                    \-00.1
           +-1c.4-[0000:0d]----00.0
           +-1c.5-[0000:0e]----00.0
           +-1d.0
           +-1d.1
           +-1d.2
           +-1d.3
           +-1d.7
           +-1e.0-[0000:0f]----00.0
           +-1f.0
           +-1f.1
           \-1f.3</pre>
<p>6. Now we can proceed to configure and install software on our new virtual guest as it was a physical server.  The output of lspci in the guest should produce a single line with our digium T1 card.  The system we got from Stacklet.com provides the bare minimum so the first step is to bring it up to date and install the prerequisite tools:</p>
<pre>yum update
yum install vim-enhanced gcc gcc-c++ subversion make kernel-xen-devel libtermcap-devel
</pre>
<p><a href="http://www.asterisk.org/developer/resources/svn">Checkout Asterisk and Friends from svn and make and make install asterisk, dahdi-linux, dahdi-tools, libpri.</a></p>
<p>Deviations from boring &#8216;configure;make;make install&#8217; routine included a couple of things:</p>
<p>When configuring asterisk i chose to disable xmldoc:</p>
<p>./configure &#8211;disable-xmldoc</p>
<p>After making and installing dahdi-linux be sure to modify /etc/dahdi/* to your needs, or use dahdi_genconf.</p>
<h3>TODO in Future:</h3>
<ul>
<li>test performance of virtualized asterisk</li>
<li>install asterisk and dahdi-linux on vm from binaries using asterisk xen pacakges at <a href="http://packages.asterisk.org">packages.asterisk.org</a>.</li>
<li>install thirdlane, trixbox, and asterisknow a xen guests</li>
</ul>
<p>Recommended book and primary reference for this project:</p>
<p><a href="http://runningxen.com"><img class="size-thumbnail wp-image-224 alignleft" title="running_xen_cover" src="http://leeconomics.wordpress.com/files/2009/11/running_xen_cover.png?w=50" alt="running_xen_cover" width="50" height="66" /></a></p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:274px;width:1px;height:1px;">before you can resize the filesystem formatted on top of the partition</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[That's not anxiety! That's the urge to kill!]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/17/thats-not-anxiety-thats-the-urge-to-kill/</link>
<pubDate>Tue, 17 Nov 2009 03:55:45 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/17/thats-not-anxiety-thats-the-urge-to-kill/</guid>
<description><![CDATA[She&#8217;s about four, I think, shoulder length chocolaty hair and small staring dark eyes. Her nam]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>She&#8217;s about four, I think, shoulder length chocolaty hair and small staring dark eyes. Her name is Jayden and I nearly died&#8211;what are the chances of that? And spelt the same way too! Jayden, <em>Jayden, Jayden</em>. Chrissa call her Jay. Her younger brother runs through the room screaming &#8220;JAAAYYDEEEENNN&#8221; in a high pitched drawl-screech and I stare. And stare. And holy hell do I ever stare. Three devil children running about, smacking, hitting, wrestling, yelling. This Side-Quest&#8211;shut up, it&#8217;s totally a side-quest, kay? I don&#8217;t care if there&#8217;s nothing else&#8211;is turning out to be more than I bargined fer.</p>
<p>Maybe I should rethink having children so soon. With The Day After Tomorrow spooking me from the TV, and a hot plate of Baked Ziti in my lap, I don&#8217;t know how anyone can stand to baby-sit. Plastering a smile to my face, I hide a grimance, a wave of fear washing over me. Children scared me.</p>
<p>But&#8230;</p>
<p>So now there&#8217;s two Sam&#8217;s I can&#8217;t stand. One, I use to love like my brother. The other&#8211;well, who cares about that Sam, eh? I can&#8217;t, and I won&#8217;t understand what happened. How&#8217;d it all go down hill? Jen no longer feels anything? She&#8217;s a walking zombie? And he hasn&#8217;t been to school since, <em>when</em>? September? Where&#8217;s the lovable brat I grew up with? What is this talk of suicide? How does everything get so tangled and distorted? Pathetic angst, you aren&#8217;t real, you&#8217;re just a heartless git. Can&#8217;t you even see you&#8217;re ripping your family apart? Sorrow is one that I know only briefly.</p>
<p>It&#8217;s heart wrenching to known this, and a horrible sense of helplessness jolts. What the hell can I do but offer my home? And still. What best friend am I? I can&#8217;t even do anythin, and do I even get to call myself a best friend? With months of absenses&#8211;and yet it&#8217;s <em>her</em>. We&#8217;ll always be close, despite the lack of seeing each other, &#8217;cause that&#8217;s love.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Yeah. Forced to go to church. You know. Hate.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/16/yeah-forced-to-go-to-church-you-know-hate/</link>
<pubDate>Mon, 16 Nov 2009 04:26:23 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/16/yeah-forced-to-go-to-church-you-know-hate/</guid>
<description><![CDATA[McRinny xB: Lets go to a club. derblauenSharpie: K, be there in 12 hours. &gt;.&gt; &nbsp; My daily ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>McRinny xB: Lets go to a club.<br />
derblauenSharpie: K, be there in 12 hours. &#62;.&#62;</em></p>
<p><em><img class="aligncenter size-full wp-image-416" title="Pills1" src="http://bottleofpaper.wordpress.com/files/2009/11/pills1.jpg" alt="Pills1" width="374" height="281" /></em></p>
<p>&#160;</p>
<p>My daily pill in take. I just got new batteries for my camera, and like any other normal girl I decided to start taking pictures immediatly. Just of my pills though, trying to get an artys shot. I ended up failing MISERABLY, but hey, what can I do? I&#8217;m not a photoghrapher.</p>
<p>I&#8217;m still anxious. All these medications, and I&#8217;m still anxious. No matter how higher the doses go, I&#8217;m still freakin&#8217; anxious. Maybe it&#8217;s just how it&#8217;s always going to be. I spent the entire daying sleeping against Will &#8217;cause I&#8217;ve just got so much anxiety.</p>
<p>So, we bought ff VII, ff VIII, ff IX, ff X, ff x-2, ff xII and Dirge, plus the guide books for 9, 10, 10-2, and 12. Which is great. We just finished CC, and KH&#8211;which I now want KH2 &#60;3. So, we started playin&#8217; 9, his favorite.<br />
And I fell asleep for most of the beginning. I&#8217;ve been sleeping a lot lately. I&#8217;m just so tired. I&#8217;m not so excited about Christmas, hell, it&#8217;s not even thanksgiving yet. Will and I decided to spend Thanksgiving at his house this year, like last year, which is alright, I guess, I was kind of hoping to see Cousin Fern. She rarely comes up and I really need to catch up with her. But whatevs.</p>
<p>So Melissa has a&#8230; friend. Who is a <em>booooy</em>. He looks like a red-headed fatter version of Dennis, with a squashed face and pimples&#8230; or are they freckles? But I like him. His name is Tommy and he&#8217;s the sweetest boy I&#8217;ve come across in a long time. He cheriesh her, and it&#8217;s a shame. I hope maybe she won&#8217;t hurt him or twist him around her devilish fingers.</p>
<p>So Nicole is getting pretty serious about Lu. A few times a week she goes down to the city to see her. I&#8217;m hoping this one lasts, cause I really, really like Lu. And Liz got a boyfriend! At first I liked him&#8230; he&#8217;s a bit older, and he isn&#8217;t attractive but he treats her right.<br />
He&#8217;s just an ass to Will. D:&#60; Which means, I don&#8217;t like him anymore.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Building Queues with Asterisk]]></title>
<link>http://leifmadsen.wordpress.com/2009/11/14/building-queues-with-asterisk/</link>
<pubDate>Sat, 14 Nov 2009 15:07:19 +0000</pubDate>
<dc:creator>Leif Madsen</dc:creator>
<guid>http://leifmadsen.wordpress.com/2009/11/14/building-queues-with-asterisk/</guid>
<description><![CDATA[Wow it&#8217;s been a long time since I&#8217;ve update my blog. Well, lets do that! I&#8217;ve just]]></description>
<content:encoded><![CDATA[Wow it&#8217;s been a long time since I&#8217;ve update my blog. Well, lets do that! I&#8217;ve just]]></content:encoded>
</item>
<item>
<title><![CDATA[DebPBX ( Debian con Asterisk Integrado)]]></title>
<link>http://gilabeni.wordpress.com/2009/11/11/debpbx-debian-con-asterisk-integrado/</link>
<pubDate>Wed, 11 Nov 2009 19:50:45 +0000</pubDate>
<dc:creator>gilabeni</dc:creator>
<guid>http://gilabeni.wordpress.com/2009/11/11/debpbx-debian-con-asterisk-integrado/</guid>
<description><![CDATA[&nbsp; DebPBX es una aplicación de software libre (bajo licencia GPL) basada en Asterisk que proporc]]></description>
<content:encoded><![CDATA[&nbsp; DebPBX es una aplicación de software libre (bajo licencia GPL) basada en Asterisk que proporc]]></content:encoded>
</item>
<item>
<title><![CDATA[Asterisk Key]]></title>
<link>http://hoday.wordpress.com/2009/11/12/asterisk-key/</link>
<pubDate>Wed, 11 Nov 2009 17:00:04 +0000</pubDate>
<dc:creator>Hadi</dc:creator>
<guid>http://hoday.wordpress.com/2009/11/12/asterisk-key/</guid>
<description><![CDATA[Asterisk Key shows passwords hidden under asterisks. This product is totally free.Features Uncovers ]]></description>
<content:encoded><![CDATA[Asterisk Key shows passwords hidden under asterisks. This product is totally free.Features Uncovers ]]></content:encoded>
</item>
<item>
<title><![CDATA[You eccentric, billionaire playboy man, you.]]></title>
<link>http://bottleofpaper.wordpress.com/2009/11/11/you-eccentric-billionaire-playboy-man-you/</link>
<pubDate>Wed, 11 Nov 2009 02:00:49 +0000</pubDate>
<dc:creator>aristocracy.machiavellianism</dc:creator>
<guid>http://bottleofpaper.wordpress.com/2009/11/11/you-eccentric-billionaire-playboy-man-you/</guid>
<description><![CDATA[underneath the moon, underneath the stars heres a little heart for you up above the world, up above ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>underneath the moon,<br />
underneath the stars<br />
heres a little heart for you<br />
up above the world,<br />
up above it all<br />
heres a hand to hold on to</em></p>
<p>A warm lazy haze falls over me and sleepily I snuggle closer to the where the heat is being emitted from; the soft dark purple fabric. Oh lovely love, how can anyone in their right mind resist cuddling up to such warmth? How can anyone <em>not</em> be lulled to a lazy nap, much like a fat cat on a summer day?</p>
<p>I&#8217;ve said it before. I don&#8217;t want to make memories with anyone else but you, darling. I don&#8217;t want to love anyone else&#8217;s smile, and I don&#8217;t want to laugh with anyone else like I do with you. I can tell you anything without feeling embarrassed, I can finally be <em>me</em>. I don&#8217;t have any use for lies, even small white ones.</p>
<p>With the world of pretend playing at my fingertips, I much rather play in reality with you. Oh, darling. You know what you do to me. I wish I could pour my love into a little jar, and show you. I want to hold your hand forever, I want my fingers laced with yours always, I want to be able to smile at you for the rest of my life.</p>
<p>We&#8217;ve come so far in our relationship, but that&#8217;s only month-wise. I feel like I&#8217;ve always known you, I feel as though you&#8217;ll always be my best friend, whether it&#8217;s romantic or not, as long as you&#8217;re in my life nothing can be better.</p>
<p><em><br />
</em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Trixbox]]></title>
<link>http://torocatala.wordpress.com/2009/11/10/trixbox-2/</link>
<pubDate>Tue, 10 Nov 2009 08:22:34 +0000</pubDate>
<dc:creator>torocatala</dc:creator>
<guid>http://torocatala.wordpress.com/2009/11/10/trixbox-2/</guid>
<description><![CDATA[1.- Que es Trixbox 2.- Instalación de Trixbox 3.- Entrando en Trixbox 4.- Configurando una extensión]]></description>
<content:encoded><![CDATA[1.- Que es Trixbox 2.- Instalación de Trixbox 3.- Entrando en Trixbox 4.- Configurando una extensión]]></content:encoded>
</item>

</channel>
</rss>
