You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/doc/Readme.voicemail

71 lines
2.0 KiB

*****************************
* Voicemail email templates *
*****************************
Email templates will help you to customize the emails
sended by Voicemail. Just configure the path where the
templates can be found and edit your template files.
You will find detailed informations in the following
sections.
Configuration parameters within voicemail section:
--------------------------------------------------
email_template_path:
- sets the directory which will be searched for
email template files (*.template).
- each template file stands for a different domain:
<domain>.template
Ex: iptel.org.template
- additionaly, a default template must be present in
the directory configured with that configuration
parameter. It must be named 'default.template'.
If you configured email_template_path well and turned debug informations
on, you should find in the log file during loading process following lines:
(9834) DEBUG: loadEmailTemplates (AnswerMachine.cpp:102): loading plug-in/voicemail/default.template ...
(9834) DEBUG: loadEmailTemplates (AnswerMachine.cpp:102): loading plug-in/voicemail/iptel.org.template ...
(9834) DEBUG: loadEmailTemplates (AnswerMachine.cpp:102): loading plug-in/voicemail/susie.at.template ...
Email template format:
----------------------
to: <destination email address>
from: <source email address>
subject: <subject line>
[header: <additional header>]
<empty line>
<body>
The optional header line adds a freely configurable
header to the mail. For example, the voicemail can be
securely filtered for the header X-Content if the following
is used in the voicemail template:
header: X-Content: Voicemail
This line is optional.
Variables:
----------
If you want to customize the email depending on call datas,
please use folowing syntax: %variable%
Following variables are supported:
- %to% : local URI.
- %domain% : local domain.
- %user% : local user.
- %email% : email address of the local user.
- %from% : remote URI.
- %from_user% : remote user.
- %from_domain% : remote domain.