Alle 12:51, mercoledì 25 maggio 2005, Llanos Serna García-Conde ha scritto:
Hi all, I'm trying to configure vm module, I enclose the first part of my ser.cfg,
If you are using latest version of ser or CVS, vm module has become obsolete. You can find more info in SEMS (CVS) docs. As for your issue about the two instances of ser, you should set up something like this:
ser on port 5060 with main routing logic and a routing rule for calls to SEMS with a rewritehostport or t_relay_to_udp with the address of another ser, something like
if (uri=SEMS_REQUEST) { t_relay_to_udp("OTHERSERADDRESS","OTHERSERPORT") }
then configure another ser listening on different port (eg: port 5090 on the same IP address) with a routing rule forwarding the call to SEMS
if (uri=SEMS_REQUEST) { t_write_req("SEMSFIFO","voicemail") }
you don't need vm module anymore, just tm module.
Ciao
This can help you: http://cvs.berlios.de/cgi-bin/viewcvs.cgi/sems/answer_machine/docs/Configure...
Saludos
Juan ----- Original Message ----- From: Llanos Serna García-Conde To: serusers@lists.iptel.org Sent: Wednesday, May 25, 2005 7:51 AM Subject: [Serusers] No module matching vm found
Hi all, I'm trying to configure vm module, I enclose the first part of my ser.cfg,
# ------------------ module loading ---------------------------------- # Uncomment this if you want to use SQL database loadmodule "/usr/local/lib/ser/modules/mysql.so" loadmodule "/usr/local/lib/ser/modules/sl.so" loadmodule "/usr/local/lib/ser/modules/tm.so" loadmodule "/usr/local/lib/ser/modules/rr.so" loadmodule "/usr/local/lib/ser/modules/maxfwd.so" loadmodule "/usr/local/lib/ser/modules/usrloc.so" loadmodule "/usr/local/lib/ser/modules/registrar.so" loadmodule "/usr/local/lib/ser/modules/vm.so" # Uncomment this if you want digest authentication # mysql.so must be loaded ! loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so" #loadmodule "/usr/local/lib/ser/modules/acc.so" #loadmodule "/usr/local/lib/ser/modules/uri.so" # ----------------- setting module-specific parameters --------------- # -- vm params -- # URL of the mysql database used to retrieve users. # Default value is "mysql://ser:heslo@localhost/ser". modparam("vm", "db_url", "mysql://ser:heslo@localhost/ser")
But in this line I get the next error:
0(8427) set_mod_param_regex: No module matching vm found | 0(8427) parse error (55,59-60): Can't set module parameter ERROR: bad config file (1 errors)
Why is the system not finding the vm module it it is there? There's no error when I load it!! Thanks for your help, Llanos
------------------------------------------------------------------------------
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers