The barrage came amid heightened tensions between nuclear-armed rivals.
India accuses Pakistan of fomenting a 30-year rebellion against Indian rule in Kashmir by sending fighters and weapons through the Line of Control. Pakistan denies the allegations.
Five civilians and one soldier were killed by Pakistan's side on the control line, a spokesman for the Pakistan Army said on Sunday. Two Indian soldiers and one civilian were also killed, a spokesman for the Indian Ministry of Defense said.
India and Pakistan claim to have killed more of the other party's soldiers in the incident, but such claims cannot be independently verified.
Gen. Bipin Rawat of the Indian Army told reporters that the exchange begins when fighters attempt to cross into Indian-controlled territory. Pakistan has denied the allegation and said the shooting in India was "indiscriminate and inactive".
The two parties reached an agreement on a ceasefire in 2003 and for a number of years at the actual Kashmir border gained relative calm. However, since 2014, ceasefire violations have skyrocketed.