PAMI\Message\Action\OriginateAction
Originate action message.
PHP Version 5
- Author: Marcelo Gornstein <marcelog@gmail.com>
- License: http://marcelog.github.com/PAMI/ Apache License 2.0
Synopsis
class OriginateAction
extends ActionMessage
{
- // methods
- public void setExtension()
- public void setContext()
- public void setPriority()
- public void setApplication()
- public void setData()
- public void setTimeout()
- public void setCallerId()
- public void setAccount()
- public void setAsync()
- public void setCodecs()
- public void __construct()
- // Inherited methods from ActionMessage
- public void __construct()
- public void setActionID()
- // Inherited methods from OutgoingMessage
- public string|null getResponseHandler()
- public void setResponseHandler()
- // Inherited methods from Message
- public integer getCreatedDate()
- public void setVariable()
- public string getVariable()
- public string getKey()
- public string getBoolKey()
- public array getKeys()
- public array getVariables()
- public string serialize()
- public string getActionID()
- public void __construct()
Hierarchy
Constants
Name | Value |
---|---|
EOL | "\r\n" |
EOM | "\r\n\r\n" |
Methods
public
- __construct() — Constructor.
- setAccount() — Sets Account key.
- setApplication() — Sets Application key.
- setAsync() — Sets Async key.
- setCallerId() — Sets CallerID key.
- setCodecs() — Sets Codecs key.
- setContext() — Sets Context key.
- setData() — Sets Data key.
- setExtension() — Sets Exten key.
- setPriority() — Sets Priority key.
- setTimeout() — Sets Timeout key.
Inherited from PAMI\Message\Action\ActionMessage
public
- setActionID() — Sets Action ID.
Inherited from PAMI\Message\OutgoingMessage
public
- getResponseHandler() — Returns the class name of the response handler.
- setResponseHandler() — Set the response handler.
Inherited from PAMI\Message\Message
public
- getActionID() — Returns key: 'ActionID'.
- getBoolKey() — Returns a key by name.
- getCreatedDate() — Returns created date.
- getKey() — Returns a key by name.
- getKeys() — Returns all keys for this message.
- getVariable() — Returns a variable by name.
- getVariables() — Returns all variabels for this message.
- serialize() — Gives a string representation for this message, ready to be sent to ami.
- setVariable() — Adds a variable to this message.