Often get asked our squawk code when checking in with a new station. Especially in Cairo FIR, which is radar controlled. Often in Riyadh FIR which is radar controlled, and even Bahrain FIR when its really busy. So one doesn't need to mention it when checking in, but just because its a radar environment, doesn't mean the controller might not require it at some stage.