My comments for some parts in this thread:
* MIDI route in Sonar is not changed since the time I have installed 8.5 LE. It has generally problematic concept, which was mentioned in this forum more then 10 year ago. Please do not get me wrong, it was working in 8.5 (and probably before) and it is still working. It is just preventing future development in that area till it is replaced.
* I am not intensive CAL user, but what I have used is working in SPlat
* since VST MIDI is a pain in Sonar, I have developed Lua based DX scripting plug-in. Creative programmers with suggestions are welcome. Unlike CAL that can works in "real time", unfortunately unlike CAL the solution is limited to one track processing. But think it can work in any Sonar version, also in 8.5.