Its a tough call. If you decide to do an onlay and later on need a root canal, they may need to put a crown on it later on anyways. I suppose a CAT scan can determine how deep the cavity is, if there is on, but I don't think they can predict whether or not the tooth will heal and respond positively after being drilled on. I would suggest you either do the root canal because it is symptomatic or you can try to remove the old filling and remove any decay and put a temporary filling in there to see if the tooth will give you any problems for a few weeks. If no problems, then you can try to place an onlay on it and hope that it never becomes symptomatic although if you do that, it may still need a root canal and I don't think anyone can predict how long it will be before a root canal is needed. It could be a week, it could be years.
If you decide to do a root canal, an onlay may not be the most ideal treatment. A crown may be a more ideal option. As for the post/core, a core is necessary but a post is dependent upon how much tooth structure is left after the root canal.
Thanks for your response.
Thanks for your answer. If I do the root canal and decide to go with onlay, would the post and core be necessary? and is onlay a better option after root canal or a crown? Thanks