Asterisk 20 PJSIP Dialing Specific Contact from Multiple Registratons)

Dial(PJSIP/endpoint/sip:endpoint@1.2.3.4:5060)

Will dial the given URI, using the given endpoint. That is how PJSIP_DIAL_CONTACTS also works. If it’s not working, then the URI isn’t correct. Double check, ensure that it’s the right transport type, look at the PJSIP logger.