Asterisk

Actu­ally got an Aster­isk server func­tion­ing today at work. It’s pretty straight­for­ward when all the pack­ages are there… Asterisk@Home goes some way to doing all that for you. For those fer­vently par­tial to any par­tic­u­lar dis­tri­b­u­tion — or morally/ethically opposed to CentOS’s pack­ag­ing tac­tics… I can see why peo­ple may be, but don’t have those reser­va­tions myself –, let your fury be abated. There is a plain tar.gz file that has a script and some other stuff that basi­cally means you can install it on what­ever plat­form you like, depen­den­cies aside.

Depen­den­cies, inci­den­tally, were the main rea­son it didn’t get installed on a Debian sys­tem as orig­i­nally planned. Pacific Internet’s apt repos­i­tory seems to have been borked the last few days, so there were miss­ing pack­ages and pack­ages in the data­base but unable to be installed and all other kinds of junk… When it got to the point I couldn’t even get some­thing to install from CPAN because of lower-level depen­den­cies in Perl itself, I kind of gave up and started down­load­ing Asterisk@Home. That was yes­ter­day. I can­celled the down­load because Pacific was being too slow for my lik­ing (Tel­stra Cable has spoilt me with down­stream), and this morn­ing before head­ing in I down­loaded the dis­tri­b­u­tion from Source­forge in about 10 min­utes. Bad check­sum. Down­loaded again. Burnt to CD. Still faster than it would have been to down­load at work. Ah well.

I didn’t get in til 9.30 because I was burn­ing CDs etc, and had a func­tional sys­tem call­ing between PCs and with voice­mail, recep­tion mes­sage, etc., by 11.11 (I noted the time, it being a sem­i­nal moment in my per­sonal VoIP-using his­tory, even if I did cheat and use a pre-packaged ver­sion!). Good stuff.

Also, if you’re going to use Asterisk@Home in Aus­tralia, install the Open­Voice IVR prompts and record­ings. It’s much bet­ter than lis­ten­ing to that Amer­i­can voice which was dri­ving us nuts even whilst test­ing :P Hav­ing said that, you may need to restart the server when chang­ing voice files… ours was doing some weird thing where it seems to have cached the old files in voice­mail IVR prompts. The voice would be chiefly Aus­tralian, but for a “one” sound. Might’ve been the inflex­ion (falling “one” or neu­tral “one” instead of ris­ing “one”), but I didn’t think they had par­tic­u­larly con­cerned them­selves with that when writ­ing most PBX/voicemail sys­tems… could be wrong. Any­way redi­al­ing the voice­mail exten­sion a few times seemed to help resolve things. Bizarre.

The Aster­isk box, to bor­row a term (Hi Steve :P), is run­ning with 256MB of RAM — but is sit­ting per­ilously close to swap whilst run­ning. It doesn’t help that it leaves two instances of mpg123 run­ning in the back­ground for hold music, as well as vsftpd (seri­ously, who’d use that on a tele­phony server? If you need to backup voice­mail, write a cron job to copy the files to a remote server. Bingo, no FTP server required! Grr.) and a hand­ful of other crap. Any­way, it’s prob­a­bly going to get more mem­ory before it moves into pro­duc­tion use. There are two Fritz! ISDN cards in it, but they haven’t been set up yet. Any­one seen a site about installing Fritz! cards with Aster­isk? All I’ve seen about them is that they need ker­nel recom­pi­la­tion for chan_capi stuff… and recom­pil­ing ker­nels has never struck me as par­tic­u­larly fun. (The few times I have tried, boot­load­ers have been unco-operative… i.e. I didn’t know what I was doing!)

# by Josh on December 21st, 2005 Tags: , , , , , , , , ,
| 2 Comments »

Telstra vs the mess that is Australia’s copyright system

In an exchange between Phil Tripp, a music media com­men­ta­tor, and Tel­stra Cor­po­rate Affairs man­ager Craig Mid­dle­ton, it’s revealed that the record companies/distributors are just like the rest of us.

Craig Mid­dle­ton said this:

No I am not say­ing iPod users can down­load directly into iTunes. But they can down­load and burn CDs. With a CD there is no need to ‘engi­neer’ any­thing with iTunes — although it is ille­gal to rip from CD onto iPod. As the Syd­ney Morn­ing Her­ald once pointed out there is no legal way to use an iPod — but that makes a lot of us crim­i­nals
:-)

Then Phil Tripp (albeit under a pseu­do­nym) fired this back:

And I’m one of the biggest crim­i­nals around with a suc­ces­sion of three gen­er­a­tions of pods with 11,000 songs on one now and a hard drive with 26,000 songs – but all legal from my own record collection.

