<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 />> Hi
there,
<br />> I have some questions to ask about voicemail.
<br />> I'm
using SEMS voicemail to store voice message with SER v.0.9.6 and SEMS 0.10.0
<br />> I have my server running voicemail successfully.
<br />> But I'm
still confuse where voicemail store the message and in what form (text or wav
file)
<br />> 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 />> And the other problem is, my
voicemail server can only store message for root@localhost only. The script is
like below:
<br />>
<br />> <span style="">if (uri =~ "sip:115.*@") {<o:p /></span>
<br />> <span style=""><span style="">
</span># load email avp with some email address<o:p /></span>
<br />>
<span style="font-family: 'Courier New';"><span style="">
</span>avp_write("root@localhost","$email");<o:p /></span>
<br />> <span style="font-family: 'Courier New';"><span style="">
</span># use voicemail_headers append to pass it to
sems<o:p /></span>
<br />> <span style="font-family: 'Courier New';"><span style=""> </span>if
(!t_write_unix("/tmp/sems_sock","voicemail")){<o:p /></span>
<br />> <span style=""><span style="">
</span>log("could not contact voicemail\n");<o:p /></span>
<br />>
<span style="font-family: 'Courier New';"><span style="">
</span>t_reply("500","could not contact media server");<span style="">
</span><o:p /></span>
<br />> <span style=""><span style="">
</span>break;<o:p /></span>
<br />> <span style="font-family: 'Courier New';"><span style="">
}</span></span>
<br />> <span style="font-family: 'Courier New';"><span style="">
</span>break;<o:p /></span>
<br />> <span style="font-family: 'Courier New';"><span style=""> </span>}</span>
<br />> <span style="font-family: 'Courier New';">}</span>
<br />>
<br />> How to
change this script so it can forward to user email address in SER database?
<br />> Thanx before
<br />>
<br />> Regards
<br />>
<br />> Meidiana
<br />>
<hr size="1" />Ahhh...imagining that irresistible "new car" smell?
<br />>
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>