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

<font size="2">I was not actually aware that SEMS stored voicemail.  I was under the impression that all it did with voicemail was send it as an attachment via email (which would mean that /var/spool/mail for local accounts would make perfect sense). 
<br />
<br />N.
<br /><b>
<br />
<br />On Mon, 16 Apr 2007 06:15:53 -0700 (PDT), Meidiana Ten wrote</b>
<br />&gt; Hi 
there,  
<br />&gt; I have some questions to ask about voicemail.  
<br />&gt; I'm 
using SEMS voicemail to store voice message with SER v.0.9.6 and SEMS 0.10.0  

<br />&gt; I have my server running voicemail successfully.   
<br />&gt; But I'm 
still confuse where voicemail store the message and in what form (text or wav 
file)  
<br />&gt; I trace my voicemail storage and found out that it store the 
message in /var/spool/mail/ in text form. Is it true? So how to hear the voice 
message while it is in text file?  
<br />&gt; And the other problem is, my 
voicemail server can only store message for root@localhost only. The script is 
like below:  
<br />&gt;    
<br />&gt; <span style="">if (uri =~ &quot;sip:115.*@&quot;) {<o:p /></span>  
<br />&gt; <span style=""><span style="">       
</span># load email avp with some email address<o:p /></span>  
<br />&gt; 
<span style="font-family: 'Courier New';"><span style="">  
     
</span>avp_write(&quot;root@localhost&quot;,&quot;$email&quot;);<o:p /></span>  
<br />&gt; <span style="font-family: 'Courier New';"><span style="">   
    </span># use voicemail_headers append to pass it to 
sems<o:p /></span>  
<br />&gt; <span style="font-family: 'Courier New';"><span style="">       </span>if 
(!t_write_unix(&quot;/tmp/sems_sock&quot;,&quot;voicemail&quot;)){<o:p /></span>  
<br />&gt; <span style=""><span style="">          
 </span>log(&quot;could not contact voicemail\n&quot;);<o:p /></span>  
<br />&gt; 
<span style="font-family: 'Courier New';"><span style="">  
         
</span>t_reply(&quot;500&quot;,&quot;could not contact media server&quot;);<span style="">      
</span><o:p /></span>  
<br />&gt; <span style=""><span style="">        
   </span>break;<o:p /></span>  
<br />&gt; <span style="font-family: 'Courier New';"><span style="">   
        }</span></span>  
<br />&gt; <span style="font-family: 'Courier New';"><span style="">   
        </span>break;<o:p /></span>  

<br />&gt; <span style="font-family: 'Courier New';"><span style="">      </span>}</span>  
<br />&gt; <span style="font-family: 'Courier New';">}</span>  
<br />&gt;    
<br />&gt; How to 
change this script so it can forward to user email address in SER database?  

<br />&gt; Thanx before  
<br />&gt;    
<br />&gt; Regards  
<br />&gt;    

<br />&gt; Meidiana
<br />&gt; 
 

      
<hr size="1" />Ahhh...imagining that irresistible &quot;new car&quot; smell?
<br />&gt;  
Check 
out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new 
cars at Yahoo! 
Autos.</a>

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