<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.20 20031014" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<font size="2">Read the more recent SEMS documentation. vm.so was deprecated. 
<br />
<br />You now use other methods (depending on whether you're using a fifo or a unix socket in SEMS).
<br />
<br />For instance, I use:
<br />
<br />if(!t_write_unix(&quot;/tmp/am_sock&quot;,&quot;voicemail&quot;)) {
<br />   t_reply(&quot;500&quot;,&quot;error contacting sems&quot;);
<br />};
<br />
<br /><b>
<br />
<br />On Wed, 1 Feb 2006 20:44:36 +0200, Toygun Mavinil wrote</b>
<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">Hi,<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">I installed ser 0.9.6 on fc4<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">Compiled and installed with all modules but vm.so module is
missing.<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">Looked at the source modules directory, there is no vm
directory or file.<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">I installed sems from cvs<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">Sems is working<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">Also<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">Do i have to add down lines to ser.cfg<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">loadmodule
&quot;/home/srouter/sip_router/modules/vm/vm.so&quot;<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">modparam(&quot;vm&quot;,
&quot;auth_db|domain|uri_db|usrloc&quot;, &quot;db_url&quot;,
&quot;mysql://ser:heslo@localhost/ser&quot;)<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">modparam(&quot;vm&quot;, &quot;email_column&quot;,
&quot;email&quot;)<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">modparam(&quot;vm&quot;, &quot;subscriber_table&quot;,
&quot;subscriber&quot;)<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">modparam(&quot;vm&quot;, &quot;user_column&quot;,
&quot;username&quot;)<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;">modparam(&quot;vm&quot;, &quot;domain_column&quot;,
&quot;domain&quot;)<o:p /></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">if(method==&quot;ACK&quot;
|| method==&quot;INVITE&quot; || method==&quot;BYE&quot;){<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;"><o:p> </o:p></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        if
(!t_newtran()) {<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   log(&quot;could
not create new transaction\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   sl_send_reply(&quot;500&quot;,&quot;could
not create new transaction&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   break;<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        };<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;"><o:p> </o:p></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        t_reply(&quot;100&quot;,&quot;Trying
-- just wait a minute !&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        if(method==&quot;INVITE&quot;){<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   log(&quot;****************
vm start - begin ******************\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   if(!vm(&quot;/tmp/am_fifo&quot;,&quot;voicemail&quot;)){<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                               log(&quot;could
not contact the answer machine\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                               t_reply(&quot;500&quot;,&quot;could
not contact the answer machine&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   };<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   log(&quot;****************
vm start - end ******************\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        }
else if(method==&quot;BYE&quot;){<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   log(&quot;****************
vm end - begin ******************\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   if(!vm(&quot;/tmp/am_fifo&quot;,&quot;bye&quot;)){<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                               log(&quot;could
not contact the answer machine\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                               t_reply(&quot;500&quot;,&quot;could
not contact the answer machine&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   };<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                                   log(&quot;****************
vm end - end ******************\n&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        };<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        break;<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">            };<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">            if
(method==&quot;CANCEL&quot;) {<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        sl_send_reply(&quot;200&quot;,
&quot;cancels are junked here&quot;);<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">                        break;<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">            };<o:p /></span></font></b>

<br />&gt; <b><font size="2" face="System"><span style="font-size: 10pt; font-family: system; font-weight: bold;">            sl_send_reply(&quot;501&quot;,
&quot;method not understood here&quot;);<o:p /></span></font></b>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="2" face="Arial"><span style="font-size: 10pt; font-family: arial;"><o:p> </o:p></span></font>

<br />&gt; <font size="3" face="Times New Roman"><span style="font-size: 12pt;">Toygun</span><o:p /></font>

<br />&gt; <font size="3" face="Times New Roman"><span style="font-size: 12pt;"><o:p> </o:p></span></font>

<br />
<br />
<br />
</font>
</BODY>
</HTML>