President Barack Obama suggested to visiting Russian President Dmitry Medvedev that it might be time to toss out the red phone from Cold War days and open new lines of communication between the United States and Russia — Twitter.