You just specify the users email address in the voicemail.conf file,
along with their mailbox number:
see the sample file:
[default]
; Define maximum number of messages per folder for a particular context.
;maxmsg=50
2506 =>
2506,Grandstream,forrest@usasterisk.school.da.org,,attach=yes|imapuser=fbeck
1234 => 4242,Example Mailbox,root@localhost
;4200 => 9855,Mark
Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10
;4300 => 3456,Ben Rigas,ben@american-computer.net
;4310 => -5432,Sales,sales@marko.net
;4069 => 6522,Matt
Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|sayduration=yes|saydurationm=1
;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1
;4110 => 3443,Rob Flynn,rflynn@blueridge.net
;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european
2503 => 2503,Forrest Beck,jonforrest.beck@gmail.com
On 1/3/07, Doug Crompton <doug@crompton.com>
wrote:> There should be an example in your voicemail.conf
>
> Here is mine...
>
> mail is tagged from asterisk@crompton.com and sent to doug@crompton.com
>
> In voicemail.conf....
>
> mailcmd=/usr/sbin/sendmail -f asterisk@crompton.com doug@crompton.com
>
> You of course would use the mailer that your system uses. I have sendmail
> on the same system as Asterisk.
>
> There are many other things you can define for mail but all should be in
> your example voicemail.conf
>
> Doug
>
> On Wed, 3 Jan 2007, Mark Greene wrote:
>
> > Hey guys,
> >
> > I need to set up asterisk so that it sends the voicemail to the users
email.
> > I understand that I need to say "attatch=yes", but what else
needs to be
> > done. I would think that somewhere I need to specify the server that
it uses
> > to send the email, etc.
> >
> > - Mark
> >
>
>
> "Those that sacrifice essential liberty to obtain a little temporary
safety
> deserve neither liberty nor safety." -- Ben Franklin (1759)
>
> ****************************
> * Doug Crompton *
> * Richboro, PA 18954 *
> * 215-431-6307 *
> * *
> * doug@crompton.com *
> * http://www.crompton.com *
> ****************************
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>