Module: RubyAsterisk
- Defined in:
- lib/ruby-asterisk/parsing_constants.rb,
lib/ruby-asterisk/error.rb,
lib/ruby-asterisk/request.rb,
lib/ruby-asterisk/version.rb,
lib/ruby-asterisk/response.rb,
lib/ruby-asterisk/ami/event.rb,
lib/ruby-asterisk/agi/server.rb,
lib/ruby-asterisk/ami/client.rb,
lib/ruby-asterisk/ami/parser.rb,
lib/ruby-asterisk/ari/client.rb,
lib/ruby-asterisk/agi/session.rb,
lib/ruby-asterisk/ami/promise.rb,
lib/ruby-asterisk/ami/reactor.rb,
lib/ruby-asterisk/agi/protocol.rb,
lib/ruby-asterisk/ari/websocket.rb,
lib/ruby-asterisk/response_parser.rb,
lib/ruby-asterisk/ami/commands/sip.rb,
lib/ruby-asterisk/response_builder.rb,
lib/ruby-asterisk/ami/commands/queue.rb,
lib/ruby-asterisk/ari/resources/base.rb,
lib/ruby-asterisk/ami/commands/system.rb,
lib/ruby-asterisk/ami/commands/channel.rb,
lib/ruby-asterisk/ami/commands/mailbox.rb,
lib/ruby-asterisk/ami/commands/monitor.rb,
lib/ruby-asterisk/ari/resources/bridge.rb,
lib/ruby-asterisk/ari/resources/channel.rb,
lib/ruby-asterisk/ami/commands/extension.rb,
lib/ruby-asterisk/ari/resources/endpoint.rb,
lib/ruby-asterisk/ari/resources/playback.rb,
lib/ruby-asterisk/ami/commands/conference.rb,
lib/ruby-asterisk/ari/websocket/heartbeat.rb,
lib/ruby-asterisk/ari/websocket/reconnect.rb,
lib/ruby-asterisk/ari/resources/collection.rb,
lib/ruby-asterisk/ari/websocket/connection.rb,
lib/ruby-asterisk/ami/event_list_aggregation.rb,
lib/ruby-asterisk/ari/websocket/event_handlers.rb,
lib/ruby-asterisk/ari/websocket/socket_adapter.rb
Overview
File containing parsing constants
Defined Under Namespace
Modules: AGI, AMI, ARI Classes: Error, HangupError, Request, Response, ResponseBuilder, ResponseParser
Constant Summary collapse
- VERSION =
'1.0.0'- DESCRIPTIVE_STATUS =
{ '-1' => 'Extension not found', '0' => 'Idle', '1' => 'In Use', '2' => 'Busy', '3' => 'Unavailable', '4' => 'Ringing', '5' => 'On Hold' }.freeze
- PARSE_DATA =
{ 'CoreShowChannels' => { symbol: :channels, search_for: 'Event: CoreShowChannel', stop_with: 'Event: CoreShowChannelsComplete' }, 'ParkedCalls' => { symbol: :calls, search_for: 'Event: ParkedCall', stop_with: nil }, 'Originate' => { symbol: :dial, search_for: 'Event: Dial', stop_with: nil }, 'MeetMeList' => { symbol: :rooms, search_for: 'Event: MeetmeList', stop_with: nil }, 'ConfbridgeListRooms' => { symbol: :rooms, search_for: 'Event: ConfbridgeListRooms', stop_with: nil }, 'ConfbridgeList' => { symbol: :channels, search_for: 'Event: ConfbridgeList', stop_with: nil }, 'Status' => { symbol: :status, search_for: 'Event: Status', stop_with: nil }, 'ExtensionState' => { symbol: :hints, search_for: 'Response: Success', stop_with: nil }, 'DeviceStateList' => { symbol: :hints, search_for: 'Response: Success', stop_with: nil }, 'SKINNYdevices' => { symbol: :skinnydevs, search_for: 'Event: DeviceEntry', stop_with: nil }, 'SKINNYlines' => { symbol: :skinnylines, search_for: 'Event: LineEntry', stop_with: nil }, 'QueuePause' => { symbol: :queue_pause, search_for: 'Response:', stop_with: nil }, 'Pong' => { symbol: :pong, search_for: 'Response:', stop_with: nil }, 'Events' => { symbol: :event_mask, search_for: 'Ping:', stop_with: nil }, 'SIPpeers' => { symbol: :peers, search_for: 'Event: PeerEntry', stop_with: nil }, 'SIPshowpeer' => { symbol: :hints, search_for: 'Response: Success', stop_with: nil } }.each_value(&:freeze).freeze