Talks are under way in Islamabad, as the Pakistani government acts as mediator between the US and Iran.