Exception: Adhearsion::VoIP::Asterisk::Manager::ManagerInterface::UnsupportedActionName

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/adhearsion/voip/asterisk/manager_interface.rb

Overview

This class will be removed once this AMI library fully supports all known protocol anomalies.

Constant Summary collapse

UNSUPPORTED_ACTION_NAMES =
%w[
  queues
  iaxpeers
]

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UnsupportedActionName

Returns a new instance of UnsupportedActionName.



415
416
417
# File 'lib/adhearsion/voip/asterisk/manager_interface.rb', line 415

def initialize(name)
  super "At the moment this AMI library doesn't support the #{name.inspect} action because it causes a protocol anomaly. Support for it will be coming shortly."
end