<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [Serusers] Sems</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hello, thanks.</FONT>
</P>

<P><FONT SIZE=2>I found my problem (till now!) which was a bad sems configuration file.</FONT>
</P>

<P><FONT SIZE=2>Now voicemail is responding to the calls but I always get the message &quot;Session rejected: 404 voicemail: no email address for user &lt;1001&gt; &quot; on the caller phone.</FONT></P>

<P><FONT SIZE=2>Did you have the same problem?</FONT>
</P>

<P><FONT SIZE=2>Thanks</FONT>
</P>

<P><FONT SIZE=2>Joćo</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Atle Samuelsen [<A HREF="mailto:clona@cyberhouse.no">mailto:clona@cyberhouse.no</A>]</FONT>
<BR><FONT SIZE=2>Sent: segunda-feira, 26 de Janeiro de 2004 17:22</FONT>
<BR><FONT SIZE=2>To: Joao Sampaio</FONT>
<BR><FONT SIZE=2>Subject: Re: [Serusers] Sems</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>it looks like the same problem I had yesterday..</FONT>
</P>

<P><FONT SIZE=2>If I did understand the README file, I think the sems CVS and SER CVS</FONT>
<BR><FONT SIZE=2>works together but not SER no-Cvs + SEMS CVS. this is because of the</FONT>
<BR><FONT SIZE=2>upgrade of the fifo buffer thing.</FONT>
</P>
<BR>

<P><FONT SIZE=2>- ATle</FONT>
</P>
<BR>

<P><FONT SIZE=2>.. here's my modified default config..</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2># $Id: sems.conf.sample,v 1.11 2003/11/19 19:03:22 rco Exp $</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># sems.conf.sample</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># Sip Express Media Server (sems)</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># sample configuration file</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># whitespaces (spaces and tabs) are ignored</FONT>
<BR><FONT SIZE=2># comments start with a &quot;#&quot; and may be used inline</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># example: option=value1, value2&nbsp; # i like this option</FONT>
<BR><FONT SIZE=2>#</FONT>
</P>

<P><FONT SIZE=2>##################################</FONT>
<BR><FONT SIZE=2># global parameters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #</FONT>
<BR><FONT SIZE=2>##################################</FONT>
</P>

<P><FONT SIZE=2># optional parameter: fork={yes|no}</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - specifies if sems should run in daemon mode (background)</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; (fork=no is the same as -E)</FONT>
<BR><FONT SIZE=2>fork=yes</FONT>
</P>

<P><FONT SIZE=2># optional parameter: stderr={yes|no}</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - debug mode: do not fork and log to stderr</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; (stderr=yes is the same as -E)</FONT>
<BR><FONT SIZE=2>stderr=no</FONT>
</P>

<P><FONT SIZE=2># optional parameter: loglevel={0|1|2|3}</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets log level (error=0, warning=1, info=2, debug=3)</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; (same as -D)</FONT>
<BR><FONT SIZE=2>loglevel=1</FONT>
</P>

<P><FONT SIZE=2># optional parameter: fifo_name=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - path and file name of our fifo file (same as -i)</FONT>
<BR><FONT SIZE=2>fifo_name=/tmp/am_fifo</FONT>
</P>

<P><FONT SIZE=2># optional parameter: ser_fifo_name=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - path and file name of Ser's fifo file (same as -o)</FONT>
<BR><FONT SIZE=2>ser_fifo_name=/tmp/ser_fifo</FONT>
</P>

<P><FONT SIZE=2># optional parameter: plugin_path=&lt;path&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets the path to the plug-ins</FONT>
<BR><FONT SIZE=2># - may be absolute or relative to CWD</FONT>
<BR><FONT SIZE=2>plugin_path=/usr/local/lib/sems/plug-in</FONT>
</P>

<P><FONT SIZE=2># optional parameter: smtp_server=&lt;hostname&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets address of smtp server</FONT>
<BR><FONT SIZE=2>smtp_server=localhost</FONT>
</P>

<P><FONT SIZE=2># optional parameter: smtp_port=&lt;port&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets port of smtp server</FONT>
<BR><FONT SIZE=2>smtp_port=25</FONT>
</P>
<BR>

<P><FONT SIZE=2>##################################</FONT>
<BR><FONT SIZE=2># module specific parameters&nbsp;&nbsp;&nbsp;&nbsp; #</FONT>
<BR><FONT SIZE=2>##################################</FONT>
</P>

<P><FONT SIZE=2># sample voicemail configuration (inline)</FONT>
<BR><FONT SIZE=2>config.voicemail=inline</FONT>
</P>

<P><FONT SIZE=2># optional parameter: announce_path=&lt;path&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets the path where announce files are searched for</FONT>
<BR><FONT SIZE=2># - the file to be played is determined the following way:</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; &lt;announce_path&gt;/&lt;domainname&gt;/&lt;username&gt;.wav</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; if this file is not available &lt;announce_path&gt;/&lt;default_anounce&gt; is</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; used</FONT>
<BR><FONT SIZE=2>announce_path=/usr/local/lib/sems/audio/</FONT>
</P>

<P><FONT SIZE=2># parameter: default_announce=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets the name of the default announce WAV file</FONT>
<BR><FONT SIZE=2>default_announce=default.wav</FONT>
</P>

<P><FONT SIZE=2># parameter: max_record_time=&lt;seconds&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - maximum record time</FONT>
<BR><FONT SIZE=2>max_record_time=30</FONT>
</P>

<P><FONT SIZE=2># end of configuration section for voicemail module</FONT>
<BR><FONT SIZE=2>config.voicemail=end</FONT>
</P>
<BR>

