GAZA CITY, Palestinian Territories - Israeli shelling killed eight people in Gaza on Friday just hours into a three-day truce, medics said, as a diplomatic push for a more durable end to the bloodshed gained pace.
The skies over Gaza initially fell silent after the humanitarian truce came into effect at 0500 GMT, the latest and longest of several agreed since the conflict broke out on July 8.
It gave a brief respite to residents of the battered strip, after 25 days of violence that killed 1,459 on the Palestinian side, mostly civilians, and 61 soldiers and three civilians on the Israeli side.
US Secretary of State John Kerry had said earlier that once the ceasefire was under way, Israeli and Palestinian representatives, including from Hamas, would begin talks in Cairo on a more durable truce.
The ceasefire was a joint US-UN initiative and would give civilians "a much needed reprieve", Kerry said in New Delhi.
"This is a respite, a moment of opportunity - not an end. It's not a solution," he warned, saying Israeli forces would remain inside Gaza and to carry out "defensive" operations to destroy tunnels used to attack its territory.
As the truce began, Gaza doctor Belal al-Dabour tweeted: "This ceasefire should give us a glimpse on our life for the coming months after Israel destroyed everything. It's not going to be pretty.
"Calm. Let's sleep y'all!" But within hours an AFP journalist on the Israeli side of the border heard air raid sirens warning of a rocket attack, and the sound of outgoing Israeli artillery fire.
Medics said eight people were killed in bombardment east of the town of Rafah, in southern Gaza, as heavy shelling of the area was heard.
Israel immediately accused Hamas and other Gaza militants of committing a "flagrant breach" of the truce.
Israeli tank and air fire killed 14 Palestinians in Gaza prior to Friday's ceasefire deadline, and the army said five of its soldiers died in mortar fire near the border with the Palestinian coastal enclave.
While the ceasefire had been accepted in the name of all militant groups by Hamas, the main power in Gaza, the Islamist movement stressed it was dependent on Israel reciprocating.
"Hamas and all the resistance movements have accepted a 72-hour humanitarian ceasefire from 8:00 am Friday which will be respected by all these movements if the other party also observes the ceasefire," said spokesman Fawzi Barhum.
A source in the office of Israeli Prime Minister Benjamin Netanyahu said: "Israel has accepted the US/UN proposal for a 72-hour humanitarian ceasefire beginning 8:00 am Friday".
Hamas allies Turkey and Qatar welcomed the ceasefire, as did British Foreign Secretary Philip Hammond.
"We should now redouble our efforts and leave no stone unturned, to ensure this is a lasting and durable ceasefire to make way for substantial discussions to resolve the underlying issues on both sides," said Hammond.
Only minutes before the deadline, Palestinians had continued to fire rockets into southern Israel, with five brought down by missile defences, army radio said.
A woman and at least two children were among the 14 Palestinian killed by Israeli tank fire and an air strike in the southern Gaza Strip early Friday, the emergency services said.
The Israeli army said that "five soldiers were killed during operational activity along the border with the Gaza Strip when a mortar was fired at the forces."