Here is what I can remember from the episode I'm looking for:
The A-Team has barricaded themselves in a house that is surrounded by the military.
I believe the house is owned by the commander of the military unit outside the house.
They play a record that contains the sounds of war, which included sporadic automatic gunfire.
The record played loudly possibly in combination with other (Visual) distractions allowed them to make their escape.