<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2734.1600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We've been wrestling with SERS and SEMS config for
the past week, and I think we almost have it, but we are still getting a few
errors working with SEMS and the voicemail piece.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The main problem right now is that we are getting
this error returned from SEMS when the call is redirected to
voicemail.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nov 26 17:40:58 jupiter Sems[2413]: Error: 404
voicemail: no email address for user <8641234567> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've checked the record in the "subscriber" table
for this user in the "ser" database and the email address is there. I
thought, at first, that this might be caused by ser being unable to connect
to the mysql database (it's on a seperate server) .. I've verified that it is
connecting now though.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Anyone have any ideas why we might be getting this
error? I have attached our ser.cfg file for the voicemail ser router below
(in case it helps).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any help would be very much appreciated.
Thanks in advance!! :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Darren Nay - <A
href="mailto:dnay@libertyisp.com">dnay@libertyisp.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>---</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#<BR># $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15
andrei Exp $<BR>#<BR># simple quick-start config script<BR>#</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># ----------- global configuration parameters
------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>debug=3 # debug level
(cmd line:
-dddddddddd)<BR>#fork=yes<BR>#log_stderror=no
# (cmd line: -E)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>check_via=no # (cmd. line:
-v)<BR>dns=no #
(cmd. line: -r)<BR>rev_dns=no # (cmd. line:
-R)<BR>port=5060<BR>children=4<BR>fifo="/tmp/vm_ser_fifo"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># ------------------ module loading
----------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL
database<BR>loadmodule "/usr/lib/ser/modules/mysql.so"<BR>loadmodule
"/usr/lib/ser/modules/sl.so"<BR>loadmodule
"/usr/lib/ser/modules/tm.so"<BR>loadmodule
"/usr/lib/ser/modules/maxfwd.so"<BR>loadmodule
"/usr/lib/ser/modules/vm.so"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#loadmodule
"/usr/lib/ser/modules/xlog.so"<BR>#loadmodule
"/usr/lib/ser/modules/rr.so"<BR>#loadmodule
"/usr/lib/ser/modules/usrloc.so"<BR>#loadmodule
"/usr/lib/ser/modules/registrar.so"<BR>#loadmodule
"/usr/lib/ser/modules/group.so"<BR>#loadmodule
"/usr/lib/ser/modules/uri.so"<BR>#loadmodule
"/usr/lib/ser/modules/acc.so"<BR>#loadmodule
"/usr/lib/ser/modules/auth.so"<BR>#loadmodule
"/usr/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR># Uncomment this if you want digest authentication<BR># mysql.so must
be loaded !<BR>#loadmodule "/usr/lib/ser/modules/auth.so"<BR>#loadmodule
"/usr/lib/ser/modules/auth_db.so"</DIV>
<DIV> </DIV>
<DIV># ----------------- setting module-specific parameters
---------------</DIV>
<DIV> </DIV>
<DIV># -- usrloc params --</DIV>
<DIV> </DIV>
<DIV>#modparam("usrloc", "db_mode", 0)</DIV>
<DIV> </DIV>
<DIV># Uncomment this if you want to use SQL database <BR># for persistent
storage and comment the previous line<BR>#modparam("usrloc", "db_mode", 2)</DIV>
<DIV> </DIV>
<DIV># -- auth params --<BR># Uncomment if you are using auth
module<BR>#<BR>#modparam("auth_db", "calculate_ha1", yes)<BR>#<BR># If you set
"calculate_ha1" parameter to yes (which true in this config), <BR># uncomment
also the following parameter)<BR>#<BR>#modparam("auth_db", "password_column",
"password")</DIV>
<DIV> </DIV>
<DIV># -- rr params --<BR># add value to ;lr param to make some broken UAs
happy<BR>#modparam("rr", "enable_full_lr", 1)</DIV>
<DIV> </DIV>
<DIV>modparam("voicemail", "db_url","sql://servm:servm55@10.10.0.55/ser")</DIV>
<DIV> </DIV>
<DIV># ------------------------- request routing logic
-------------------</DIV>
<DIV> </DIV>
<DIV># main routing logic<BR>alias="ion.dom"<BR>alias="10.10.0.58"</DIV>
<DIV> </DIV>
<DIV>route{</DIV>
<DIV> </DIV>
<DIV><BR> # initial sanity checks --
messages with<BR> # max_forwars==0, or
excessively long requests<BR> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
break;<BR> };</DIV>
<DIV> </DIV>
<DIV># if (len_gt( max_len ))
{<BR>#
sl_send_reply("513", "Message too
big");<BR>#
break;<BR># };</DIV>
<DIV> </DIV>
<DIV> if (!uri==myself)
{<BR>
sl_send_reply("404", "not reponsible for host in
r-uri");<BR>
break;<BR> };</DIV>
<DIV> </DIV>
<DIV><BR> # Voicemail specific
configuration - begin</DIV>
<DIV> </DIV>
<DIV> if(method=="ACK" ||
method=="INVITE" || method=="BYE"){</DIV>
<DIV> </DIV>
<DIV> if (!t_newtran())
{<BR>
log("could not create new
transaction\n");<BR>
sl_send_reply("500","could not create new
transaction");<BR>
break;<BR> };</DIV>
<DIV> </DIV>
<DIV> t_reply("100","Trying -- just
wait a minute !");</DIV>
<DIV> </DIV>
<DIV>
if(method=="INVITE"){<BR>
log("**************** vm start - begin
******************\n");<BR> if
(uri=~"sip:as_welcome@.*" || uri=~"sip:as_nomoney@.*")
{<BR>
if (!vm("/tmp/am_fifo", "announcement"))
{<BR>
log("couldn't contact announcement
server\n");<BR>
t_reply("500", "couldn not contact announcement
server");<BR>
};<BR> } else
{<BR>
if(!vm("/tmp/am_fifo","voicemail")){<BR>
log("could not contact the answer
machine\n");<BR>
t_reply("500","could not contact the answer
machine");<BR>
};<BR>
};<BR> log("**************** vm start
- end ******************\n");<BR> }
else if(method=="BYE"){<BR>
log("**************** vm end - begin
******************\n");<BR>
if(!vm("/tmp/am_fifo","bye")){<BR>
log("could not contact the answer
machine\n");<BR>
t_reply("500","could not contact the answer
machine");<BR>
};<BR> log("**************** vm end -
end
******************\n");<BR>
};<BR>
break;<BR>
};<BR> if (method=="CANCEL")
{<BR>
sl_send_reply("200", "cancels are junked
here");<BR>
break;<BR>
};<BR> sl_send_reply("501", "method
not understood here");<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>