Asterisk Recordings Convert Seconds

By Dave Dill Last update Nov 11, 2008 — Installed 46 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 2 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Dave Dill Script's Author

Updated/corrected comments in code...

 
Dave Dill Script's Author

Corrected issue with replace statement that caused problems when Time column had double 0's (e.g., 14:00:23) For the technically minded, it required a change in the replacement statement (e.g., m=m.replace(/^0+/,''); to m=m.replace(/^0?/,''); )

 
Dave Dill Script's Author

Updated on 10/31 to provide Time 2 field with call end time.

 
Dave Dill Script's Author

This script is to convert the duration field in Asterisk's phone monitor page from seconds to minutes (http://asterisk/recordings/index.php?m=Callmonitor).

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel