Ecuador is no stranger to prison riots, with overcrowding and corruption contributing to deadly uprisings in the country's jails, where inmates, often members of drug cartels, smuggle in weapons from the outside and orchestrate criminal activities from behind bars.