thanks! midipal (and it's variants) looks like a promising lead. seems the filter only supports 4 remappings, but with open firmware that might be easy to tweak.
also thinking this might not be that hard to diy with a teensy.
in the mean time, i found a very elaborate midi re-routing app for ios called midiflow. will try it out with my midi interface and phone.