PAMI\Message\Event\ParkedCallEvent
Event triggered when a call is parked.
PHP Version 5
- Author: Marcelo Gornstein <marcelog@gmail.com>
- License: http://marcelog.github.com/PAMI/ Apache License 2.0
Synopsis
class ParkedCallEvent
extends EventMessage
{
- // methods
- public string getPrivilege()
- public string getParkinglot()
- public string getFrom()
- public string getTimeout()
- public string getConnectedLineNum()
- public string getConnectedLineName()
- public string getChannel()
- public string getCallerIDNum()
- public string getCallerIDName()
- public string getUniqueID()
- public string getExtension()
- public string getParkeeChannel()
- public string getParkeeChannelState()
- public string getParkeeChannelStateDesc()
- public string getParkeeCallerIDNum()
- public string getParkeeCallerIDName()
- public string getParkeeConnectedLineNum()
- public string getParkeeConnectedLineName()
- public string getParkeeAccountCode()
- public string getParkeeContext()
- public string getParkeeExten()
- public string getParkeePriority()
- public string getParkeeUniqueid()
- public string getParkerDialString()
- public string getParkingSpace()
- public string getParkingTimeout()
- public string getParkingDuration()
- // 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
- getCallerIDName() — Returns key: 'CallerIDName'.
- getCallerIDNum() — Returns key: 'CallerIDNum'.
- getChannel() — Returns key: 'Channel'.
- getConnectedLineName() — Returns key: 'ConnectedLineName'.
- getConnectedLineNum() — Returns key: 'ConnectedLineNum'.
- getExtension() — Returns key: 'Exten'.
- getFrom() — Returns key: 'From'.
- getParkeeAccountCode() — Returns key: 'ParkeeAccountCode'.
- getParkeeCallerIDName() — Returns key: 'ParkeeCallerIDName'.
- getParkeeCallerIDNum() — Returns key: 'ParkeeCallerIDNum'.
- getParkeeChannel() — Returns key: 'ParkeeChannel'.
- getParkeeChannelState() — Returns key: 'ParkeeChannelState'.
- getParkeeChannelStateDesc() — Returns key: 'ParkeeChannelStateDesc'.
- getParkeeConnectedLineName() — Returns key: 'ParkeeConnectedLineName'.
- getParkeeConnectedLineNum() — Returns key: 'ParkeeConnectedLineNum'.
- getParkeeContext() — Returns key: 'ParkeeContext'.
- getParkeeExten() — Returns key: 'ParkeeExten'.
- getParkeePriority() — Returns key: 'ParkeePriority'.
- getParkeeUniqueid() — Returns key: 'ParkeeUniqueid'.
- getParkerDialString() — Returns key: 'ParkerDialString'.
- getParkingDuration() — Returns key: 'ParkingDuration'.
- getParkingSpace() — Returns key: 'ParkingSpace'.
- getParkingTimeout() — Returns key: 'ParkingTimeout'.
- getParkinglot() — Returns key: 'Parkinglot'.
- getPrivilege() — Returns key: 'Privilege'.
- getTimeout() — Returns key: 'Timeout'.
- 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.