Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: soprom on April 02, 2008, 04:29:37 PM

Title: Changing emailsubject
Post by: soprom on April 02, 2008, 04:29:37 PM
Hi,

How do I change emailsubject?
When I insert text in voicemail.conf, asterisk complains about the string.

WARNING[8068] config.c: No '=' (equal sign) in line 26 of /etc/asterisk/voicemail.conf
Title: Re: Changing emailsubject
Post by: SARK devs on April 02, 2008, 08:54:06 PM
Quote
emailsubject = [subject]

Specifies the subject line to be used in e-mail notifications.
Example:

emailsubject = New message from ${VM_CALLERID}


Best

S
Title: Re: Changing emailsubject
Post by: soprom on April 05, 2008, 07:53:00 AM
I'm sorry, but this confuses me...
Where is this setting?
And where can I also change the body of the message ?
Title: Re: Changing emailsubject
Post by: SARK devs on April 05, 2008, 08:20:37 AM
You can do it in headers=>voicemail.conf

Best

S
Title: Re: Changing emailsubject
Post by: del on April 06, 2008, 11:15:00 PM
Hi Selintra,

When I go to voicemail.conf under headers in server-manager this is what is there:

Quote
[general]
format=wav49
serveremail=admin@yoursite.com
attach=yes
maxmessage=300
maxgreet=30
minmessage=8
maxsilence=6

I don't see the line:

Quote
emailsubject = [subject]

Am I missing something?
Del
Title: Re: Changing emailsubject
Post by: SARK devs on April 07, 2008, 02:10:49 AM
hi del

you have to add it.

best

s
Title: Re: Changing emailsubject
Post by: soprom on April 07, 2008, 02:43:20 AM
Example I found to set email stuff in fr:
Code: [Select]
emailsubject=Nouveau message (${VM_MSGNUM} de dur\xe9e ${VM_DUR} dans la bo\xeete vocale ${VM_MAILBOX} de la part de ${VM_CALLERID}

emailbody=Cher(e) ${VM_NAME}, \n\n\tvous avez re\xe7u un nouveau message de deu\xe9e ${VM_DUR} (num\xe9ro ${VM_MSGNUM})\ndans la bo\xeete vocale du num\xe9ro ${VM_MAILBOX} de la part de ${VM_CALLERID}.\n\nPensez donc \xe0 consulter vos messages!\n\n\n\t\t\t\t\t\t\t\tVoiceMail\n
Title: Re: Changing emailsubject
Post by: del on April 07, 2008, 01:59:43 PM
hi del

you have to add it.

best

s
DUH! Sorry for being slow, but do I add it before or after what is already there?
Thanks,
Del
Title: Re: Changing emailsubject
Post by: SARK devs on April 07, 2008, 02:03:14 PM
Doesn't matter

just shove it on the end.

Best

S