A six-week pause in fighting is being negotiated to allow for the release of hostages and prisoners and the delivery of aid into Gaza.