Changing the email notification link information


#1

Using Asterisk @ Home

i have all voice mail messages sent to my yahoo account and in the email notification there is a link to the server. how do i change the link to specifically go to the web location on my local intranet

current email that is sent:

Michael,

There is a new voicemail in mailbox 4002:

From:	"**********" <4002>
Length:	0:04 seconds
Date:	Friday, December 16, 2005 at 09:19:09 PM

Dial *98 to access your voicemail by phone.
Visit
[color=blue]http:///cgi-bin/vmail.cgi?action=login&mailbox=4002 to[/color]
check your voicemail with a web browser.

I wanted to change the link above in blue

Thanks for any help you can give - sorry for the newbie question


#2

have a peek at /etc/asterisk/vm_email.inc with your fave editor.


#3

I don’t have that file in that directory.


#4

I editted the file in Asterisk@Home using the editor provided but now when i get the email the link is correct but the rest of the formatting is wrong - i notice the “n” in the emailbody in the vm_email.inc is where the problem is. how do i edit the file other than in the Asterisk @ Home editor it doesnt edit the file properly?


#5

not being able to see the code you’ve broken makes it kinda hard to tell you where you’ve gone wrong ! i guess you changed more than the link then ??


#6

When the code saves when you “submit” changes using the html style editor in Asterisk @ Home it doesnt save it in the same way it needs to be to be in the body of an email. The solution is log into the Asterisk @ Home server itself (root:password) and type in [color=red]nano -w /etc/asterisk/vm_email.inc[/color] and edit the file and save it from there. I did it today and worked fine. Make sure you go into Asterisk again via the web interface and “[color=darkblue]reread config[/color]” files again from the maintanence>configs window or the changes are not recognized. I found this info and lots more great info at this link:

mundy.org/blog/index.php?p=93

It is long so go to edit>find on this page… and type in vm_mail.

Have a wonderful day

Mike