I had setup Voicemail 2 Email myself 8-9 months back. It worked like a charm.
Now I am trying to do it again. It works perfectly OK if I do not change anything. I am able to send mails out to my hotmail and google account instantly.
However, in the subject line, it shows Asterisk PBX
Where is the ***** (profanity removed by forum admin) is this coming from, it is not within my vm_general.inc or vm_email.inc. Perhaps, I believe my settings are overridden
[PBX]: New message 18 in mailbox 7919726
From: Asterisk PBX ([email protected])
Medium riskYou may not know this sender.Mark as safe|Mark as junk
Sent: Sat 12/26/09 11:07 AM
To: Rehman ([email protected])
Dear Rehman:
Just wanted to let you know you were just left a 0:06 long message (number 18)
in mailbox 7919726 from Mohammed Wahid, on Saturday, December 26, 2009 at 10:07:00 AM so you might
want to check it when you get a chance. Thanks!
First, have you reloaded Asterisk after you changed the message in vm_email.inc?
Second, look at the header in the email, does it look like it is from your server?
I’ve been using this stuff for almost 2 years now. The header definitely is from my server. I’ve already posted the email and the mail log in this thread.
I just want to where is the asterisk user writing the email prior to delivering it.
The emailsubject is in either voicemail.conf or in vm_email.inc.
If you DONT have any $emailbody= or $emailsubject= it defaults for the subject to:
Subject: [PBX]: New %s message %d in mailbox %s
And for the body it defaults to:
Dear %s: Just wanted to let you know you were just left a
%s long message (number %d) in mailbox %s from %s,
on %s so you might want to check it when you get a chance.
Thanks!
--Asterisk
Define $emailsubject= and $emailbody= to what you want, the do a reload of the app_voicemail module so it will be read by the module.
Check that the files are with correct permissions so that Asterisk can read them.
Hi.
Since the last freepbx (2.6) update, the email content have changed.
into vm_email.inc, I’ve this.
emailsubject=
emailbody=
into voicemail.conf there’s this:
[general] #include vm_general.inc #include vm_email.inc
[default]
And all the permissions are right:
-rw-rw-r-- 1 asterisk asterisk 609 jan 9 12:47 vm_email.inc
-rw-rw-r-- 1 asterisk asterisk 906 jan 8 17:04 vm_general.inc
-rw-rw-r-- 1 asterisk asterisk 766 jan 9 12:37 voicemail.conf
into vm_general.inc I’ve this:
format=wav49|wav
tz=paris24
attach=yes
pbxskip=yes ; Don’t put [PBX]: in the subject line [email protected] ; Who the e-mail notification should appear to come from
fromstring=Boite Vocale ; Real name of email sender
maxmessage=180 ; max length of vm message
minmessage=3 ; Minimum length of a voicemail message in seconds
maxsilence=5 ; Wait for 5 silent seconds and end the voicemail
silencethreshold=128 ; What do we consider to be silence
skipms=3000 ; How many miliseconds to skip forward/back when rew/ff in message playback
review=yes ; Allow sender to review/rerecord their message before saving it
operator=yes ; Allow caller to press 0
nextaftercmd=yes ; Automagically play next message when current message is deleted or saved
[zonemessages]
paris24=Europe/Paris|‘vm-received’ Q ‘digits/at’ R
and the result is always:
Dear Chambre Patou:
Just wanted to let you know you were just left a...etc
it’s stupid no!!??
Why this change?
it worked well before this update!