Hello. I have upgraded to version 0.8.14. I found there is no vm modules in new version and the function t_write_req() in tm module is same as vm() in vm module. So in my ser.cfg I write:
if( is_user_in("Request-URI", "voicemail")){ log(1, "yes,incoming voicemail call\n"); if(!t_write_req("/tmp/am_fifo","voicemail")){ log("could not contact voicemail server\n"); t_reply("500","could not contact voicemail server"); }; } But in sems , the debug information as the following, (16824) DEBUG: execute (AmServer.cpp:240): cmd.method= <INVITE> (16824) DEBUG: execute (AmServer.cpp:241): cmd.user= <zhangwei> (16824) DEBUG: execute (AmServer.cpp:242): cmd.email= <> ..... (16824) ERROR: startSession (AmSession.cpp:456): 404 voicemail: no email address for user <zhangwei>
Where am i wrong? Do I forget set some parameters? Thanks for your help!