Make a phone call on a specific Voice line

How can I make a phone call on a specific voice line programmatically on iPhone XS with a normal sim as primary line and a esim as secondary line ? I tried the tel Uri but nothing worked.