<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="IncrediMail 1.0" name=GENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>4.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" bgColor=#ffffff background="" scroll=yes ORGYPOS="0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV>I install cvs answer_machine as sems.</DIV>
<DIV>And I try to start sems.</DIV>
<DIV>It's appear error message:</DIV>
<DIV> </DIV>
<DIV>(2639) ERROR: reloadFile (SemsConfiguration.cpp:178): /usr/local/etc/sems/sems.conf:123 configuration error: duplicate declaration for config.announcement<BR>(2639) ERROR: reportConfigError (SemsConfiguration.cpp:274): /usr/local/etc/sems/sems.conf:113 configuration: this is the previous location<BR></DIV>
<DIV> </DIV>
<DIV>But line113==> config.announcement=inline</DIV>
<DIV> line 123==> config.announcement=end<BR></DIV>
<DIV>and I use sems.conf.sample as my sems.conf file</DIV>
<DIV>could someone tell me how to solve it.</DIV>
<DIV>thanks.</DIV>
<DIV>-----</DIV>
<DIV># $Id: sems.conf.sample,v 1.17 2004/07/19 20:43:14 sayer Exp $<BR>#<BR># sems.conf.sample<BR>#<BR># Sip Express Media Server (sems)<BR># <BR># sample configuration file<BR># <BR>#<BR># whitespaces (spaces and tabs) are ignored<BR># comments start with a "#" and may be used inline<BR># <BR># example: option=value1, value2 # i like this option<BR>#</DIV>
<DIV> </DIV>
<DIV>##################################<BR># global parameters #<BR>##################################</DIV>
<DIV> </DIV>
<DIV># optional parameter: fork={yes|no}<BR># <BR># - specifies if sems should run in daemon mode (background)<BR># (fork=no is the same as -E)<BR>fork=yes</DIV>
<DIV> </DIV>
<DIV># optional parameter: stderr={yes|no}<BR>#<BR># - debug mode: do not fork and log to stderr<BR># (stderr=yes is the same as -E)<BR>stderr=no</DIV>
<DIV> </DIV>
<DIV># optional parameter: loglevel={0|1|2|3}<BR>#<BR># - sets log level (error=0, warning=1, info=2, debug=3)<BR># (same as -D)<BR>loglevel=1</DIV>
<DIV> </DIV>
<DIV># optional parameter: fifo_name=<filename><BR>#<BR># - path and file name of our fifo file (same as -i)<BR>fifo_name=/tmp/am_fifo</DIV>
<DIV> </DIV>
<DIV># optional parameter: ser_fifo_name=<filename><BR>#<BR># - path and file name of Ser's fifo file (same as -o)<BR>ser_fifo_name=/tmp/ser_fifo</DIV>
<DIV> </DIV>
<DIV># optional parameter: plugin_path=<path><BR># <BR># - sets the path to the plug-ins<BR># - may be absolute or relative to CWD<BR>plugin_path=/usr/local/lib/sems/plug-in/</DIV>
<DIV> </DIV>
<DIV># optional parameter: smtp_server=<hostname><BR>#<BR># - sets address of smtp server<BR>smtp_server=localhost</DIV>
<DIV> </DIV>
<DIV># optional parameter: smtp_port=<port><BR>#<BR># - sets port of smtp server<BR>smtp_port=25</DIV>
<DIV> </DIV>
<DIV># optional parameter: rtp_low_port=<port><BR>#<BR># - sets port of rtp lowest server<BR>#rtp_low_port=1024</DIV>
<DIV> </DIV>
<DIV># optional parameter: rtp_high_port=<port><BR>#<BR># - sets port of rtp highest server<BR>#rtp_high_port=65535</DIV>
<DIV> </DIV>
<DIV>##################################<BR># module specific parameters #<BR>##################################</DIV>
<DIV> </DIV>
<DIV># sample voicemail configuration (inline)<BR>config.voicemail=inline</DIV>
<DIV> </DIV>
<DIV># optional parameter: rec_file_extension=<ext><BR># <BR># - sets the file extension which will be used<BR># to record messages.<BR># - example 1: wav<BR># - example 2: mp3<BR>#<BR># WARNING: you must compile the mp3 plug-in<BR># in order to use 'mp3' as default<BR># extension. You will need the lame<BR># encoder for that.<BR># See plug-in/mp3/ReadmeMP3.txt for<BR># more information.<BR>#<BR>rec_file_extension=wav</DIV>
<DIV> </DIV>
<DIV># optional parameter: announce_path=<path><BR># <BR># - sets the path where announce files are searched for<BR># - the file to be played is determined the following way:<BR># <announce_path>/<domainname>/<username>.wav<BR># if this file is not available <announce_path>/<default_anounce> is used<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV> </DIV>
<DIV># parameter: default_announce=<filename><BR># <BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV> </DIV>
<DIV># parameter: max_record_time=<seconds><BR>#<BR># - maximum record time<BR>max_record_time=30</DIV>
<DIV> </DIV>
<DIV># parameter: accept_delay=<x><BR># <BR># - delays accepting of the call for x seconds<BR># - default value is 0<BR>accept_delay=0</DIV>
<DIV> </DIV>
<DIV># parameter: email_template=<filename><BR>#<BR># - email template file<BR># <BR># See the README file in <sems-src>/plug-in/voicemail<BR># for more information on the syntax used.<BR>#<BR>email_template=/usr/local/lib/sems/plug-in/mail.template</DIV>
<DIV> </DIV>
<DIV># end of configuration section for voicemail module<BR>config.voicemail=end</DIV>
<DIV> </DIV>
<DIV><BR># sample announcement configuration (inline)<BR>config.announcement=inline</DIV>
<DIV> </DIV>
<DIV># optional parameter: announce_path=<path><BR># <BR># - sets the path where announce files are searched for<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV> </DIV>
<DIV># parameter: default_announce=<filename><BR># <BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV> </DIV>
<DIV># end of configuration section for announcement module<BR>config.announcement=end</DIV>
<DIV> </DIV>
<DIV><BR># sample isdngw module configuration (external file)<BR># config.isdngw=/etc/isdngw.conf</DIV>
<DIV> </DIV>
<DIV># sample ivr module configuration (inline)<BR>config.ivr=inline<BR>#<BR>#<BR># The IVR checks for a script with the named of the callee<BR># (<local part in r-uri>.py for python, <local part in r-uri>.pl for perl)<BR># in the directory <ivr_script_path><domain>, then for <BR># <ivr_script_path><domain><ivr_script_file>. If this is not found,<BR># <ivr_script_path>/<local part in r-uri>.py if searched, <BR># and if this is not found, <ivr_script_path>/<ivr_script_file> is used.<BR>#<BR># So with a call to <A href="mailto:sayer@iptel.org">sayer@iptel.org</A> and<BR>#ivr_script_path=/etc/ivr and <BR>#ivr_script_file=ivr.py<BR># these files are checked:<BR>#/etc/ivr/iptel.org/sayer.py<BR>#/etc/ivr/iptel.org/ivr.py<BR>#/etc/ivr/sayer.py<BR>#/etc/ivr/ivr.py<BR>#<BR> #parameter: ivr_script_path:<BR> # path to ivr scripts.<BR> # <BR> ivr_script_path=/etc/ivr/<BR> # default script file: this will be executed if <user>.py does not exist.<BR> #<BR> ivr_script_file=ivr.py</DIV>
<DIV> </DIV>
<DIV> # parameter : tts_caching<BR> # y or n<BR> # text will be read from waves already synthesized and <BR> # cached in cache_path <BR> tts_caching=y</DIV>
<DIV> </DIV>
<DIV> # parameter : tts_cache_path<BR> # path to cache waves<BR> # path must exist! <BR> tts_cache_path=/tmp/wavs<BR># end of configuration section for ivr module<BR>config.ivr=end</DIV>
<DIV> </DIV>
<DIV># sample conference configuration (inline)<BR>config.conference=inline</DIV>
<DIV> </DIV>
<DIV># parameter: default_announce=<filename><BR>#<BR># - sets the full pathed name of the default announce WAV file.<BR># Will be played to lonely users.<BR>default_announce=/usr/local/lib/sems/audio/first_participant.wav</DIV>
<DIV> </DIV>
<DIV># end of configuration section for conference module<BR>config.conference=end</DIV>
<DIV> </DIV>
<DIV># example configuration for number reader<BR>config.number_reader=inline</DIV>
<DIV> </DIV>
<DIV>number_path=/usr/local/lib/sems/audio/</DIV>
<DIV> </DIV>
<DIV>prolog_file=welcome_to_number_reader.wav</DIV>
<DIV> </DIV>
<DIV>epilog_file=thanks_calling_number_reader.wav</DIV>
<DIV> </DIV>
<DIV># end of number_reader configuration<BR>config.number_reader=end</DIV>
<DIV> </DIV>
<DIV># add more module configurations here (inline or external):<BR>#<BR># config.mymodule=<filename><BR># or<BR># config.mymodule=inline<BR># ...<BR># config.mymodule=end</DIV>
<DIV> </DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN id=IncrediStamp><SPAN dir=ltr><A href="http://www.incredimail.com/index.asp?id=54475"><IMG alt="" hspace=0 src="http://www2.incredimail.com/contents/stamps/imstp_emo_en.gif" align=baseline border=0></A></SPAN></SPAN></BODY></HTML>