Hi, and thanks for your medical question on eHealth forum!
The only advice I can give is that you should try and consult another doctor preferably a psychiatrist and tell them your symptoms and the relief you get from Xanax. Maybe there is a medical reason behind not prescribing it. Hope this helps. Take care!