Gynaecology & Obstetrics

A young woman presented with infeility. Hysterosalpingogram shows beaded fallopian tubes with clubbing of the ampullary end. The most likely diagnosis is:-