"The Russian Foreign Ministry maintains permanent contact with the leadership of the foreign ministries of Armenia and Azerbaijan," Zakharova was quoted as saying on the Russian Foreign Ministry's website.
She added that Moscow was "deeply concerned" by the flare-up in the region and called on the parties to the conflict to cease hostilities and exercise restraint.
The conflict between Armenia and Azerbaijan began in 1988, after the predominantly Armenian Nagorno-Karabakh autonomous region announced its secession from the Azerbaijan Soviet Socialist Republic. Nagorno-Karabakh proclaimed its independence in 1991, prompting a war that lasted until a Russia-brokered ceasefire was signed in 1994. In September 2015, the conflict escalated, with the sides blaming each other for violating the truce.