About voicemail

Hi, i have some questions about voicemail.
I saw that audio messages are stored in /var/spool/asterisk/voicemail/default/; when i record a voicemail message it is written only here? There aren’t new entry, for example, on db?
Finally, a voicemail is sent to an asterisk user. I have two server and the voicemail message is sent by vm@my_domain on first and voicemail@my_domain on second. Where i can define the address of voicemail mail?

Ciao,
Stefano

I believe that you can use IMPAP for voice mail storage.

You can change the from address in voicemail.conf

I believe that you can use IMPAP for voice mail storage.

i don’t want change storage for voicemail files, i want know if exists a place where is write that a voicemail is sent from user x to user y so i can check this event.

You can change the from address in voicemail.conf

I have two asterisk servers with voicemail.conf similar. Inside there are only my voicemail extension details but the voicemail mail has a different sender if i use first or second server.

Ciao,
Stefano

I don’t fully understand what your first comment was but if you want you can set asterisk that when a message is being left for user X it will also be left on user Y’s account. If I am wrong in understanding please clarify.

To set the email address you can do:
mailcmd=/usr/sbin/sendmail -v -t -f root@localhost.localdomain or similar

Have a look at:
voip-info.org/wiki-Asterisk+ … email.conf

I don’t fully understand what your first comment was but if you want
you can set asterisk that when a message is being left for user X it will
also be left on user Y’s account. If I am wrong in understanding please
clarify.

Ok, i’ll try to be more accurate.
I call your sip number and you don’t answer my because are away. I record my message and a voicemail will be send to you by asterisk.
Now, if this action is written, for example (and semplicity) on a table, with a trigger i can simply know that a voicemail is sent on your account.
Now, how asterisk works, i can check on filesystem if there is a new audio file in /var/spool/asterisk/voicemail/default/.
I need to check this action for an automation.

Have a look at:
voip-info.org/wiki-Asterisk+ … email.conf

Tnx

Ciao,
Stefano

So who wants to see if there is a VM ? The person leaving the message or the person that got the message ?