SO what you sug­gest I do is use a PC to down­load songs legally from BP, then burn to CD and then I can trans­fer these over to an iPod. KEWL! You got me. Any chance that BP is going to do the 99 cent down­loads again for Novem­ber if iTunes launches?

Tel­stra pulled out the lawyers.

Phil sug­gested that Tel­stra encour­ages cus­tomers to cir­cum­vent its dig­i­tal rights man­age­ment pro­tec­tions. In fact, Tel­stra in no way advo­cates or con­dones this type of action by cus­tomers. Trans­fer­ring Big­Pond Music down­loads from a CD to an iPod or other device is an infringe­ment of copy­right. It is also a breach of the terms and con­di­tions that cus­tomers agree to when they sign-up to use Big­Pond Music. Craig made this clear in his email to Phil by say­ing “it is ille­gal to rip from CD onto iPod.”

Tel­stra is extremely dis­ap­pointed that Phil chose to mis­rep­re­sent his exchange with Craig on the themusic.com.au website.

That is, of course, assum­ing smi­ley faces have absolutely nil seman­tic value. Bull crap. (I try to keep this site clean, and that’s prob­a­bly one of the stronger exple­tives I’ve used here. This deba­cle irks me, lots.)

Tel­stra, just like the rest of us, fully recog­nises what con­sumers will do with DRM’d media. Namely, what­ever the hell they can and want to. No-one reads “terms of ser­vice” for B2C ser­vices, unless they’re secu­rity para­noid (I’ve been known to, but only when I really don’t trust a source – cer­tainly not because I’m afraid of pros­e­cu­tion!), and dis­trib­u­tors know it.

Record com­pa­nies are a bunch of ostriches, it’s true, so maybe they’re the only ones who haven’t cot­toned on to this fact yet. This whole DRM thing is a mas­sive façade to con­vince the record indus­try they do, in fact, have some con­trol over the dis­tri­b­u­tion of their music. Here’s some news: they don’t. You prob­a­bly didn’t hear it here first.

Policies of appeasement suck (Or, Telstra, Microsoft, and Dyne:bolic)

Both when it comes to 20th cen­tury inter­na­tional rela­tions and tech­nol­ogy companies.

http://lists.slug.org.au/archives/slug/2004/04/msg00133.html

Iron­i­cally, I was look­ing for that soft­ware so I could see what could be done away from a MS Win­dows live pro­duc­tion envi­ron­ment (for an event mid-December this year). As it stands, I’m down­load­ing Dyne:bolic from another source (GNU.org’s US FTP server, actu­ally. One of Bigpond’s more often-saturated links), and will post here once I’ve fig­ured out if it’s worth “the risk” of using. And again if/when it gets used.

My biggest con­cern is it’s not going to like var­i­ous TV-out hard­ware on the two com­put­ers I want to use it on. Actu­ally, it only needs to work on one — the other is up to Ubuntu, but the soft­ware will be much the same. And yes, I now trust Ubuntu enough… kind of. Breezy is ridicu­lously sta­ble, though its mul­ti­me­dia per­for­mance can be a bit lack­lus­tre. I’m blam­ing the TNT2, though, and fig­ure it’ll pick up lots if I stick a GeForce 6600 in it. Fail­ing that… I’ll prob­a­bly use a lap­top, or some­thing else boring.

Basi­cally, I want the Dyne:bolic box to be a play­back machine, and the Ubuntu box is just gonna sit there and feed a nice sta­tic graphic (or maybe an ani­mated logo, if I get bored). The Ubuntu box will be my desk­top, because, whilst it’s fine for WWW stuff and the spot of word-processing… I have too much crap installed on it. Con­trary to pop­u­lar opin­ion, Win­dows is far eas­ier to trim services/background apps on for extra speed than Linux on the desk­top is. The amount of crap Gnome/Ximian/Nautilus leaves lying around is truly dis­gust­ing if you ever want to try and stop all the processes and just have some­thing work on its own. I could launch into a fail­safe X ses­sion and just run what I want from there, I guess… always a pos­si­bil­ity. Can’t do that on Win­dows (if some­one says “safe mode” I might stab them).

If any­one feels like lend­ing me a vision mixer (or well-specc’d com­puter!) for a week­end in Decem­ber… *looks strangely opti­mistic* Yeah, okay. Well, if any­one can get me a good deal on a vision mixer (MX-50 is my friend) for a week­end in December…

(Yeah, I’ve checked Digi­hire. They’re nice peo­ple, but cheaper would be bet­ter. Church/non-profit event.)

The virtues of Elinks

I had writ­ten a post prais­ing Elinks’ capa­bil­i­ties, fea­tur­ing not only HTTPS and FTP sup­port, but also tabbed brows­ing and more-than-respectable ren­der­ing of table-based pages — heck, it even works well with Gmail, albeit in plain HTML mode. But then I acci­den­tally hit the wrong arrow key. And it ate my post. So now I feel less like say­ing nice things about it than before.

