lib/fsr/app/hangup.rb in freeswitcher-0.6.12 vs lib/fsr/app/hangup.rb in freeswitcher-0.6.13
- old
+ new
@@ -6,16 +6,11 @@
def initialize(cause = nil)
@cause = cause
end
def arguments
- @cause
+ [@cause]
end
-
- def sendmsg
- "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\n\n" % [app_name, arguments]
- end
-
end
register(:hangup, Hangup)
end
end