The Ammonites set up their battle lines near the entrance to their town gate, while the Arameans of Zobah and Rehob and the men of Tob and Maacah took up positions by themselves in the open fields.
When the Ammonites realized they had become like a bad smell to David, they sent a request to the Arameans and hired twenty thousand of their foot soldiers from Beth Rehob and Zobah, as well as one thousand men from the king of Maakah, and also twelve thousand men from Tob.
Joab realized he would have to fight both in front of him and behind him, so he chose some of Israel's best troops and he took charge of them to lead the attack against the Arameans.
They also hired 32,000 chariots and the king of Maacah with his army. They came set up camp near Medeba. The Ammonites were also called up from their towns and prepared for battle.
So they along with their men came to Gedaliah at Mizpah—Ishmael son of Nethaniah, Johanan and Jonathan the sons of Kareah, Seraiah son of Tanhumeth, the sons of Ephai the Netophathite, and Jezaniah son of the Maacathite.