File Vault volumes cannot be resized

Written late in the evening in English • Tags: ,

Turns out one has to turn off File Vault to resize the underlying partition. However, resizing does not work when running off of the recovery partition (which you might be doing to run fsck on the primary partition). (more…)

Time to upgrade Asterisk

Written late in the evening in English • Tags: , ,

SIP appears to be broken in the Asterisk 1.6 packages released to address DSA-2550. I resorted to a hasty upgrade to Asterisk 1.8 from backports. (more…)

Troubleshooting USB Audio 2.0 on a Mac

Written in the wee hours in English • Tags: ,

I noticed my Cambridge Audio DacMagic Plus was no longer recognized by my iMac and music was coming out of the built-in speakers instead. I had no idea when the DAC had disappeared, as I hadn’t listened to music in the office for a while (and had been traveling for a week as well). I moved it to another USB port and it was recognized, but the signal it received was at 48 kHz instead of 192 kHz.

I tried:

  • connecting a USB headset to the problem port: it was not recognized.
  • connecting the DAC to a Macbook Air: the DAC indicated a 192 kHz signal.
  • an SMC reset: no change.
  • a PRAM reset: I got the USB port back, but still at 48 kHz.

My searches on Google weren’t turning up anything useful about the sample rate on USB Audio. Then I happened to search for just “imac usb audio 2.0” and started reading the top hit: USB Audio on the Mac. It has a section on Clock Entities showing the Audio Midi Setup tool.

For some reason the Mac had the clock for the external DAC set at 48 kHz. Using the dropdown menu I could set it at 192 kHz and all was instantly back to normal.

»
The Linksys SPA3102 has become difficult to find, so I’ve replaced one failed unit with a SPA2102. Seems to work just as well and its configuration is practically identical.
»
I hadn’t noticed that NBAR in Cisco IOS has support for Skype. This should make QoS for Skype just as easy as for SIP on my network. Results pending…
»
I prepped all the holiday cards last night and didn’t make it to the post office today to get stamps… (1)
»
It is possible to use ASINs to add books to LibraryThing. I hadn’t been adding Kindle books in a long while because copying ISBNs by hand was just too much effort, and some books didn’t even have them. I feel like I have missed some announcement about this — it definitely did not work back when… :)
»
I’ve moved my website to a new server. Everything should be working now after some on-and-off tweaking throughout the day. Update a day later: I’ve fixed the downloading of PHP source code (WP plugins).

Bring back audio after Asterisk 1.6 upgrade

Written in the mid-afternoon in English • Tags: , ,

I upgraded to Asterisk 1.6 some time ago, but didn’t think anything was wrong until recently. Calls coming in from Callcentric didn’t work: I received no audio. Everything had been working fine with Asterisk 1.4. I don’t get many calls, so initially I dismissed this as a temporary problem. Calls from my other four carriers kept working fine.

After some research, I noticed the following settings suggested by Callcentric:

session-timers=refuse
session-expires=180
session-minse=90
session-refresher=uas

I’ve placed this in the [general] section of sip.conf, because calls from Callcentric arrive from multiple servers and the way Asterisk handles SRV records, only one of the servers ends up mapping into the per-carrier context at any given time. It doesn’t seem to have an adverse effect on calls from other carriers. (It is just turning off functionality new to 1.6, and setting some sensible defaults.)