Sha256: aee7d395f05631fc463401b36dbbcf233cddedef7a14ebd830a44ba6836c1811
Contents?: true
Size: 434 Bytes
Versions: 52
Compression:
Stored size: 434 Bytes
Contents
require "fsr/app" module FSR module App # http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_hangup class Hangup < Application def initialize(cause = nil) @cause = cause end def arguments @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
Version data entries
52 entries across 52 versions & 2 rubygems