I have never heard of asafoetida taken for these purposes.
My guru tells us to avoid asafoetida. It is really bad.
Here many people use it to kill trees. If you want to cut a tree you have to go through a lot of paperwork and permission. Instead they just take a ball of asafoetida and stuff in a hole in the bottom of the tree trunk. In a few days(or weeks) the tree dies off.
There are lore that Tansen(A great singer who could invoke rain with his singing) a singer in the court of the Indian Moghul ruler Akbar. Used to consume a tablespoon of asafoetida with ghee(clarified butter) everyday to keep his vocal chords in shape.
If a little bit more asafoetida falls into our curries I get wipe out for the entire day. I just avoid any foods that contain asafoetida. I am shocked you are taking it as a treatment.
Well I may have never heard of it.
But I am sure there are other treatments for parasitic infections.
Raw carrots works the best. Consult another ayurvedic physician.
Ask about raw carrot. Just a cup of raw carrot can get rid of most worms.
At the end of 15 days you can take two tablespoons of castor oil to purge your intestines.
I think it is better you consult another ayurvedic expert and ask him about raw carrot and castor oil And how you should take it.
Seems to be the safest option.
If you are taking it for detox, I think you should look at other options.