PlugPBX Forums
May 19, 2012, 03:55:57 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Add a usb drive?  (Read 1069 times)
ehjay
Newbie
*
Posts: 20


« on: March 26, 2010, 02:07:00 PM »

I was thinking it would be nice to throw a usb drive onto the plug for storing voicemail. Maybe just a thumbdrive would do.  That way I don't have to worry about losing voicemail on a power outage with the newer ramdisk PlugPbx setup.  Would that be an easy thing to add?  Maybe all of /var/spool/asterisk could be mounted on a usb drive.

ehjay
Logged
invictive
Newbie
*
Posts: 17


« Reply #1 on: March 26, 2010, 04:59:30 PM »

what about storing voicemail on the built in NAND flash?
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #2 on: March 26, 2010, 05:35:11 PM »

Sure just create a mount for it and perhaps setup a mount bind at start-up via a script. Easily done.

Current version would write it to SD card full time.

This new version will into RAM disk and then that would be written to SD during sync or shutdown.

You can hack it however you like. Someone could write a 'script' to look for a USB thumb drive and use that as persist storage. Sky is the limit.
Logged

-Greg
syadnom
Newbie
*
Posts: 8


« Reply #3 on: May 07, 2010, 08:04:13 AM »

I would actually suggest not writing voicemails to flash as you probably get a few each day and it will wear on the flash devices.  freepbx supports sending voicemails to imap, maybe look into that.

I have successfully pushed voicemail to me gmail account.  If your internet connection is slow this might not be a good idea but a lot of people dont have onsite email servers..
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #4 on: May 08, 2010, 06:06:57 AM »

The Flashybrid version of PlugPBX coming out uses a RAM disk for all writes, thereby removing all writes to flash disk unless a user triggers an 'save all' type command. This is addressed on our next release. Its also why we use $12-15 SD memory cards instead of the internal NAND banks on the SheevaPlug, so if bad things happen, you are out $15 dollars and not $99+ for a new SheevaPlug.

Next version will have this setup, but you can apply the feature now, its documented at length in our DEV forums. Cheers!
Logged

-Greg
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Install SimpleMachinesForum web hosting Valid XHTML 1.0! Valid CSS!