A Raleigh man was sentenced to over 15 years in federal prison after pleading guilty to trafficking fentanyl, cocaine and methamphetamine from a Cary hotel room.