Mediators say Israel and Hamas have agreed to pause the fighting in Gaza, starting on Sunday, after 15 months of war and to begin exchanging dozens of hostages held there for Palestinians imprisoned by Israel.