[asterisk-users] Creating a Voicemail ...
Eric "ManxPower" Wieling
eric at fnords.org
Sun Jul 1 19:10:55 CDT 2007
Russell Bryant wrote:
> Gordon Henderson wrote:
>> So what I want is something like:
>>
>> exten => action,n,VoiceMailStore (mailbox at context,filename)
>
> There is no easy way to do this. As you already mentioned, one hack would be to
> manually create the files in the mailbox. However, I think you may be able to
> pull this off another way. I wonder if something like this would work. This is
> completely untested. I am just throwing out an idea. :)
I believe that Asterisk's app_voicemail uses lock files for locking
mailboxes when creating a message. IIRC, Asterisk records the voicemail
message in a temp audio file, locks the mailbox, moves the file into the
mailbox, then unlocks the mailbox.
Check the code to see what it does.
More information about the asterisk-users
mailing list