as far as i understood your situation,there are 2 possibilities
1-there is over filling of tooth,this should be checked properly by the dentist
2-there is microleakage in filling causing innervation of nerve
fibres in tooth when you drink something cold
and seems cavity is very deep that is near or about to touch the pulp chamber,as whenever you eat something all your occlusal pressure goes to the pulp chamber leading to pain,in this type of condition filling is not advisable your dentist should go for the root canal treatment
of the tooth after radiographic examinition.
i hope its clear to you
have a good health,take care,cheers