<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>SEMS IVR</TITLE>

<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=208485914-04022004>Sorry,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=208485914-04022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=208485914-04022004>I've 
already solved the problem! I watched the debug of sems and realised that it 
couldn't writte to /tmp/ivr. So I created that dir and it started 
working!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=208485914-04022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=208485914-04022004>Now 
I'm having these problems and doubts:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=208485914-04022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=208485914-04022004></SPAN></FONT><FONT><SPAN 
class=208485914-04022004><FONT face=Arial color=#0000ff size=2>1st. How can I 
call the IVR to listen to my (or some user) mailbox messages? How can the caller 
be equal to the callee so that ivr.py can enter in that if condition? 
</FONT></DIV>
<DIV>
<P><FONT face=Arial color=#0000ff size=2>2nd. I try to change the python file 
script in sems.conf by I always got the ivr.py responding! If I put nothing it 
will not working(of course), but if I configured with horoscope.py I got the 
beaviour of ivr.py</FONT></P>
<P></SPAN></FONT><FONT face=Tahoma><SPAN class=208485914-04022004><FONT 
face=Arial color=#0000ff size=2>Thanks one more 
time.</FONT></SPAN></FONT></P><FONT face=Tahoma><SPAN 
class=208485914-04022004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma><SPAN class=208485914-04022004></SPAN>
<P><SPAN class=208485914-04022004></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>J<SPAN 
class=208485914-04022004>oão</SPAN></FONT></FONT></FONT></P></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT size=2><SPAN 
  class=208485914-04022004>&nbsp;</SPAN>-----Original 
  Message-----<BR><B>From:</B> Joao Sampaio 
  [mailto:est-j-sampaio@ptinovacao.pt]<BR><B>Sent:</B> quarta-feira, 4 de 
  Fevereiro de 2004 13:09<BR><B>To:</B> 'serusers@lists.iptel.org'<BR><B>Subject:</B> 
  [Serusers] SEMS IVR<BR><BR></DIV></FONT></FONT>
  <P><FONT face=Arial size=2>Hello,</FONT> </P>
  <P><FONT face=Arial size=2>I'm trying to work with the IVR from SEMS.</FONT> 
  <BR><FONT face=Arial size=2>I've looked to the example config file that is in 
  the CVS and I realised that is very similiar to the one that I have to 
  Voicemail.</FONT></P>
  <P><FONT face=Arial size=2>So, I just wrote other condition "If" in my 
  Voicemail script so that SEMS answers with IVR from requests to 
  sip:ivr@domain</FONT></P>
  <P><FONT face=Arial size=2>What is happening is that SEMS answer the call but 
  them imediatly send a BYE message and the call is terminated without no 
  answer.</FONT></P>
  <P><FONT face=Arial size=2>Does anybody had the some problem?</FONT> </P>
  <P><FONT face=Arial size=2>Here is is my Voicemail and Sems config file</FONT> 
  </P>
  <P><FONT face=Arial size=2>Thanks.</FONT> </P>
  <P><FONT face=Arial size=2>Best regards,</FONT> </P>
  <P><FONT face=Arial size=2>João</FONT> </P><BR><BR>
  <P><FONT face="Courier New" size=2>#</FONT> <BR><FONT face="Courier New" 
  size=2># $Id: voicemail.cfg,v 1.2 2003/10/10 06:27:18 jiri Exp $</FONT> 
  <BR><FONT face="Courier New" size=2>#</FONT> <BR><FONT face="Courier New" 
  size=2># this script is configured for use as voicemail UAS; it 
  processes</FONT> <BR><FONT face="Courier New" size=2># INVITEs and BYEs and 
  asks SEMS to record media via "vm"; in this</FONT> <BR><FONT 
  face="Courier New" size=2># script, all record-routing and other constructs 
  known from proxy</FONT> <BR><FONT face="Courier New" size=2># scripts are not 
  present&nbsp; -- it is a simple UAS </FONT><BR><FONT face="Courier New" 
  size=2>#</FONT> </P>
  <P><FONT face="Courier New" size=2># ----------- global configuration 
  parameters ------------------------</FONT> </P>
  <P><FONT face="Courier New" size=2>#debug= 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: 
  -dddddddddd)</FONT> <BR><FONT face="Courier New" size=2>#fork=no</FONT> 
  <BR><FONT face="Courier New" size=2>#log_stderror=yes 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd line: -E)</FONT> </P>
  <P><FONT face="Courier New" size=2>debug=4</FONT> <BR><FONT face="Courier New" 
  size=2>#fork=no</FONT> <BR><FONT face="Courier New" 
  size=2>log_stderror=yes</FONT> <BR><FONT face="Courier New" 
  size=2>check_via=no&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -v)</FONT> <BR><FONT 
  face="Courier New" size=2>dns=no&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -r)</FONT> <BR><FONT 
  face="Courier New" size=2>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -R)</FONT> <BR><FONT 
  face="Courier New" size=2>port=5090</FONT> <BR><FONT face="Courier New" 
  size=2>#children=4</FONT> <BR><FONT face="Courier New" 
  size=2>fifo="/tmp/vm_ser_fifo"</FONT> </P>
  <P><FONT face="Courier New" size=2># ------------------ module loading 
  ----------------------------------</FONT> </P>
  <P><FONT face="Courier New" size=2>loadmodule 
  "/usr/lib/ser/modules/sl.so"</FONT> <BR><FONT face="Courier New" 
  size=2>loadmodule "/usr/lib/ser/modules/tm.so"</FONT> <BR><FONT 
  face="Courier New" size=2>loadmodule "/usr/lib/ser/modules/maxfwd.so"</FONT> 
  <BR><FONT face="Courier New" size=2>loadmodule 
  "/usr/lib/ser/modules/mysql.so"</FONT> <BR><FONT face="Courier New" 
  size=2>loadmodule "/usr/lib/ser/modules/vm.so"</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>&nbsp;&nbsp;&nbsp; </FONT><BR><FONT face="Courier New" size=2># 
  ----------------- setting module-specific parameters ---------------</FONT> 
  </P>
  <P><FONT face="Courier New" size=2>modparam("voicemail", 
  "db_url","mysql://ser:heslo@localhost/ser")</FONT> </P>
  <P><FONT face="Courier New" size=2># -------------------------&nbsp; request 
  routing logic -------------------</FONT> </P>
  <P><FONT face="Courier New" size=2># main routing logic</FONT> </P>
  <P><FONT face="Courier New" size=2>route{</FONT> </P><BR>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2># initial sanity checks -- messages with</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2># max_forwars==0, or excessively long requests</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if (!mf_process_maxfwd_header("10")) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>sl_send_reply("483","Too Many Hops");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>break;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
  face="Courier New" size=2>};</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if (msg:len &gt; 
  max_len){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  #len_gt( max_len )) {</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>sl_send_reply("513", "Message too big");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>break;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
  face="Courier New" size=2>};</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if (!uri==myself) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>sl_send_reply("404", "not reponsible for host in r-uri");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>break;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
  face="Courier New" size=2>};</FONT> </P><BR>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2># Voicemail specific configuration - begin</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if(method=="ACK" || method=="INVITE" || method=="BYE")</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>if 
  (!t_newtran()) </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"could not create new transaction\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>sl_send_reply("500","could not create new transaction");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>break;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>t_reply("100","Trying -- just wait a minute !");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if(method=="INVITE")</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"**************** vm start - begin ******************\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>if 
  (uri=~"sip:9999@10.112.64.121")</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>{ 
  </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!vm("/tmp/am_fifo", 
  "announcement"))</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT face="Courier New" 
  size=2> {</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1,"couldn't contact 
  announcement server\n");</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>t_reply("500", "couldn not contact announcement server");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log("!!!!!!!!!!!!!!!!!!!!!ANNOUNCEMENT!!!!!!!!!!!!!!!!!!!!!!\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>}</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>else&nbsp; if(uri=~"sip:ivr@10.112.64.121")</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>if 
  (!vm("/tmp/am_fifo", "ivr"))</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log("could not contact ivr server\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>t_reply("500","could not contact ivr server");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>log 
  ("!!!!!!!!!!!!!!!!!!!!!!!!!IVR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>}</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>else if (uri=~"sip:conf@10.112.64.121")</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>if 
  (!vm("/tmp/am_fifo", "conference"))</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log("Could not contact conference server\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>t_reply("500","Could not contact conference server");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>log 
  ("!!!!!!!!!!!!!!!!!!!!!CONFERENCE!!!!!!!!!!!!!!!!!!!!!!!!!\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>else </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if(!vm("/tmp/am_fifo","voicemail"))</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"could not contact the answer machine\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>t_reply("500","could not contact the answer machine");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log("!!!!!!!!!!!!!!!!!!!!!!VOICEMAIL!!!!!!!!!!!!!!!!!!!!!!!!!\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"**************** vm start - end ******************\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" size=2>} 
  </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>else if(method=="BYE")</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"**************** vm end - begin ******************\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if(!vm("/tmp/am_fifo","bye"))</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"could not contact the answer machine\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>t_reply("500","could not contact the answer machine");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>log(1,"**************** vm end - end ******************\n");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>};</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>break;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
  face="Courier New" size=2>};</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>if (method=="CANCEL") 
  </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>{</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>sl_send_reply("200", "cancels are junked here");</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>break;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
  face="Courier New" size=2>};</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  size=2>sl_send_reply("501", "method not understood here");</FONT> <BR><FONT 
  face="Courier New" size=2>}</FONT> </P><BR>
  <P><FONT face=Arial 
  size=2>-------------------------------------------------------------------------------------------------------------------------------</FONT></P><BR>
  <P><FONT face="Courier New" size=2># $Id: sems.conf.sample,v 1.11 2003/11/19 
  19:03:22 rco Exp $</FONT> <BR><FONT face="Courier New" size=2>#</FONT> 
  <BR><FONT face="Courier New" size=2># sems.conf.sample</FONT> <BR><FONT 
  face="Courier New" size=2>#</FONT> <BR><FONT face="Courier New" size=2># Sip 
  Express Media Server (sems)</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># sample configuration file</FONT> 
  <BR><FONT face="Courier New" size=2># </FONT><BR><FONT face="Courier New" 
  size=2>#</FONT> <BR><FONT face="Courier New" size=2># whitespaces (spaces and 
  tabs) are ignored</FONT> <BR><FONT face="Courier New" size=2># comments start 
  with a "#" and may be used inline</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># example: option=value1, 
  value2&nbsp; # i like this option</FONT> <BR><FONT face="Courier New" 
  size=2>#</FONT> </P>
  <P><FONT face="Courier New" size=2>##################################</FONT> 
  <BR><FONT face="Courier New" size=2># global 
  parameters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  #</FONT> <BR><FONT face="Courier New" 
  size=2>##################################</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: fork={yes|no}</FONT> 
  <BR><FONT face="Courier New" size=2># </FONT><BR><FONT face="Courier New" 
  size=2># - specifies if sems should run in daemon mode (background)</FONT> 
  <BR><FONT face="Courier New" size=2>#&nbsp;&nbsp; (fork=no is the same as 
  -E)</FONT> <BR><FONT face="Courier New" size=2>fork=yes</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  stderr={yes|no}</FONT> <BR><FONT face="Courier New" size=2>#</FONT> <BR><FONT 
  face="Courier New" size=2># - debug mode: do not fork and log to stderr</FONT> 
  <BR><FONT face="Courier New" size=2>#&nbsp;&nbsp; (stderr=yes is the same as 
  -E)</FONT> <BR><FONT face="Courier New" size=2>stderr=no</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  loglevel={0|1|2|3}</FONT> <BR><FONT face="Courier New" size=2>#</FONT> 
  <BR><FONT face="Courier New" size=2># - sets log level (error=0, warning=1, 
  info=2, debug=3)</FONT> <BR><FONT face="Courier New" size=2>#&nbsp;&nbsp; 
  (same as -D)</FONT> <BR><FONT face="Courier New" size=2>loglevel=1</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  fifo_name=&lt;filename&gt;</FONT> <BR><FONT face="Courier New" size=2>#</FONT> 
  <BR><FONT face="Courier New" size=2># - path and file name of our fifo file 
  (same as -i)</FONT> <BR><FONT face="Courier New" 
  size=2>fifo_name=/tmp/am_fifo</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  ser_fifo_name=&lt;filename&gt;</FONT> <BR><FONT face="Courier New" 
  size=2>#</FONT> <BR><FONT face="Courier New" size=2># - path and file name of 
  Ser's fifo file (same as -o)</FONT> <BR><FONT face="Courier New" 
  size=2>ser_fifo_name=/tmp/vm_ser_fifo</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  plugin_path=&lt;path&gt;</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># - sets the path to the 
  plug-ins</FONT> <BR><FONT face="Courier New" size=2># - may be absolute or 
  relative to CWD</FONT> <BR><FONT face="Courier New" 
  size=2>plugin_path=/usr/local/lib/sems/plug-in/</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  smtp_server=&lt;hostname&gt;</FONT> <BR><FONT face="Courier New" 
  size=2>#</FONT> <BR><FONT face="Courier New" size=2># - sets address of smtp 
  server</FONT> <BR><FONT face="Courier New" size=2>smtp_server=localhost</FONT> 
  </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  smtp_port=&lt;port&gt;</FONT> <BR><FONT face="Courier New" size=2>#</FONT> 
  <BR><FONT face="Courier New" size=2># - sets port of smtp server</FONT> 
  <BR><FONT face="Courier New" size=2>smtp_port=25</FONT> </P><BR>
  <P><FONT face="Courier New" size=2>##################################</FONT> 
  <BR><FONT face="Courier New" size=2># module specific 
  parameters&nbsp;&nbsp;&nbsp;&nbsp; #</FONT> <BR><FONT face="Courier New" 
  size=2>##################################</FONT> </P>
  <P><FONT face="Courier New" size=2># sample voicemail configuration 
  (inline)</FONT> <BR><FONT face="Courier New" 
  size=2>config.voicemail=inline</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  announce_path=&lt;path&gt;</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># - sets the path where announce 
  files are searched for</FONT> <BR><FONT face="Courier New" size=2># - the file 
  to be played is determined the following way:</FONT> <BR><FONT 
  face="Courier New" size=2>#&nbsp;&nbsp; 
  &lt;announce_path&gt;/&lt;domainname&gt;/&lt;username&gt;.wav</FONT> <BR><FONT 
  face="Courier New" size=2>#&nbsp;&nbsp; if this file is not available 
  &lt;announce_path&gt;/&lt;default_anounce&gt; is used</FONT> <BR><FONT 
  face="Courier New" size=2>announce_path=/usr/local/lib/sems/audio/</FONT> </P>
  <P><FONT face="Courier New" size=2># parameter: 
  default_announce=&lt;filename&gt;</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># - sets the name of the default 
  announce WAV file</FONT> <BR><FONT face="Courier New" 
  size=2>default_announce=default_en.wav</FONT> </P>
  <P><FONT face="Courier New" size=2># parameter: 
  max_record_time=&lt;seconds&gt;</FONT> <BR><FONT face="Courier New" 
  size=2>#</FONT> <BR><FONT face="Courier New" size=2># - maximum record 
  time</FONT> <BR><FONT face="Courier New" size=2>max_record_time=30</FONT> </P>
  <P><FONT face="Courier New" size=2># end of configuration section for 
  voicemail module</FONT> <BR><FONT face="Courier New" 
  size=2>config.voicemail=end</FONT> </P><BR>
  <P><FONT face="Courier New" size=2># sample announcement configuration 
  (inline)</FONT> <BR><FONT face="Courier New" 
  size=2>config.announcement=inline</FONT> </P>
  <P><FONT face="Courier New" size=2># optional parameter: 
  announce_path=&lt;path&gt;</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># - sets the path where announce 
  files are searched for</FONT> <BR><FONT face="Courier New" 
  size=2>announce_path=/usr/local/lib/sems/audio/</FONT> </P>
  <P><FONT face="Courier New" size=2># parameter: 
  default_announce=&lt;filename&gt;</FONT> <BR><FONT face="Courier New" size=2># 
  </FONT><BR><FONT face="Courier New" size=2># - sets the name of the default 
  announce WAV file</FONT> <BR><FONT face="Courier New" 
  size=2>default_announce=welcome_to_number_reader.wav&nbsp;&nbsp; 
  #default_en.wav</FONT> </P>
  <P><FONT face="Courier New" size=2># end of configuration section for 
  announcement module</FONT> <BR><FONT face="Courier New" 
  size=2>config.announcement=end</FONT> </P><BR>
  <P><FONT face="Courier New" size=2># sample isdngw module configuration 
  (external file)</FONT> <BR><FONT face="Courier New" size=2># 
  config.isdngw=/etc/isdngw.conf</FONT> </P>
  <P><FONT face="Courier New" size=2># sample ivr module configuration 
  (inline)</FONT> <BR><FONT face="Courier New" size=2>config.ivr=inline</FONT> 
  </P>
  <P><FONT face="Courier New" size=2>#parameter: python_script_path=&lt;full 
  path&gt;</FONT> <BR><FONT face="Courier New" 
  size=2>python_script_path=/etc/ivr</FONT> </P>
  <P><FONT face="Courier New" size=2>#parameter: 
  python_script_file=&lt;filename&gt;</FONT> <BR><FONT face="Courier New" 
  size=2>python_script_file=ivr.py #example.py</FONT> </P>
  <P><FONT face="Courier New" size=2># end of configuration section for ivr 
  module</FONT> <BR><FONT face="Courier New" size=2>config.ivr=end</FONT> 
  </P><BR>
  <P><FONT face="Courier New" size=2># sample conference configuration 
  (inline)</FONT> <BR><FONT face="Courier New" 
  size=2>config.conference=inline</FONT> </P>
  <P><FONT face="Courier New" size=2># parameter: 
  default_announce=&lt;filename&gt;</FONT> <BR><FONT face="Courier New" 
  size=2>#</FONT> <BR><FONT face="Courier New" size=2># - sets the full pathed 
  name of the default announce WAV file.</FONT> <BR><FONT face="Courier New" 
  size=2>#&nbsp;&nbsp; Will be played to lonely users.</FONT> <BR><FONT 
  face="Courier New" 
  size=2>default_announce=/usr/local/lib/sems/audio/first_participant.wav</FONT> 
  </P>
  <P><FONT face="Courier New" size=2># end of configuration section for 
  conference module</FONT> <BR><FONT face="Courier New" 
  size=2>config.conference=end</FONT> </P>
  <P><FONT face="Courier New" size=2># example configuration for number 
  reader</FONT> <BR><FONT face="Courier New" 
  size=2>config.number_reader=inline</FONT> </P>
  <P><FONT face="Courier New" size=2>#number_path=wav</FONT> <BR><FONT 
  face="Courier New" size=2>number_path=/usr/local/lib/sems/audio</FONT> </P>
  <P><FONT face="Courier New" 
  size=2>prolog_file=welcome_to_number_reader.wav</FONT> </P>
  <P><FONT face="Courier New" 
  size=2>epilog_file=thanks_calling_number_reader.wav</FONT> </P>
  <P><FONT face="Courier New" size=2># end of number_reader configuration</FONT> 
  <BR><FONT face="Courier New" size=2>config.number_reader=end</FONT> </P>
  <P><FONT face="Courier New" size=2># add more module configurations here 
  (inline or external):</FONT> <BR><FONT face="Courier New" size=2>#</FONT> 
  <BR><FONT face="Courier New" size=2># config.mymodule=&lt;filename&gt;</FONT> 
  <BR><FONT face="Courier New" size=2>#&nbsp; or</FONT> <BR><FONT 
  face="Courier New" size=2># config.mymodule=inline</FONT> <BR><FONT 
  face="Courier New" size=2># ...</FONT> <BR><FONT face="Courier New" size=2># 
  config.mymodule=end</FONT> </P><BR><BR><BR>
  <P><FONT face=Arial size=2></FONT> </P><BR><BR>
  <P><B><FONT face="Times New Roman" color=#000080 
  size=4>________________________</FONT></B> <BR><B><FONT face="Times New Roman" 
  color=#000080 size=4>João Sampaio</FONT></B> </P>
  <P><FONT face="Times New Roman" color=#000080 size=2>PT Inovação, SA</FONT> 
  </P>
  <P><FONT face="Times New Roman" color=#000080 size=2>SRM - Serviços e Redes 
  Móveis</FONT> </P>
  <P><FONT face="Times New Roman" color=#000080 size=2>email: 
  est-j-sampaio@ptinovacao.pt</FONT> <BR><FONT face="Times New Roman" 
  color=#000080 size=2>Tlf:&nbsp; +351 234511160-1907 / +351 234403421</FONT> 
  </P></BLOCKQUOTE></BODY></HTML>