Canonically, in the Forgotten Realms, simply knowing its (true) name is sufficient to contact a specific devil, assuming you have access to some sort of spell which could contact a generic unknown devil.
In The Devil You Know, by Erin M. Evans, a character by the name of Bisera captured an erinyes in a binding circle, which it is established has a certain condition must be met (condition defined by the caster at time of casting) in order for the devil to be released. Towards the end of their interaction, the following exchange takes place:
The erinyes smiled at her. "So we'll have more to discuss. Now: What's the circle's condition?"
Bisera matched that wicked grin. "Tell me your name."
The erinyes tilted her head. "What if I'd told you that when you asked the first time? I'd be gone in a flash, and you'd have nothing to show for it."
"Then I'd know how to find you," Bisera pointed out. "Names have power, remember."
Now, of course, this does require you to have the ability to cast a spell to summon a devil. For example, infernal calling (XGE pg. 168), although with a strict Rules As Written interpretation, it cannot summon anything higher than CR 6. So you will need to communicate with your DM to come up with the rules for such a spell/ritual. But once you have such a spell, the way to use it to communicate with a specific devil is by knowing that devil's name.