Introduction
Introduction Statistics Contact Development Disclaimer Help
Add the missing analysis cli - warvox - VoIP based wardialing tool, forked from…
Log
Files
Refs
README
---
commit e6517c2f5703fa9d1e23ebf151a1d0f57f5c17c5
parent 876e4a77972629224c7b0d14a5d5b33363f9ae1c
Author: HD Moore <[email protected]>
Date: Fri, 6 Mar 2009 02:52:52 +0000
Add the missing analysis cli
Diffstat:
A bin/analyze_result.rb | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/bin/analyze_result.rb b/bin/analyze_result.rb
@@ -0,0 +1,28 @@
+#!/usr/bin/env ruby
+###################
+
+#
+# Load the library path
+#
+base = __FILE__
+while File.symlink?(base)
+ base = File.expand_path(File.readlink(base), File.dirname(base))
+end
+$:.unshift(File.join(File.expand_path(File.dirname(base)), '..', 'lib'))
+require 'warvox'
+require 'yaml'
+
+#
+# Script
+#
+
+inp = ARGV.shift || exit(0)
+$0 = "warvox(analyzer): #{inp}"
+
+$stdout.write(
+ WarVOX::Jobs::CallAnalysis.new(
+ 0
+ ).analyze_call(
+ inp
+ ).to_yaml
+)
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.