Azerbaijan has announced a "unilateral ceasefire" in fighting with Armenian forces over the disputed Nagorno-Karabakh region.
A defence ministry spokesman said the Azeris were acting in response to international calls to halt violence.
But the Armenia-backed Karabakh military said "fierce fighting" was continuing.
Nagorno-Karabakh has been in the hands of ethnic-Armenian separatists since a war that ended in 1994.
Fighting had continued into Sunday, after clashes left 30 soldiers dead and caused civilian casualties.
"Azerbaijan, showing good will, has decided to unilaterally cease hostilities," the Azeri defence ministry said in a statement.
It warned it would strike back if its forces came under attack.
But David Babayan, a Karabakh military spokesman, told AFP news agency that fighting had not stopped.
"Fierce fighting is under way on south-eastern and north-eastern sectors of the Karabakh frontline," he said.
Other reports from Armenia said two Karabakh soldiers had been injured in the fighting.
Earlier, Turkish President Recep Tayyip Erdogan had said he backed Azerbaijan "to the end" in the clashes.
Turkey has close ties to Baku but does not have relations with Armenia because of the dispute over mass killings of Armenians during the Ottoman era, which Armenia says was a genocide. Turkey staunchly denies this.
On Saturday Armenia said 18 ethnic-Armenian troops had died, while Azerbaijan said it had lost 12 troops. The Karabakh defence ministry said a 12-year-old boy had been killed and two other children injured.
Each side blamed the other for breaking the ceasefire. Azerbaijan said its forces had taken over two strategic hills and a village but lost a helicopter.
Armenia's government said Azerbaijan had launched a "massive attack" with tanks, artillery and helicopters.
The BBC's Reyhan Demytrie in Tbilisi says there have long been fears that hostilities between the two nations, which are highly militarised and possess sophisticated weaponry, could spiral out of control.
Erdogan also criticised the Minsk Group - a body under the Organization for Security and Co-operation in Europe (OSCE), chaired by the US, Russia and France and tasked with resolving the conflict.
He said it had "underestimated" the situation.
"If the Minsk Group had taken fair and decisive steps over this, such incidents would not have happened. However, the weaknesses of the Minsk Group unfortunately led the situation to this point," he told an Azeri reporter during his trip to the US, the presidency said.
Fighting between the two sides began in the late 1980s and escalated into full-scale war in 1991 as the Soviet Union collapsed, killing about 30,000 people before a ceasefire in 1994.
The region, which lies inside Azerbaijan but is controlled by ethnic Armenians, has since run its own affairs with Armenian military and financial backing, but clashes break out on a regular basis.
BBC Azeri's Konul Khalilova says leaders on both sides have been blamed for stoking the conflict to stay in power rather than seeking peace.
FROZEN CONFLICT OVER NAGORNO-KARABAKH
The conflict has roots dating back over a century to competition between Christian Armenian and Muslim Turkic and Persian influences.
Frictions exploded into violence when the region's parliament voted to join Armenia in the late 1980s.
The ethnic Azeri population - about 25% of the total before the war - fled Karabakh and Armenia while ethnic Armenians fled the rest of Azerbaijan.
Russian-brokered ceasefire signed in 1994, leaving Karabakh and swathes of Azeri territory around the enclave in Armenian hands.
Progress on a peace process stalled after talks between Armenian and Azeri leaders in 2009. Serious ceasefire violations have followed.
Karabakh is a word of Turkic and Persian origin meaning "black garden", while "Nagorno" is a Russian word meaning "mountain".