Let's have a look at the CallerID method first: This depends what the OBi sees as CallerID. Look at the web page > Status > Call History. If the "Peer Number" of calls from phone number "A" is different from the "Peer Number" of calls from phone number "B", then the OBi can route them differently.
If the above is true and the "Peer Number" from phone number "B" is 12345678912, then this rule would work for you:
Voice Services -> SP2 Service -> X_InboundCallRoute:
{(12345678912):aa},{ph}
If you want to route the incoming call based on the callee parameter, that is based on the digits received regardless of CallerID, then something like this should work:
Voice Services -> SP2 Service -> X_InboundCallRoute:
{>**0:aa},{ph}
Any incoming call with received digits "**0" will route to auto attendant. All other calls to the Phone Port.
Voice Services -> SP2 Service -> X_InboundCallRoute:
{>(Minc):aa},{ph}
Any incoming call with received digits matching User Defined DigitMap "inc" will route to auto attendant. All other calls to the Phone Port.
The two methods could be combined:
Voice Services -> SP2 Service -> X_InboundCallRoute:
{(12345678912)>(Minc):aa},{ph}
Any incoming call with CallerID of "12345678912" and received digits matching User Defined DigitMap "inc" will route to auto attendant. All other calls to the Phone Port.
Good luck! Let us know how the testing goes.