WANPOH, Srinagar, (AFP) - Pakistan must destroy militant groups operating on its soil, Indian Prime Minister Manmohan Singh said Wednesday during a visit to Kashmir. With security tightened across the occupied valley for his trip, Singh also reiterated his governments willingness to hold talks with all political parties in the region, including those groups which are opposed to Indian rule. Singh said it was time for Islamabad to wipe out the militants whose attacks on India have repeatedly blocked peace talks between the South Asian rivals. It is the solemn duty of the govt of Pakistan to bring them to book, to destroy their camps and to eliminate their infrastructure, he said at a ceremony to inaugurate Qazigund-Baramulla railway line in Anantnag districts Wanpoh village, about 55km south of Srinagar. They should destroy these groups wherever they are operating and for whatever misguided purpose, he said. If Pakistan takes the necessary action, India will not be found wanting in our response, Singh promised, offering talks on issues ranging from trade to divided families and prisoner swaps. The hand of friendship that we have extended to Pakistan should be strengthened. It is in the interest of the people of both the nations, he told several thousand Kashmiris who had attended the function. Insisting that the era of violence and terrorism is coming to an end in Kashmir, Singh said his government was ready for a dialogue with all shades of political opinion. We are willing to talk to anyone who has any meaningful ideas for promoting peace and development, he said during the speech in the company of the president of Indias ruling Congress party, Sonia Gandhi. The Kashmiris had called for a general strike against Singhs visit, continuing stoppages that started on Tuesday to mark the anniversary of the start of Indian rule on October 27, 1947. The strike crippled life in Srinagar and other towns of Muslim-majority Kashmir for the second day running on Wednesday, police and residents said. In Srinagar, dozens of protesters burnt effigies of Singh and Chief Minister Omar Abdullah during an anti-India protest broken up by baton-wielding policemen, they said. Abdullah stressed that a political settlement of the dispute was necessary and promised his government would facilitate New Delhis dialogue with Kashmiri groups. Special commandos were deployed in Anantnag and roads were sealed off in the Srinagar where Singh was locked in talks with top state officials at a high-security lakeside convention centre. Monitoring Desk adds: The Indian PM said he was for friendly ties with Pakistan. Recalling his peace offer in 2004, the Indian Prime Minister said the most fruitful and productive discussions with Pakistan were held between 2004-07. He expressed Indias willingness to talk on more humanitarian issues with Pakistan. My offer of talks is not based on weakness but strength, he said. He said he strongly believed that the majority of the people in Pakistan sought good neighbourly and cooperative relations with India . They seek a permanent peace. This is our view as well, Singh said.