Nev­er­the­less, impres­sive con­sid­er­ing the lim­i­ta­tions of the medium. I used it to down­load Breezy from iiNet’s FTP (because ISP.net.au still doesn’t have the ISOs), and aver­aged about 750KB/s — which is about a third again of what I was get­ting from ISP.net.au, so I think I’ll change the sources.list to that. It’s a shame Telstra’s files.bigpond.com is so useless/HTTP-only/slow to respond to new releases, because I’d love — and I’m sure they’d save some bandwidth/peering expen­di­ture — to be able to get quota-free down­loads of this stuff. I prob­a­bly could have got Breezy from there, albeit via HTTP, albeit in a few days time when­ever they get stuff up there (haven’t checked, might be there already, but gen­er­ally they’re pretty slug­gish), but it’s just so much eas­ier this way.

Any­way, I’ve burnt it to CD now (no, Elinks doesn’t do that too) and will hope­fully be up and run­ning again soon.

Posted from Elinks

# by Josh on October 15th, 2005 Tags: , ,
| 2 Comments »

My Quasi-static IP

So, I use a Dynamic DNS ser­vice to point the CNAME alias record home. on this domain to, sur­pris­ingly enough, my home Inter­net con­nec­tion with Tel­stra Big­Pond (or pud­dle, whatever).

I’m using a Dynamic DNS ser­vice instead of just set­ting up an A record (much sim­pler, plus that would mean I could have a catchall on the domain… my cur­rent DNS host — also my reg­is­trar, Joker.com — doesn’t like wild­card CNAME records, though) because, the­o­ret­i­cally, my plan only has a dynamic IP address prone to chang­ing at any given moment. Dynamic DNS ser­vices really should only be used by peo­ple with dynamic IP addresses, for a num­ber of rea­sons… the most obvi­ous one being that they are designed to change, and expire if you don’t let them. (At least with Dyn­DNS, which is pretty excel­lent for the price… free.)

With this in mind, I received this mes­sage today:

A host­name you have reg­is­tered with Dynamic Net­work Ser­vices at Dyn­DNS, sn0239410.dnsalias.net, with cur­rent IP address 60.225.85.25, will expire in the next 5 days. This expi­ra­tion is due to an auto­matic time­out; your host has not been updated for 30 days, and hosts are removed after not being updated for 35 days. This is our pol­icy to pre­vent a stag­nant DNS sys­tem. Users with sta­tic IP addresses can use the Sta­tic DNS sys­tem, which does not have this timeout.

There’s more, I just can’t be both­ered repeat­ing it here.

That’s the fourth time I’ve read that para­graph in sep­a­rate mes­sages. That exact para­graph. Yeah, not even the IP changed.

To give that some time scale, see the quoted por­tion above: “hosts are removed after not being updated for 35 days”. I’ve man­u­ally touched my subdomain’s record once every 35 days or there­abouts for the last four months. Before that, the same sit­u­a­tion existed, but then only for three months. Before that? Two. (And before that was iiNet, back in the day, and that doesn’t really bear com­ment­ing… every time your modem dis­con­nected you’d get a new IP, and some­times more often! Though it seems to have improved since…)

Seems to me as though Tel­stra is slowly and qui­etly mak­ing its dynamic IPs more and more sta­tic as broad­band adop­tion picks up. So, Tel­stra, when are you giv­ing us (mere plebs) IPv6?

# by Josh on October 1st, 2005 Tags: , , ,
| No Comments »

Bigpond Static IP: An anti-spam measure

A screenshot of BigPond's supposed Static IP demo page

Look care­fully at the screen­shot above. Some­thing is incongruous.

Yes, that’s right, this “Sta­tic IP demon­stra­tion” is all about Telstra’s spam fil­ter prod­uct (which, inci­den­tally, they charge for — boy am I glad we aren’t using Tel­stra email as well as Cable in this house!). I clicked through to the demon­stra­tion because I was inter­ested to know how exactly one explains the pur­pose of a sta­tic IP to Joe Small­biz — and the idea that one could cre­atively demon­strate a num­ber – and a sta­tic num­ber no less – seemed too good to miss.

It seems, how­ever, that BigPond’s answer to the great (or should I say bulk…y…) unso­licited email ques­tion that floats above the present Inter­net gen­er­a­tion like a pud­dle doesn’t, is sim­ply to assign every­one sta­tic IP addresses and be done with it. Wow. What for­ward think­ing from one of the world’s most noto­ri­ously back­wards ISPs!

Of course, the whole thing would require an adop­tion of IPv6 to func­tion, which would defeat the pur­pose as there would be ample spare resources to acquire once any given IP/subnet got black­listed, but you know… an inter­est­ing concept.