Power Fail Transfer

I’m in the process of designing a system for my small business. I’m trying to plan for the worse case power/internet outage. I was planning on using a pcie card for 2 incoming FXS lines and then I will have at least one FXS phone connected to it. I want the two lines to go directly to the analog phone in the event of a power or pbx failure. Does any one have any recommendations? I really wish I could find a card that does this automatically on the event of power failur.

work well for your needs.