If your ex has only obtained a TEMPORARY restraining order, then you've got a date coming up. I assume you can get a certified copy of the records reflecting where you were incarcerated, and when. Get'em, and bring'em to court.
In terms of the divorce, there's nothing to "counter"; if you file a timely formal Response in the dissolution action she's filed, you've "counter-filed".
First, if there's a TRO, there should be another hearing where you can disprove her allegations. You need evidence showing you were incarcerated at the times of the calls and when she broke her jaw.
Second, you only need to respond to wife's divorce. There are some tactical reasons to be the Petitioner -- file first -- but even if you filed a separate divorce, they'd just consolidate the two actions.
Third, you need to file a response and an OSC for custody/visitation and or modification of any existing orders.
Edward J. Blum