Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

126 lines (117 sloc) 3.021 kB
Introduction
============
Before anything at all: There is no official release yet. Although
it only lacks some actions and events, so it's not that bad really ;).
PAMI means PHP Asterisk Manager Interface. As its name suggests its just a
set of php classes that will let you issue commands to an ami and/or receive
events, using an observer-listener pattern.
The idea behind this, is to easily implement operator consoles, monitors, etc.
either via SOA or ajax.
--------------------------------------------------------------------------------
Asterisk versions supported
===========================
PAMI is tested in asterisk 1.6 versions, just because this is the version
I use in my boxes. If you need support for other versions, please contact me.
--------------------------------------------------------------------------------
Example
=======
Please see docs/examples/quickstart/example.php for a very basic example.
--------------------------------------------------------------------------------
Currently Supported Events
==========================
More events will be added with time. I can only add the ones I can test for and
use, so your contributions may make the difference! ;)
Unknown (not yet implemented) events will be reported as UnknownEvent, so you
can still catch them. If you catch one of these, please report it!
* AgentsComplete
* AGIExec
* Bridge
* ChannelUpdate
* CoreShowChannel
* CoreShowChannelComplete
* DAHDIShowChannel
* DAHDIShowChannelsComplete
* Dial
* DTMF
* Extension
* Hangup
* Hold
* Masquerade
* NewAccountCode
* NewCallerid
* Newchannel
* Newexten
* Newstate
* ParkedCallsComplete
* PeerEntry
* PeerlistComplete
* PeerStatus
* RegistrationsComplete
* Rename
* RTCPReceived
* RTCPReceiver
* RTCPSent
* RTPReceiverStat
* RTPSenderStat
* Status
* StatusComplete
* Transfer
* Unlink
* VarSet
* VoicemailUserEntry
* VoicemailUserEntryComplete
--------------------------------------------------------------------------------
Currently Supported Actions
===========================
* AbsoluteTimeout
* Agents
* AgentLogoff
* Atxfer (asterisk 1.8?)
* Bridge
* Command
* CoreSettings
* CoreShowChannels
* CoreStatus
* DAHDIDialOffHookAction
* DAHDIHangup
* DAHDIRestart
* DAHDIShowChannels
* DAHDIDNDOn
* DAHDIDNDOff
* DBGet
* DBPut
* DBDel
* DBDelTree
* CreateConfig
* GetConfig
* GetConfigJSON
* GetVar
* Hangup
* Login
* Logoff
* ListCategories
* ListCommands
* MailboxCount
* MailboxStatus
* Originate
* ParkedCalls
* Ping
* PlayDTMF
* Queues
* Redirect
* Reload
* SendText
* SetVar
* Sippeers
* Sipqualifypeer
* Sipshowregistry
* Status
* VoicemailUsersList
--------------------------------------------------------------------------------
Developers
==========
* build.xml is a phing build file, not ant.
* It's very possible that you may need to edit build.properties.
* Available main targets: all, build, test, report.
* Tools run: phpdoc, phploc, phpcs, phpmd, phpcpd, phpdepend, phpunit.
--------------------------------------------------------------------------------
Jump to Line
Something went wrong with that request. Please try again.