@Steve *******
As far as I understand , you won't be able to get out of IDC without your embassy being involved. You can't just use the internet or call a travel agent to book a flight,it's not as simple as that or people would do it within 10 minutes of being there . Your embassy is informed and they are the ones that sort out your way out the country.
I know someone that has been through the process in Thailand , back in the 80 s .