class

Agent::AsteriskState

Inherits Agent::SoftswitchState < Reference < Object

Constants

EVENTS_TO_PROCESS = ["VIRTUAL", "Newchannel", "Newstate", "DeviceStateChange", "Hangup", "QueueParams", "QueueMember", "AgentConnect", "AgentComplete", "AgentCalled", "AgentRingNoAnswer", "QueueStatus", "OriginateResponse"] of ::String

Constructors

new(softswitch_id : String, driver_config_path = nil)
Source

Instance methods

bootstrap
Source
get_channel_var(channel : String, variable : String) : String | Nil

Get channel variable using AMI GetVar

Source
handle_action(action : Agent::Action) : Array(Agent::Event)
Source
interface_command(command : String, input : Hash(String, String), capture : CaptureConfig | Nil = nil) : Array(Agent::Event)
Source
next_platform_events
Source
set_channel_var(channel : String, variable : String, value : String)
Source
setup(config, driver_config_path = nil)
Source
software
Source
version
Source

Nested types