The president has warned that the United States could soon expand its attacks from boats near the coast to targets inside Venezuela, but he has also spoken by phone to its leader.