I had what I was positive was toothache (I had a post-crown that kept coming off and erroneously conflated my pain with the crown falling off) and kept running to my dentist who assured me there was not a dental problem (apart from having the crown placed back in position every six weeks. Annoying and expensive!).
In desperation I visited my GP who arranged an appointment with the Maxillofacial consultant.
After scans I was told that I have a blood vessel passing very close to the trigeminal nerve and that's the cause of my pain, not toothache at all.
I now take daily Pregabalin which has helped. As this problem is worse lying down, I ensure I don't ever have my hand directly on my cheek and lay with the affected side uppermost.
I was prescribed Amitriptyline some years ago and loved it! It helped me sleep better and help stop my pain. However, I was taken off it (boo boo). I think there were contra-indications with other drugs but I would love to use it again. If you can have it prescribed, I wouldn't hesitate. I wouldn't be frightened in the least - if we read the accompanying leaflets in all new medicines, it's a wonder that anyone actually takes anything at all!