using Kamailio to make Poly UC phones work better with Avaya IP Office

among my many other incredibly autistic hobbies, I have been known to enjoy toying with telephony solutions - usually software-based ones. I wanted to get a physical PBX to play with, though, partly as a way to hook up some modems, and partly just because I like having blinkenlights in my home server rack. I ended up getting an Avaya IP Office IP500v2 control unit for dirt cheap, with a System SD…