Well, you said that it was found on a soviet line that dates to the 40's. Thereforefore, it is most likely a mortar mount. The machine gun pictures are almost certainly from the 1st world war. Therefore, the gun would not have been used because it was obsolete. Hope this helps.
HH
-GC