I'm having a few issues with the /usr/local/lib/ser/modules/vm.so module. My installation was from ser-0.8.14_linux_i386.tar.gz - I untarred from /, placing the modules in the above location, the executable in /usr/local/sbin/ser and the config file is in /usr/local/etc/ser.cfg.
I currently have the following line in ser.cfg:
# loadmodule "/usr/local/lib/ser/modules/vm.so"
Ser starts fine. When I uncomment that line, Ser says it starts ok, but nobody can log in, and "serctl moni" tells me "if this is static, check that the server is running, and fifo is turned on (it is).
I thought that was because I wasn't initializing any of the VM parameters, as outlined in the VM Module User's Guide at http://www.iptel.org/ser/doc/modules/html/vm.html
So I added the following lines: ------------ Voicemail Parameters modparam("vm", "db_url", "sql://ser:nscser@localhost/ser") modparam("vm", "email_column", "email") modparam("vm", "subscriber_table", "subscriber") modparam("vm", "user_column", "username") modparam("vm", "domain_column", "domain")
Now ser starts with "bad config file": 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (104,58-59): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (105,39-40): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (106,48-49): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (107,41-42): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (108,41-42): Can't set module parameter ERROR: bad config file (5 errors) What do I have wrong in this case? I'm loading module "vm.so" last in my line of "loadmodule" entries, and my "modparam" lines for vm come last in the list of "modparam" statements.
Do I have to download source and compile on my own?
Thanks, Rob
Robert,
The module name for vm in 0.8.14 tar-ball version is "voicemail", not "vm". So, you can change your modparam line to:
modparam("voicemail", "db_url", ....)
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Robert C. Auch Sent: Friday, 10 September 2004 6:47 AM To: serusers@lists.iptel.org Subject: [Serusers] VM Module problems
I'm having a few issues with the /usr/local/lib/ser/modules/vm.so module. My installation was from ser-0.8.14_linux_i386.tar.gz - I untarred from /, placing the modules in the above location, the executable in /usr/local/sbin/ser and the config file is in /usr/local/etc/ser.cfg.
I currently have the following line in ser.cfg:
# loadmodule "/usr/local/lib/ser/modules/vm.so"
Ser starts fine. When I uncomment that line, Ser says it starts ok, but nobody can log in, and "serctl moni" tells me "if this is static, check that the server is running, and fifo is turned on (it is).
I thought that was because I wasn't initializing any of the VM parameters, as outlined in the VM Module User's Guide at http://www.iptel.org/ser/doc/modules/html/vm.html
So I added the following lines: ------------ Voicemail Parameters modparam("vm", "db_url", "sql://ser:nscser@localhost/ser") modparam("vm", "email_column", "email") modparam("vm", "subscriber_table", "subscriber") modparam("vm", "user_column", "username") modparam("vm", "domain_column", "domain")
Now ser starts with "bad config file": 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (104,58-59): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (105,39-40): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (106,48-49): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (107,41-42): Can't set module parameter 0(13442) set_mod_param_regex: No module matching vm found | 0(13442) parse error (108,41-42): Can't set module parameter ERROR: bad config file (5 errors) What do I have wrong in this case? I'm loading module "vm.so" last in my line of "loadmodule" entries, and my "modparam" lines for vm come last in the list of "modparam" statements.
Do I have to download source and compile on my own?
Thanks, Rob
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers