Sorry, but there is no solution to this. It is not simply a matter of putting the FXO ports in the right context. It is a matter of FXO signalling which you seem to be ignoring despite my best efforts to explain the limitations to you. FXO ports do not receive the dialled number so you have no choice but to use DISA, Auto-Attendant or IVR. To do what you want you'll have to use a different technology - not FXO.