| Class | Adhearsion::VoIP::DSL::Dialplan::CommandDispatcher |
| In: |
lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
|
| Parent: | Object |
Serves as a EventCommand proxy for handling EventCommands. Useful if doing any pre-processing.
For example, when sending commands over the event socket to FreeSwitch, every command must start with "api", but, when doing an originate, it must begin with an ampersand. These two pre-processors would be developed as separate CommandDispatchers.