This old documentation is all I can find. But it does not list anything about PJSIP.
https://wiki.freepbx.org/display/FOP/Asterisk+Manager+Class
If I list the commands, it shows PJSIP commands.
But I cannot make them all execute. Here is what I get trying PJSIPShowContacts
But PJSIPShowEndpoints and PJSIPShowEndpoint both work.
My ami.php
file for testing:
<?php
// Load FreePBX bootstrap environment
require_once('/etc/freepbx.conf');
// Load AMI
global $astman;
// $test = $astman->ConfbridgeListRooms(); // works
// $test = $astman->ConfbridgeList("198"); // works
// $test = $astman->PJSIPShowAors(); // does not work
// $test = $astman->PJSIPShowContacts(); // does not work
// $test = $astman->PJSIPShowEndpoints(); // works
// $test = $astman->PJSIPShowEndpoint("103"); // works
$test = $astman->ListCommands($actionid=NULL); //works
echo "DUMP AMI RESULT BEGIN<br />\r\n<pre>\r\n";
echo var_dump($test);
echo "\r\n</pre>\r\nDUMP AMI END<br />\r\n";
?>