Bugs: Browse | Submit New | Admin

[#8108] record_file maxtimeinseconds is not handled correctly

Date:
2007-01-24 11:40
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
record_file maxtimeinseconds is not handled correctly

Detailed description
maxtime in seconds is multiplied by 10,000 rather than 1,000 the code should read

    def record_file(filename, maxtimeinseconds, beep=false, silencedetect=2)
      beepstr = ""
      if (beep == true)
              beepstr = " BEEP "
      end

      cmd = "RECORD FILE " + filename + " gsm " + " \"*#\" " + (maxtimeinseconds
* 1000).to_s + beepstr + " s=" + silencedetect.to_s
      send(cmd)
      return get_result()
    end

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item