Question please on compounding prescriptions

Patient: Question – can a doctor prescribe a compounded prescription via an over the phone consultation with someone who may live out of state?

Doctor: Hello,A prescription over the phone is not held valid, instead if it is written , signed and emailed , then it holds valid and can be used at the pharmacy.,regards