For OXE - I know solution (External callback translation). For OXO not (I have no big experience with OXO). May be someone with good OXO knowledge can help you.
But - if you connect analogue set (with CLIP) directly to analogue line (without PBX) - you see 8 digits or 7?