Counter-Attack

In 1942, both Nazi Germany and the Soviet Union are gathering forces and supplies in one particular sector of the Eastern Front for a major attack. The Soviets are secretly constructing a bridge at night over a river. To avoid detection, it is being built underwater, just below the surface.
In an attempt to find out where the Germans plan to strike, Colonel Semenov (George Macready) has a small paratrooper unit dropped behind enemy lines to attack a divisional headquarters and hopefully take an officer prisoner for interrogation. The local partisans, led by the wily Kostyuk (Roman Bohnen), provide a guide, Lisa Elenko (Marguerite Chapman).
The attack succeeds at first. Alexei Kulkov (Paul Muni), one of the paratroopers, takes seven Germans prisoner in the basement. Then, just as Elenko brings him a message, German artillery hits the building, causing it to collapse and trap them in the spacious cellar.
Afterward, Kulkov's dog sniffs out where his master is buried and starts digging. This alerts one of Kulkov's comrades, who communicates with him by tapping on a metal pipe in code. Learning that Kulkov has caught an officer, he leaves to get help.
Kulkov is in no hurry to dig out. Though the prisoners rank no higher than a sergeant, he is convinced one of them is an officer in disguise, based on a pistol and a monocle he has found. He begins questioning the men one by one, but while he rules out ex-miner Stillman (Rudolph Anders) and a former magician (Philip Van Zandt), he cannot pinpoint his man.
An eighth German soldier, thought to be dead, wakes up and attacks. In the struggle, the lone lantern is extinguished and Elenko is stabbed in the shoulder. However, Kulkov kills him and regains control of the situation. Oddly, Elenko is certain that one of the Germans tried to help her in the darkness.
Kulkov decides to try a ploy. He orders the magician to go around the corner of the main room out of sight of the others. He knocks the German out and then fires one round, making the rest think he has exacted revenge for the attack. He repeats the charade with the defiant sergeant (Ivan Triesault). The third man Kulkov picks admits he is Major Erich von Sturmer (Harro Meller). Stillman cannot hide his anger against the major for allowing two of his men to be "shot" before revealing his identity.
A cat and mouse game ensues, as Kulkov and von Sturmer try to extract from the other the enemy's plans. Finally, they make a deal; each will reveal what he knows. Kulkov cleverly tells the truth, but in such a way that von Sturmer does not believe him. Then, during a heated exchange, Kulkov blunders and reveals the secret of the bridge.
When Elenko weakens, Kulkov has to guard the prisoners by himself without rest. She urges him to kill them immediately, but Kulkov refuses, hoping he can find out what he came for. Finally, he dozes off, but is awakened by a shout from Stillman, who joins the Russians. He is given a rifle (shown in the end to have no bullets) to stand guard, though Kulkov is careful to stay behind him.
Then, digging is heard. To Kulkov's dismay, he hears German voices. Von Sturmer taunts him, boasting he had lied about the real point of the German attack, and rushes to the blocked entrance. Kulkov shoots him and prepares to kill everyone else when, to his delight, his dog is first through the opening in the rubble. The Soviets have launched their offensive and reached the building (they used German prisoners to do the digging). Kulkov passes along the vital information he has obtained from von Sturmer to Colonel Semenov before falling asleep.

Question: How does Kulkov's comrade communicate with him?
Answer: By tapping on a metal pipe in code.