Work around mangled .number fields in the results database - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit d7fb0c6cad3cfc79d812be3accec650a0b7d94c5
 (DIR) parent b4771a83b97259eb24dc6e07ff8b00d239c7a747
 (HTM) Author: HD Moore <hd_moore@rapid7.com>
       Date:   Sun, 10 May 2009 13:44:14 +0000
       
       Work around mangled .number fields in the results database
       
       
       Diffstat:
         M bin/export_list.rb                  |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/bin/export_list.rb b/bin/export_list.rb
       @@ -45,7 +45,7 @@ end
        
        begin
                job = DialJob.find(job.to_i)
       -        job.dial_results.sort{|a,b| a.number <=> b.number}.each do |r|
       +        job.dial_results.sort{|a,b| a.number.to_i <=> b.number.to_i}.each do |r|
                        if(not typ or typ.downcase == (r.line_type||"").downcase)
                                puts "#{r.number}\t#{r.line_type}\tbusy=#{r.busy}\tring=#{r.ringtime}"
                        end