<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>&nbsp;</DIV>
<DIV>(2639) ERROR: reloadFile (SemsConfiguration.cpp:178): /usr/local/etc/sems/sems.conf:123&nbsp; configuration error: duplicate declaration for config.announcement<BR>(2639) ERROR: reportConfigError (SemsConfiguration.cpp:274): /usr/local/etc/sems/sems.conf:113&nbsp; configuration: this is the previous location<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>But line113==&gt;&nbsp; config.announcement=inline</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; line 123==&gt;&nbsp; config.announcement=end<BR></DIV>
<DIV>and&nbsp;I use sems.conf.sample as &nbsp;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&nbsp; # i like this option<BR>#</DIV>
<DIV>&nbsp;</DIV>
<DIV>##################################<BR># global parameters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<BR>##################################</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: fork={yes|no}<BR># <BR># - specifies if sems should run in daemon mode (background)<BR>#&nbsp;&nbsp; (fork=no is the same as -E)<BR>fork=yes</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: stderr={yes|no}<BR>#<BR># - debug mode: do not fork and log to stderr<BR>#&nbsp;&nbsp; (stderr=yes is the same as -E)<BR>stderr=no</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: loglevel={0|1|2|3}<BR>#<BR># - sets log level (error=0, warning=1, info=2, debug=3)<BR>#&nbsp;&nbsp; (same as -D)<BR>loglevel=1</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: fifo_name=&lt;filename&gt;<BR>#<BR># - path and file name of our fifo file (same as -i)<BR>fifo_name=/tmp/am_fifo</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: ser_fifo_name=&lt;filename&gt;<BR>#<BR># - path and file name of Ser's fifo file (same as -o)<BR>ser_fifo_name=/tmp/ser_fifo</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: plugin_path=&lt;path&gt;<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>&nbsp;</DIV>
<DIV># optional parameter: smtp_server=&lt;hostname&gt;<BR>#<BR># - sets address of smtp server<BR>smtp_server=localhost</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: smtp_port=&lt;port&gt;<BR>#<BR># - sets port of smtp server<BR>smtp_port=25</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: rtp_low_port=&lt;port&gt;<BR>#<BR># - sets port of rtp lowest server<BR>#rtp_low_port=1024</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: rtp_high_port=&lt;port&gt;<BR>#<BR># - sets port of rtp highest server<BR>#rtp_high_port=65535</DIV>
<DIV>&nbsp;</DIV>
<DIV>##################################<BR># module specific parameters&nbsp;&nbsp;&nbsp;&nbsp; #<BR>##################################</DIV>
<DIV>&nbsp;</DIV>
<DIV># sample voicemail configuration (inline)<BR>config.voicemail=inline</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: rec_file_extension=&lt;ext&gt;<BR># <BR># - sets the file extension which will be used<BR>#&nbsp;&nbsp; to record messages.<BR># - example 1: wav<BR># - example 2: mp3<BR>#<BR># WARNING: you must compile the mp3 plug-in<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in order to use 'mp3' as default<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extension. You will need the lame<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encoder for that.<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; See plug-in/mp3/ReadmeMP3.txt for<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; more information.<BR>#<BR>rec_file_extension=wav</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: announce_path=&lt;path&gt;<BR># <BR># - sets the path where announce files are searched for<BR># - the file to be played is determined the following way:<BR>#&nbsp;&nbsp; &lt;announce_path&gt;/&lt;domainname&gt;/&lt;username&gt;.wav<BR>#&nbsp;&nbsp; if this file is not available &lt;announce_path&gt;/&lt;default_anounce&gt; is used<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV>&nbsp;</DIV>
<DIV># parameter: default_announce=&lt;filename&gt;<BR># <BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV>&nbsp;</DIV>
<DIV># parameter: max_record_time=&lt;seconds&gt;<BR>#<BR># - maximum record time<BR>max_record_time=30</DIV>
<DIV>&nbsp;</DIV>
<DIV># parameter: accept_delay=&lt;x&gt;<BR># <BR># - delays accepting of the call for x seconds<BR># - default value is 0<BR>accept_delay=0</DIV>
<DIV>&nbsp;</DIV>
<DIV># parameter: email_template=&lt;filename&gt;<BR>#<BR># - email template file<BR># <BR># See the README file in &lt;sems-src&gt;/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>&nbsp;</DIV>
<DIV># end of configuration section for voicemail module<BR>config.voicemail=end</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR># sample announcement configuration (inline)<BR>config.announcement=inline</DIV>
<DIV>&nbsp;</DIV>
<DIV># optional parameter: announce_path=&lt;path&gt;<BR># <BR># - sets the path where announce files are searched for<BR>announce_path=/usr/local/lib/sems/audio/</DIV>
<DIV>&nbsp;</DIV>
<DIV># parameter: default_announce=&lt;filename&gt;<BR># <BR># - sets the name of the default announce WAV file<BR>default_announce=default_en.wav</DIV>
<DIV>&nbsp;</DIV>
<DIV># end of configuration section for announcement module<BR>config.announcement=end</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR># sample isdngw module configuration (external file)<BR># config.isdngw=/etc/isdngw.conf</DIV>
<DIV>&nbsp;</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># (&lt;local part in r-uri&gt;.py for python, &lt;local part in r-uri&gt;.pl for perl)<BR># in the directory &lt;ivr_script_path&gt;&lt;domain&gt;, then for <BR># &lt;ivr_script_path&gt;&lt;domain&gt;&lt;ivr_script_file&gt;. If this is&nbsp; not found,<BR># &lt;ivr_script_path&gt;/&lt;local part in r-uri&gt;.py if searched, <BR># and if this is not found, &lt;ivr_script_path&gt;/&lt;ivr_script_file&gt; 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>&nbsp; #parameter: ivr_script_path:<BR>&nbsp; # path to ivr scripts.<BR>&nbsp; # <BR>&nbsp; ivr_script_path=/etc/ivr/<BR>&nbsp; # default script file: this will be executed if &lt;user&gt;.py does not exist.<BR>&nbsp; #<BR>&nbsp; ivr_script_file=ivr.py</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; # parameter : tts_caching<BR>&nbsp; # &nbsp;y or n<BR>&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text will be read from waves already synthesized and <BR>&nbsp; #&nbsp;cached in cache_path <BR>&nbsp; tts_caching=y</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; # parameter : tts_cache_path<BR>&nbsp; # &nbsp;path to cache waves<BR>&nbsp; # &nbsp;path must exist! <BR>&nbsp; tts_cache_path=/tmp/wavs<BR># end of configuration section for ivr module<BR>config.ivr=end</DIV>
<DIV>&nbsp;</DIV>
<DIV># sample conference configuration (inline)<BR>config.conference=inline</DIV>
<DIV>&nbsp;</DIV>
<DIV># parameter: default_announce=&lt;filename&gt;<BR>#<BR># - sets the full pathed name of the default announce WAV file.<BR>#&nbsp;&nbsp; Will be played to lonely users.<BR>default_announce=/usr/local/lib/sems/audio/first_participant.wav</DIV>
<DIV>&nbsp;</DIV>
<DIV># end of configuration section for conference module<BR>config.conference=end</DIV>
<DIV>&nbsp;</DIV>
<DIV># example configuration for number reader<BR>config.number_reader=inline</DIV>
<DIV>&nbsp;</DIV>
<DIV>number_path=/usr/local/lib/sems/audio/</DIV>
<DIV>&nbsp;</DIV>
<DIV>prolog_file=welcome_to_number_reader.wav</DIV>
<DIV>&nbsp;</DIV>
<DIV>epilog_file=thanks_calling_number_reader.wav</DIV>
<DIV>&nbsp;</DIV>
<DIV># end of number_reader configuration<BR>config.number_reader=end</DIV>
<DIV>&nbsp;</DIV>
<DIV># add more module configurations here (inline or external):<BR>#<BR># config.mymodule=&lt;filename&gt;<BR>#&nbsp; or<BR># config.mymodule=inline<BR># ...<BR># config.mymodule=end</DIV>
<DIV>&nbsp;</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>