[asterisk-users] Asterisk voicemail

Chris Rowson christopherrowson at gmail.com
Tue Oct 14 06:03:37 CDT 2008


>>> Hi folks,
>>>
>>> I'm working on a solution using the Asterisk voicemail component and
>>> wondered if anyone knew the answer to this question please?
>>>
>>> I understand that Asterisk saves voicemail to
>>> /var/spool/asterisk/voicemail/<context>/<mailbox>/INBOX/  but I
>>> wondered if * creates the file in memory (or tmp/or wherever) and then
>>> loads the completed file into that directory, or if it writes the file
>>> to the directory directly, appending it till the recording is
>>> finished?
>>
>> Sorry to reply to my own post! I notice a tmp directory at
>> /var/spool/asterisk/voicemail/<context>/<mailbox>/tmp/ I'm wondering
>> if this is where the file is created, and then moved to the INBOX
>> folder perhaps?
>
> I'm not sure about voicemails, perhaps they have temporary storage in
> /tmp/, however there's more general option for asterisk. See "man
> asterisk", there's command -t which could be passed at asterisk
> startup, then asterisk will write all files in /var/spool/asterisk/tmp
> (allocating empty filename before), and after recording finishes it
> will move them to correct location.
>
> Regards,
> Atis

Thanks Atis, I just brought up the Asterisk man page online and see
the command you're talking about.

"-t When recording files, write them first into a temporary holding
directory, then move them into the final location when done. "

I'll give it a try and see what it does.

Chris



More information about the asterisk-users mailing list