i would give your care provider a call. i don't think it would hurt considering how far along you are... if it's an infection it could be putting you into preterm labor.
i have had cramping for weeks and it turns out it was indeed an infection, and it ended up causing progressive contractions that eventually stopped once the infection was treated.
for me personally, i always dread giving the doc a call because i don't want them to overreact but sometimes it's worth getting an opinion if nothing else.
good luck and take care!!!