The dialplan function is not “PJSIP_DIALPLAN_CONTACTS”. It is PJSIP_DIAL_CONTACTS. It can be retrieved using the variable route on asterisk[1] as "PJSIP_DIAL_CONTACTS(123).
The dialplan function is not “PJSIP_DIALPLAN_CONTACTS”. It is PJSIP_DIAL_CONTACTS. It can be retrieved using the variable route on asterisk[1] as "PJSIP_DIAL_CONTACTS(123).