Hi all:
 I want to inetgrating SEMS and openser, use SEMS for sending voicemail.
 
openser version is 1.2.1
sems(sip express media server) vsersion is 0.9.x
 
This is my configuration on openser.cfg. If user is offline then send voicemail.
 
loadmodule "mysql.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "mi_fifo.so"
loadmodule "avpops.so"
 
modparam("avpops", "avp_url", "mysql://ser:heslo@localhost/ser")
modparam("avpops", "avp_table", "subscriber")
modparam("avpops", "uuid_cloumn", "uuid")
modparam("avpops", "username_cloumn", "username")
modparam("avpops", "db_scheme", "email_scheme:table=subscriber;value_col=email_address;value_type=string")
modparam("tm", "tw_append", "voicemail_headers: UA=$hdr(User-Agent);P-Email-Address=$avp(s:email)")
 
...
...
...
if (!lookup("location")) {
            if (!t_newtran()){
                 sl_send_reply("500", "could not create new transaction");
                 exit;
                  };
                avp_db_load("$ru/username", "$avp(s:email)/$email_scheme");
              
            if (!t_write_req("/tmp/am_fifo", "voicemail/voicemail_headers")){
                        t_reply("500", "could not connect sems");
                        exit;
                        };
                };
 
....
 

The SEMS has started but system reply "server error occurred(1/SL)".
And error message list:
Jun  7 19:13:35 host /usr/local/sbin/openser[28470]: ERROR:tm:t_should_relayy_response: pick_branch failed (lowest==-1) for code 408
Jun  7 19:13:35 host last message repeated 7 times
Jun  7 19:13:39 host /usr/local/sbin/openser[28470]: ERROR:tm:t_forward_nonack: no branch for forwarding
Jun  7 19:13:39 host /usr/local/sbin/openser[28470]: ERROR:tm:w_t_relay: t_forward_nonack failed
Jun  7 19:13:39 host Sems[73979]: Error: (AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 Too few or too many arguments
Jun  7 19:13:39 host Sems[73979]: Error: (AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 Too few or too many arguments
Jun  7 19:13:39 host Sems[73979]: Error: (AmSession.cpp)(run)(193): 500 could not send response.
Jun  7 19:13:39 host Sems[73979]: Error: (AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 Too few or too many arguments
Jun  7 19:13:39 host last message repeated 2 times
Jun  7 19:13:39 host Sems[73979]: Error: (AmSession.cpp)(run)(193): 500 could not send response.
Jun  7 19:13:39 host Sems[73979]: Error: (AmRequest.cpp)(reply)(335): AmRequestUAS::reply: 400 Too few or too many arguments
 
What's problem with my configuration?
Thank you for your reply.
 
Chungyu