When I called you ... - This circumstance is not related in the main narrative. It is likely to have occurred when Jephthah was first chosen leader by the Gileadites, and when Ephraim would probably ignore his pretensions.
Related Commentaries of Judges 12:2
Judges 12:2
2 And Jephthah said unto them, I and my people were at great strife with the children of Ammon; and when I called you, ye delivered me not out of their hands.