Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

Asterisk

Actually got an Asterisk server functioning today at work. It’s pretty straightforward when all the packages are there… Asterisk@Home goes some way to doing all that for you. For those fervently partial to any particular distribution — or morally/ethically opposed to CentOS’s packaging tactics… I can see why people may be, but don’t have those reservations myself –, let your fury be abated. There is a plain tar.gz file that has a script and some other stuff that basically means you can install it on whatever platform you like, dependencies aside.

Dependencies, incidentally, were the main reason it didn’t get installed on a Debian system as originally planned. Pacific Internet’s apt repository seems to have been borked the last few days, so there were missing packages and packages in the database but unable to be installed and all other kinds of junk… When it got to the point I couldn’t even get something to install from CPAN because of lower-level dependencies in Perl itself, I kind of gave up and started downloading Asterisk@Home. That was yesterday. I cancelled the download because Pacific was being too slow for my liking (Telstra Cable has spoilt me with downstream), and this morning before heading in I downloaded the distribution from Sourceforge in about 10 minutes. Bad checksum. Downloaded again. Burnt to CD. Still faster than it would have been to download at work. Ah well.

I didn’t get in til 9.30 because I was burning CDs etc, and had a functional system calling between PCs and with voicemail, reception message, etc., by 11.11 (I noted the time, it being a seminal moment in my personal VoIP-using history, even if I did cheat and use a pre-packaged version!). Good stuff.

Also, if you’re going to use Asterisk@Home in Australia, install the OpenVoice IVR prompts and recordings. It’s much better than listening to that American voice which was driving us nuts even whilst testing :P Having said that, you may need to restart the server when changing voice files… ours was doing some weird thing where it seems to have cached the old files in voicemail IVR prompts. The voice would be chiefly Australian, but for a “one” sound. Might’ve been the inflexion (falling “one” or neutral “one” instead of rising “one”), but I didn’t think they had particularly concerned themselves with that when writing most PBX/voicemail systems… could be wrong. Anyway redialing the voicemail extension a few times seemed to help resolve things. Bizarre.

The Asterisk box, to borrow a term (Hi Steve :P), is running with 256MB of RAM — but is sitting perilously close to swap whilst running. It doesn’t help that it leaves two instances of mpg123 running in the background for hold music, as well as vsftpd (seriously, who’d use that on a telephony server? If you need to backup voicemail, write a cron job to copy the files to a remote server. Bingo, no FTP server required! Grr.) and a handful of other crap. Anyway, it’s probably going to get more memory before it moves into production use. There are two Fritz! ISDN cards in it, but they haven’t been set up yet. Anyone seen a site about installing Fritz! cards with Asterisk? All I’ve seen about them is that they need kernel recompilation for chan_capi stuff… and recompiling kernels has never struck me as particularly fun. (The few times I have tried, bootloaders have been unco-operative… i.e. I didn’t know what I was doing!)

Carols DVD

I just finished watching the DVD we recorded and have to say I’m actually pretty happy with it. Which is saying something, because I’d never used a vision mixer for a whole production before, even if I had a pretty good idea how they worked from incidental usage/exposure. Thanks God! Sound is a bit patchy, but Audio were recording and I’m gonna see if I can patch things up a bit (a lot) from that version, and then I’ll probably make use of Google Video once more (because Ourmedia sucks) to share it with the world.

Expect that up (there’ll be two versions for the bandwidth-challenged/indifferent, don’t worry) in the next day or two, along with a handful of photos of gear and other geeky miscellany.

Carols at Matthias

Matthias carols title graphic

Come along to St Matthias tonight at 5pm for a free BBQ followed by Carols from 6pm to celebrate what Christmas is all about!

Map: How to get there

If you’re coming and are thoroughly lost or whatever, gimme a call on 0425 808 469 and we’ll send out a search party or something :P

UAI

85.65

It’ll do.

PDF magic

I’ve fallen in love with PDF all over again. Well… not quite. But it’s pretty cool.

I think it was Steve I was speaking to a few days back, and he alluded to Acrobat’s slide transition capabilities, of which I knew nothing. Until I installed OpenOffice.org 2.0 on a machine I’m using for playback tomorrow and discovered that I couldn’t get it to fullscreen on a secondary monitor (and for various reasons I’m not willing to make my playback screen the primary monitor : ). So I figured that maybe Acrobat would.

Pull up the PDF export dialogue… oh, an option to save transitions, cool (I didn’t use it, but it’s nice to know it’s there). More importantly, there’s now a lossless compression option in OpenOffice’s export! Off to Acrobat Reader to open it up, and… yes. All still there, great quality, and it will fullscreen on whatever display you have the window on. Beautiful.