Under the deal, the ceasefire remains in effect while negotiations on the second phase are taking place.