<P><FONT SIZE=2># sample announcement configuration (inline)</FONT>
<BR><FONT SIZE=2>config.announcement=inline</FONT>
</P>

<P><FONT SIZE=2># optional parameter: announce_path=&lt;path&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets the path where announce files are searched for</FONT>
<BR><FONT SIZE=2>announce_path=/usr/local/lib/sems/audio/</FONT>
</P>

<P><FONT SIZE=2># parameter: default_announce=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets the name of the default announce WAV file</FONT>
<BR><FONT SIZE=2>default_announce=default.wav</FONT>
</P>

<P><FONT SIZE=2># end of configuration section for announcement module</FONT>
<BR><FONT SIZE=2>config.announcement=end</FONT>
</P>
<BR>

<P><FONT SIZE=2># sample isdngw module configuration (external file)</FONT>
<BR><FONT SIZE=2># config.isdngw=/etc/isdngw.conf</FONT>
</P>

<P><FONT SIZE=2># sample ivr module configuration (inline)</FONT>
<BR><FONT SIZE=2>config.ivr=inline</FONT>
</P>

<P><FONT SIZE=2>#parameter: python_script_path=&lt;full path&gt;</FONT>
<BR><FONT SIZE=2>python_script_path=/etc/ivr</FONT>
</P>

<P><FONT SIZE=2>#parameter: python_script_file=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>python_script_file=example.py</FONT>
</P>

<P><FONT SIZE=2># end of configuration section for ivr module</FONT>
<BR><FONT SIZE=2>config.ivr=end</FONT>
</P>
<BR>

<P><FONT SIZE=2># sample conference configuration (inline)</FONT>
<BR><FONT SIZE=2>config.conference=inline</FONT>
</P>

<P><FONT SIZE=2># parameter: default_announce=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># - sets the full pathed name of the default announce WAV file.</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp; Will be played to lonely users.</FONT>
<BR><FONT SIZE=2>default_announce=/usr/local/lib/sems/audio/first_participant.wav</FONT>
</P>
<BR>

<P><FONT SIZE=2># end of configuration section for conference module</FONT>
<BR><FONT SIZE=2>config.conference=end</FONT>
</P>

<P><FONT SIZE=2># example configuration for number reader</FONT>
<BR><FONT SIZE=2>config.number_reader=inline</FONT>
</P>

<P><FONT SIZE=2>number_path=/usr/local/lib/sems/audio/</FONT>
</P>

<P><FONT SIZE=2>prolog_file=/usr/local/lib/sems/audio/welcome_to_number_reader.wav</FONT>
</P>

<P><FONT SIZE=2>epilog_file=/usr/local/lib/sems/audio/thanks_calling_number_reader.wav</FONT>
</P>

<P><FONT SIZE=2># end of number_reader configuration</FONT>
<BR><FONT SIZE=2>config.number_reader=end</FONT>
</P>

<P><FONT SIZE=2># add more module configurations here (inline or external):</FONT>
<BR><FONT SIZE=2>#</FONT>
<BR><FONT SIZE=2># config.mymodule=&lt;filename&gt;</FONT>
<BR><FONT SIZE=2>#&nbsp; or</FONT>
<BR><FONT SIZE=2># config.mymodule=inline</FONT>
<BR><FONT SIZE=2># ...</FONT>
<BR><FONT SIZE=2># config.mymodule=end</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>* Joao Sampaio &lt;est-j-sampaio@ptinovacao.pt&gt; [040126 15:43]:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Hello,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I'm trying to install sems so that I can configure my ser proxy to support</FONT>
<BR><FONT SIZE=2>&gt; voicemail functions.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I have downloaded the last CVS version of sems and I'm currently running ser</FONT>
<BR><FONT SIZE=2>&gt; version 0.8.12</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I got these error every time I try to start sems:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Sems[12051]: Warning: /etc/sems/sems.conf:59&nbsp; configuration: ignoring</FONT>
<BR><FONT SIZE=2>&gt; unknown parameter announce_path </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Sems[12051]: Warning: /etc/sems/sems.conf:64&nbsp; configuration: ignoring</FONT>
<BR><FONT SIZE=2>&gt; unknown parameter default_announce </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Sems[12051]: Warning: /etc/sems/sems.conf:69&nbsp; configuration: ignoring</FONT>
<BR><FONT SIZE=2>&gt; unknown parameter max_record </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Sems[12054]: Warning: no configuration found for module announcement, maybe</FONT>
<BR><FONT SIZE=2>&gt; you want to specify config.announcement in config file. </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Sems[12054]: Error: while loading plug-in</FONT>
<BR><FONT SIZE=2>&gt; '/usr/local/lib/sems/plug-in/apps/announcement.so' </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Sems[12053]: Warning: signal 17 received </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Another question: Is ser 0.8.12 compatible with the last version of sems in</FONT>
<BR><FONT SIZE=2>&gt; CVS?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Thank you very much.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Best reagards,</FONT>
<BR><FONT SIZE=2>&gt; _______________________</FONT>
<BR><FONT SIZE=2>&gt; Jo?o Sampaio</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; PT Inova??o, SA</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; SRM - Servi?os e Redes M?veis</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; email: est-j-sampaio@ptinovacao.pt</FONT>
<BR><FONT SIZE=2>&gt; Tlf:&nbsp; +351 234511160-1907 / +351 234403421</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; Serusers mailing list</FONT>
<BR><FONT SIZE=2>&gt; serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://lists.iptel.org/mailman/listinfo/serusers" TARGET="_blank">http://lists.iptel.org/mailman/listinfo/serusers</A></FONT>
</P>

</BODY>
</HTML>