After two days of prickly confrontations with critics at Columbia University and the United Nations, President Mahmoud Ahmadinejad of Iran held a friendly, even warm, exchange yesterday with Christian leaders from the United States and Canada convinced that dialogue is the only way to prevent war.

The session, held under tight security at a chapel across the street from the United Nations, was a reminder that Mr. Ahmadinejad is a religious president of a religious nation who relishes speaking on a religious plane. He spent his 20 allotted minutes at the start of the two-hour meeting recounting the chain of prophets central to Judaism, Christianity and Islam, and the commonality of their messages.

He took questions from a panel that included a Quaker, a Catholic, an Anglican, a Baptist and a representative of the interfaith World Council of Churches, some of whom separately said they had been criticized by other religious leaders for sitting down with the Iranian president. Given the furor over Mr. Ahmadinejad’s earlier appearances, there was no advance publicity.

The gathering, which included an audience of about 140 other religious leaders, was organized by the Mennonites and Quakers, churches known for their commitment to pacifism.