[asterisk-users] Problem with voicemail and NFS
Philipp Kempgen
philipp.kempgen at amooma.de
Wed Jun 10 06:19:57 CDT 2009
Stefan Schmidt schrieb:
> asterisk xload schrieb:
>> I have intalled Asterisk 1.4.20.1, it saves the voicemails wavs into a NFS
>> mounted directory and for an unknow reason all messages over 10 seconds was
>> recorded incorrectly, but if i save to a local directory works fine.
> you should start asterisk with -t parameter, which means that asterisk
> records the complete message to a tmp directory and then copy it to the
> final dir.
cache_record_files = yes
record_cache_dir = /tmp
in the [options] section in /etc/asterisk/asterisk.conf should
have the same effect I guess.
But I wonder why there is a problem with writing recordings to an
NFS mount directly. NFS should easily handle that.
And I'm asking myself whether the cache dir should be /var/tmp or
/tmp by default. With RAMRUN=yes in /etc/default/rcS /tmp is a tmpfs
(RAM). /var/tmp is not.
/tmp could be a good default value, unless you don't have enough
RAM to hold the recordings.
Philipp Kempgen
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de
--
More information about the asterisk-users
mailing list