Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Live Recording on the Storage Server?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
shahidh at gmail.com
Guest





PostPosted: Thu Apr 17, 2014 5:52 am    Post subject: [asterisk-users] Live Recording on the Storage Server? Reply with quote

Hello,

I am wondering has anyone used Live Recording (monitor or mixmonitor) on to Storage Server via network 1 Gigabit connection?


Does it perform well, let say about 50 live recordings at the same time.


I am planning to make some system changes at work. I would like to put Asterisk VM on a ESXi host and the datastore will be hosted on Storage Server.


On a ESXi host, there will be a few VM's:


Asterisk VM
Windows Server VM 
Linux Web Server VM
Windows 7 VM


What I am concern that users on the workstations will browse their files (home shares) and it may interrupt asterisk live recording because it is shared on the same Storage Server?


Cheers.
Back to top
dreamer.binary at gmai...
Guest





PostPosted: Thu Apr 17, 2014 6:25 am    Post subject: [asterisk-users] Live Recording on the Storage Server? Reply with quote

hi. I would not do that due to network issues.
My approach is to record everything locally and every hour or so to move everything to a storage.
 



On Thu, Apr 17, 2014 at 1:52 PM, Shahid H <shahidh@gmail.com (shahidh@gmail.com)> wrote:
Quote:
Hello,

I am wondering has anyone used Live Recording (monitor or mixmonitor) on to Storage Server via network 1 Gigabit connection?


Does it perform well, let say about 50 live recordings at the same time.


I am planning to make some system changes at work. I would like to put Asterisk VM on a ESXi host and the datastore will be hosted on Storage Server.


On a ESXi host, there will be a few VM's:


Asterisk VM
Windows Server VM 
Linux Web Server VM
Windows 7 VM


What I am concern that users on the workstations will browse their files (home shares) and it may interrupt asterisk live recording because it is shared on the same Storage Server?


Cheers.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
paul.belanger at polyb...
Guest





PostPosted: Thu Apr 17, 2014 10:15 am    Post subject: [asterisk-users] Live Recording on the Storage Server? Reply with quote

On Thu, Apr 17, 2014 at 7:25 AM, binary dreamer
<dreamer.binary@gmail.com> wrote:
Quote:
hi. I would not do that due to network issues.
My approach is to record everything locally and every hour or so to move
everything to a storage.

+1 save yourself the headache and do this.

--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk at lists.mino...
Guest





PostPosted: Thu Apr 17, 2014 10:31 am    Post subject: [asterisk-users] Live Recording on the Storage Server? Reply with quote

On 17 Apr 2014, at 16:14, Paul Belanger <paul.belanger@polybeacon.com> wrote:
Quote:
Quote:
hi. I would not do that due to network issues.
My approach is to record everything locally and every hour or so to move
everything to a storage.
+1 save yourself the headache and do this.

I'll add another +1 to this. I've never been able to get multi-channel recording (even 3 or 4 channels) working reliably over an NFS link to another server. I suspect, with some tweaking of nfs options it might be possible, but if it ain't broke…

Just a cautionary note if you do use a cron job to move recordings to a storage device at regular intervals: make sure you use lsof or similar to check the recordings aren't actually open by asterisk at the time, otherwise interesting things will happen.

Kind regards,

Chris
--
This email is made from 100% recycled electrons


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
BryantZ at zktech.com
Guest





PostPosted: Thu Apr 17, 2014 10:52 am    Post subject: [asterisk-users] Live Recording on the Storage Server? Reply with quote

A simple way that we use to do the move is to create a cron job that looks for a .move file.
It has the same name as the recorded file. asterisk writes the .move file which is just a text file with some stats in it.
The .move file is written from the dial plan at the end of the recording.
In the exten = h we write a .delete file for an abandon call.

The cron then processes the .move and .delete files at a given interval. We actually write special instructions into our .move files that the cron parses and can then act accordingly. So we have a single smart cron job handling moves for each type of task. In some cases our .delete files are processed as moves to an abandon cache for recovery if a customer did not intend to abandon it.

The sky's the limit on how complex you want to make it, but in the long run it is fairly simple and it just works.

Thanks Bryant Zimmerman (ZK Tech Inc.) 616-855-1030 Ext. 2003

From: "Chris Bagnall" <asterisk@lists.minotaur.cc> Sent: Thursday, April 17, 2014 11:32 AM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Live Recording on the Storage Server?
On 17 Apr 2014, at 16:14, Paul Belanger <paul.belanger@polybeacon.com> wrote: >> hi. I would not do that due to network issues. >> My approach is to record everything locally and every hour or so to move >> everything to a storage. > +1 save yourself the headache and do this. I'll add another +1 to this. I've never been able to get multi-channel recording (even 3 or 4 channels) working reliably over an NFS link to another server. I suspect, with some tweaking of nfs options it might be possible, but if it ain't broke&hellip; Just a cautionary note if you do use a cron job to move recordings to a storage device at regular intervals: make sure you use lsof or similar to check the recordings aren't actually open by asterisk at the time, otherwise interesting things will happen. Kind regards, Chris -- This email is made from 100% recycled electrons -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rswagoner at gmail.com
Guest





PostPosted: Thu Apr 17, 2014 11:18 am    Post subject: [asterisk-users] Live Recording on the Storage Server? Reply with quote

On Thu, Apr 17, 2014 at 11:52 AM, Bryant Zimmerman <BryantZ@zktech.com (BryantZ@zktech.com)> wrote:

Quote:
A simple way that we use to do the move is to create a cron job that looks for a .move file.
It has the same name as the recorded file. asterisk writes the .move file which is just a text file with some stats in it.
The .move file is written from the dial plan  at the end of the recording.
In the exten = h we write a .delete file for an abandon call.
 
The cron then processes the .move and .delete files at a given interval. We actually write special instructions into our .move files that the cron parses and can then act accordingly. So we have a single smart cron job handling moves for each type of task. In some cases our .delete files are processed as moves to an abandon cache for recovery if a customer did not intend to abandon it.
 
The sky's the limit on how complex you want to make it, but in the long run it is fairly simple and it just works.
 
Thanks

Bryant Zimmerman (ZK Tech Inc.)
[url=tel:616-855-1030%20Ext.%202003]616-855-1030 Ext. 2003[/url]



We record locally and move the files to the storage server with a cron job once a minute. The script uses lsof to check to see if Asterisk is writing to the file.

/usr/sbin/lsof | grep filename | wc -l


Thanks,

Ryan
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services