The sides accuse each other of violating the ceasefire.
Several Azerbaijani soldiers were killed, and several Armenian soldiers and police officers were injured in border clashes, the two countries said on Monday, accusing each other of trespassing.
The two former Soviet republics have long conflicted Nagorno-Karabakh, but the latest clashes occurred in the Tavush region of North-Eastern Armenia, about 300 kilometers from the mountainous enclave.
The Azerbaijani Defense Ministry said four soldiers under its command were killed and five wounded, while the Armenian military Department reported three soldiers and two police officers injured.
The shootings began on Sunday and continued until Monday. Both sides accused each other of violating the ceasefire.
Azerbaijani President Ilham Aliyev accused the Armenian leadership of “provocation.”
Armenian Prime Minister Nikol Pashinyan warned that the Azerbaijani leadership would bear responsibility for “the unpredictable consequences of destabilizing the region.”
The organization for security and co-operation in Europe (OSCE), which seeks to help resolve the conflict, called on the two countries to establish a dialogue to prevent any further escalation.
Nagorny Karabakh, a mountainous region of Azerbaijan, is ruled by ethnic Armenians who declared independence during the conflict that erupted after the collapse of the Soviet Union in 1991.
Although a ceasefire agreement was reached in 1994, Azerbaijan and Armenia continue to accuse each other of attacks around Nagorny Karabakh and along the Azerbaijani-Armenian border.
The frozen Nagorno-Karabakh conflict is causing concern in the world community, including because of the threat to stability in the region, where pipelines run through which oil and gas enter world markets.