<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=新細明體 size=2>Hi all:<BR>&nbsp;I want to inetgrating SEMS and 
openser, use SEMS for sending voicemail.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=新細明體 size=2>openser version is 1.2.1<BR>sems(sip express media 
server) vsersion is 0.9.x</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=新細明體 size=2>This is my configuration on openser.cfg. If user is 
offline then send voicemail.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=新細明體 size=2>loadmodule "mysql.so"<BR>loadmodule 
"sl.so"<BR>loadmodule "tm.so"<BR>loadmodule "rr.so"<BR>loadmodule 
"maxfwd.so"<BR>loadmodule "usrloc.so"<BR>loadmodule "registrar.so"<BR>loadmodule 
"textops.so"<BR>loadmodule "mi_fifo.so"<BR>loadmodule "avpops.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=新細明體 size=2>modparam("avpops", "avp_url", 
"mysql://ser:heslo@localhost/ser")<BR>modparam("avpops", "avp_table", 
"subscriber")<BR>modparam("avpops", "uuid_cloumn", "uuid")<BR>modparam("avpops", 
"username_cloumn", "username")<BR>modparam("avpops", "db_scheme", 
"email_scheme:table=subscriber;value_col=email_address;value_type=string")<BR>modparam("tm", 
"tw_append", "voicemail_headers: 
UA=$hdr(User-Agent);P-Email-Address=$avp(s:email)")</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=新細明體 size=2>...<BR>...<BR>...<BR>if (!lookup("location")) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(!t_newtran()){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("500", "could not create new 
transaction");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
exit;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
avp_db_load("$ru/username", 
"$avp(s:email)/$email_scheme");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(!t_write_req("/tmp/am_fifo", 
"voicemail/voicemail_headers")){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
t_reply("500", "could not connect 
sems");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
exit;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=新細明體 size=2>....</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=新細明體 size=2>
<DIV><BR>The SEMS has started but system reply "server error 
occurred(1/SL)".<BR>And error message list:<BR>Jun&nbsp; 7 19:13:35 host 
/usr/local/sbin/openser[28470]: ERROR:tm:t_should_relayy_response: pick_branch 
failed (lowest==-1) for code 408<BR>Jun&nbsp; 7 19:13:35 host last message 
repeated 7 times<BR>Jun&nbsp; 7 19:13:39 host /usr/local/sbin/openser[28470]: 
ERROR:tm:t_forward_nonack: no branch for forwarding<BR>Jun&nbsp; 7 19:13:39 host 
/usr/local/sbin/openser[28470]: ERROR:tm:w_t_relay: t_forward_nonack 
failed<BR>Jun&nbsp; 7 19:13:39 host Sems[73979]: Error: 
(AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 Too few or too many 
arguments<BR>Jun&nbsp; 7 19:13:39 host Sems[73979]: Error: 
(AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 Too few or too many 
arguments<BR>Jun&nbsp; 7 19:13:39 host Sems[73979]: Error: 
(AmSession.cpp)(run)(193): 500 could not send response.<BR>Jun&nbsp; 7 19:13:39 
host Sems[73979]: Error: (AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 
Too few or too many arguments<BR>Jun&nbsp; 7 19:13:39 host last message repeated 
2 times<BR>Jun&nbsp; 7 19:13:39 host Sems[73979]: Error: 
(AmSession.cpp)(run)(193): 500 could not send response.<BR>Jun&nbsp; 7 19:13:39 
host Sems[73979]: Error: (AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 
Too few or too many arguments</DIV>
<DIV>&nbsp;</DIV>
<DIV>What's problem with my configuration?<BR>Thank you for your reply.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Chungyu&nbsp; </FONT></DIV>
<DIV><FONT face=新細明體 size=2></FONT>&nbsp;</DIV></BODY></HTML>