Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/phpagi-asmanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,20 @@ function Command($command, $actionid=null)
if($actionid) $parameters['ActionID'] = $actionid;
return $this->send_request('Command', $parameters);
}

/**
* Core Show Channels
*
* @link https://www.voip-info.org/asterisk-manager-api/#ManagerActions
* @param string $actionid message matching variable
*/
function CoreShowChannels($actionid=NULL)
{
if($actionid)
return $this->send_request('CoreShowChannels', array('ActionID'=>$actionid));
else
return $this->send_request('CoreShowChannels');
}

/**
* Enable/Disable sending of events to this manager
Expand Down