Class: FSR::App::Hangup
- Inherits:
-
Application
- Object
- Application
- FSR::App::Hangup
- Defined in:
- lib/fsr/app/hangup.rb
Overview
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_hangup
Instance Method Summary (collapse)
- - (Object) arguments
-
- (Hangup) initialize(cause = nil)
constructor
A new instance of Hangup.
- - (Object) sendmsg
Methods inherited from Application
Constructor Details
- (Hangup) initialize(cause = nil)
A new instance of Hangup
6 7 8 |
# File 'lib/fsr/app/hangup.rb', line 6 def initialize(cause = nil) @cause = cause end |
Instance Method Details
- (Object) arguments
10 11 12 |
# File 'lib/fsr/app/hangup.rb', line 10 def arguments @cause end |
- (Object) sendmsg
14 15 16 |
# File 'lib/fsr/app/hangup.rb', line 14 def sendmsg "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\n\n" % [app_name, arguments] end |