The airliner , an Airbus 320 belonging to Armavia airline , was flying to Sochi from Armenia 's capital , Yerevan , when it plunged into the sea at 2:15 A.M. , the officials said , according to news agencies .