Unfortunately, there is no "bang head on table" emoticon in this forum editor.
I am willing to bet that this is a case of an engineer trying to "engineer" a solution that doesn't need to be "engineered". There is no need to do any digit map or call route changes, and, in fact, you have probably changed something that is now conflicting with using two different SIP registrations (sub accounts).
Just do this; it will take far less time than you have already spent.
1: Contact Vitelity and confirm with them that they support concurrent use of multiple sub accounts, and that both sub accounts will independently ring on inbound calls (that's the whole point of having them). If this isn't the case, then Vitelity sucks, and you can take your business to a better ITSP, like
voip.ms or Callcentric.
2: Log into the OBiTALK web portal. Delete both of your devices off of the portal. Gone. Bye-bye.
3: Factory reset both devices, by dialing ***8, then 1 to confirm. Wait plenty of time for each device to fully reset and reboot.
4: You
must get two separate extensions (aka sub-accounts) for each of your two DID numbers. Add both devices back to the portal, using the **5 procedure. Use the portal, not the local web interface, to configure your two Vitelity DID sub accounts per device (On the OBi 202, DID #1 extension 1, on SP1, and DID #2, extension 1, on SP2; on the OBi 1022, DID #1, extension 2 on SP1, and DID #2, extension 2, on SP2). To do this, click each SP, accept the warning about 911, scroll down to the bottom of the page, click "OBiTALK Compatible Service Providers", and then, on the next page, click "Vitelity".
5: You're done. It should simply work. If it doesn't work, change ITSPs.