I'm a Pakistani national and will be flying from Moscow to Cairo via Amman on Royal Jordanian Airline. My Layover in Amman is around 10 hours, if I wish to not leave the airport do I need to get a visa in advance. I called the embassy in Pakistan and they weren't really helpful.
You do not require a transit visa for Jordan.
TWOV (Transit Without Visa):
Passengers with a confirmed onward ticket for a flight to a third country within 48 hours. They must stay in the international transit area of the airport and have documents required for the next destination.
Source: Timatic using Emirates' website