Méthode |
Description |
|
action ( string $action, callable $cb, array $params = null, array $assertion = null ) : void |
For almost any actions in Action: ListCommands
Privilege: depends on $action |
|
coreShowChannels ( callable $cb ) : void |
Action: CoreShowChannels
Synopsis: List currently active channels
Privilege: system,reporting,all
Description: List currently defined channels and some information
about them. |
|
extensionState ( array $params, callable $cb ) : void |
Action: ExtensionState
Synopsis: Get an extension's state. |
|
getConfig ( string $filename, callable $cb ) : void |
Action: GetConfig
Synopsis: Retrieve configuration
Privilege: system,config,all
Description: A 'GetConfig' action will dump the contents of a configuration
file by category and contents or optionally by specified category only. |
|
getConfigJSON ( string $filename, callable $cb ) : void |
Action: GetConfigJSON
Synopsis: Retrieve configuration
Privilege: system,config,all
Description: A 'GetConfigJSON' action will dump the contents of a configuration
file by category and contents in JSON format. This only makes sense to be used
using rawman over the HTTP interface. |
|
getIaxPeers ( callable $cb ) : void |
Action: IAXpeerlist
Synopsis: List IAX Peers
Privilege: system,reporting,all |
|
getSipPeers ( callable $cb ) : void |
Action: SIPpeers
Synopsis: List SIP peers (text format)
Privilege: system,reporting,all
Description: Lists SIP peers in text format with details on current status. |
|
gracefulShutdown ( ) : boolean |
Called when the worker is going to shutdown |
|
logoff ( callable $cb = null ) : void |
Action: Logoff
Synopsis: Logoff Manager
Privilege:
Description: Logoff this manager session
Variables: NONE |
|
onConnected ( $cb ) : void |
Execute the given callback when/if the connection is handshaked |
|
onEvent ( callable $cb ) : void |
Called when event occured |
|
onFinish ( ) : void |
Called when session finishes |
|
onRead ( ) : void |
Called when new data received |
|
onReady ( ) : void |
Called when the connection is handshaked (at low-level), and peer is ready to recv. data |
|
originate ( array $params, callable $cb ) : void |
Action: Originate
Synopsis: Originate a call
Privilege: call,all
Description: first the Channel is rung. Then, when that answers, the Extension is dialled within the Context
to initiate the other end of the call. |
|
ping ( callable $cb ) : void |
Action: Ping
Description: A 'Ping' action will ellicit a 'Pong' response. Used to keep the
manager connection open. |
|
redirect ( array $params, callable $cb ) : void |
Action: Redirect
Synopsis: Redirect (transfer) a call
Privilege: call,all
Description: Redirect (transfer) a call. |
|
setVar ( string $channel, string $variable, string $value, callable $cb ) : void |
Action: Setvar
Synopsis: Set Channel Variable
Privilege: call,all
Description: Set a global or local channel variable. |
|
status ( callable $cb, string $channel = null ) : void |
Action: Status
Synopsis: Lists channel status
Privilege: system,call,reporting,all
Description: Lists channel status along with requested channel vars. |
|