PAMI\Message\Event\DialEndEvent
Event triggered when a dial action has completed.
PHP Version 5
- Author: Marcelo Gornstein <marcelog@gmail.com>
- License: http://marcelog.github.com/PAMI/ Apache License 2.0
Synopsis
class DialEndEvent
extends EventMessage
{
- // methods
- public string getPrivilege()
- public string getChannel()
- public string getChannelState()
- public string getChannelStateDesc()
- public string getCallerIDNum()
- public string getCallerIDName()
- public string getConnectedLineNum()
- public string getConnectedLineName()
- public string getAccountCode()
- public string getContext()
- public string getExten()
- public string getPriority()
- public string getUniqueid()
- public string getDestChannel()
- public string getDestChannelState()
- public string getDestChannelStateDesc()
- public string getDestCallerIDNum()
- public string getDestCallerIDName()
- public string getDestConnectedLineNum()
- public string getDestConnectedLineName()
- public string getDestAccountCode()
- public string getDestContext()
- public string getDestExten()
- public string getDestPriority()
- public string getDestUniqueid()
- public string getDialStatus()
- // Inherited methods from EventMessage
- public string getName()
- // Inherited methods from IncomingMessage
- public array __sleep()
- public string getEventList()
- public string getRawContent()
- public array getAllChannelVariables()
- public array getChannelVariables()
- public array getAllStatusVariables()
- public array getStatusVariables()
- public void __construct()
- // 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
Extends
Constants
Name | Value |
---|---|
EOL | "\r\n" |
EOM | "\r\n\r\n" |
Methods
public
- getAccountCode() — Returns key: 'AccountCode'.
- getCallerIDName() — Returns key: 'CallerIDName'.
- getCallerIDNum() — Returns key: 'CallerIDNum'.
- getChannel() — Returns key: 'Channel'.
- getChannelState() — Returns key: 'ChannelState'.
- getChannelStateDesc() — Returns key: 'ChannelStateDesc'.
- getConnectedLineName() — Returns key: 'ConnectedLineName'.
- getConnectedLineNum() — Returns key: 'ConnectedLineNum'.
- getContext() — Returns key: 'Context'.
- getDestAccountCode() — Returns key: 'DestAccountCode'.
- getDestCallerIDName() — Returns key: 'DestCallerIDName'.
- getDestCallerIDNum() — Returns key: 'DestCallerIDNum'.
- getDestChannel() — Returns key: 'DestChannel'.
- getDestChannelState() — Returns key: 'DestChannelState'.
- getDestChannelStateDesc() — Returns key: 'DestChannelStateDesc'.
- getDestConnectedLineName() — Returns key: 'DestConnectedLineName'.
- getDestConnectedLineNum() — Returns key: 'DestConnectedLineNum'.
- getDestContext() — Returns key: 'DestContext'.
- getDestExten() — Returns key: 'DestExten'.
- getDestPriority() — Returns key: 'DestPriority'.
- getDestUniqueid() — Returns key: 'DestUniqueid'.
- getDialStatus() — Returns key: 'DialStatus'.
- getExten() — Returns key: 'Exten'.
- getPriority() — Returns key: 'Priority'.
- getPrivilege() — Returns key: 'Privilege'.
- getUniqueid() — Returns key: 'Uniqueid'.
Inherited from PAMI\Message\Event\EventMessage
public
- getName() — Returns key 'Event'.
Inherited from PAMI\Message\IncomingMessage
public
- __sleep() — Serialize function.
- getAllChannelVariables() — Returns the channel variables for all reported channels.
- getAllStatusVariables() — Returns the channel variables for all reported channels.
- getChannelVariables() — Returns the channel variables for the given channel.
- getEventList() — Returns key 'EventList'. In respones, this will surely be a "start". In events, should be a "complete".
- getRawContent() — Returns the original message content without parsing.
- getStatusVariables() — Returns the channel variables for the given channel.
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.