Read the more recent SEMS documentation. vm.so was deprecated.

You now use other methods (depending on whether you're using a fifo or a unix socket in SEMS).

For instance, I use:

if(!t_write_unix("/tmp/am_sock","voicemail")) {
   t_reply("500","error contacting sems");
};



On Wed, 1 Feb 2006 20:44:36 +0200, Toygun Mavinil wrote

> Hi,
> I installed ser 0.9.6 on fc4
> Compiled and installed with all modules but vm.so module is missing.
> Looked at the source modules directory, there is no vm directory or file.
> I installed sems from cvs
> Sems is working
>  
> Also
> Do i have to add down lines to ser.cfg
>  
> loadmodule "/home/srouter/sip_router/modules/vm/vm.so"
> modparam("vm", "auth_db|domain|uri_db|usrloc", "db_url", "mysql://ser:heslo@localhost/ser")
> modparam("vm", "email_column", "email")
> modparam("vm", "subscriber_table", "subscriber")
> modparam("vm", "user_column", "username")
> modparam("vm", "domain_column", "domain")
>  
> if(method=="ACK" || method=="INVITE" || method=="BYE"){
>  
>                         if (!t_newtran()) {
>                                    log("could not create new transaction\n");
>                                    sl_send_reply("500","could not create new transaction");
>                                    break;
>                         };
>  
>                         t_reply("100","Trying -- just wait a minute !");
>                         if(method=="INVITE"){
>                                    log("**************** vm start - begin ******************\n");
>                                    if(!vm("/tmp/am_fifo","voicemail")){
>                                                log("could not contact the answer machine\n");
>                                                t_reply("500","could not contact the answer machine");
>                                    };
>                                    log("**************** vm start - end ******************\n");
>                         } else if(method=="BYE"){
>                                    log("**************** vm end - begin ******************\n");
>                                    if(!vm("/tmp/am_fifo","bye")){
>                                                log("could not contact the answer machine\n");
>                                                t_reply("500","could not contact the answer machine");
>                                    };
>                                    log("**************** vm end - end ******************\n");
>                         };
>                         break;
>             };
>             if (method=="CANCEL") {
>                         sl_send_reply("200", "cancels are junked here");
>                         break;
>             };
>             sl_send_reply("501", "method not understood here");
>  
>  
>  
>  
>  
>  
> Toygun
>