Pakistan 's president , Pervez Musharraf , and President Hamid Karzai talked by telephone for an hour on Tuesday , a day after the Afghan intelligence service said it had arrested three Pakistanis who were trying to assassinate the American ambassador , Zalmay Khalilzad . ''