[Serusers] Voicemail implementation
Director General: NEFACOMP
dg at nefacomp.net
Fri Jul 25 15:22:27 CEST 2003
Trying to use ACC with MySQL stops SER and restarts X.
The message found in the log file (/var/log/messages) is:
=====
ser: set_mod_param_regex: parameter <db_url> not found in module <acc>
ser: parse error (65, 58-59): Can't set module parameter
ser: set_mod_param_regex: parameter <db_flag> not found in module <acc>
ser: parse error (65, 58-59): Can't set module parameter
ser: set_mod_param_regex: parameter <db_missed_flag> not found in module
<acc>
ser: parse error (65, 58-59): Can't set module parameter
....
=====
The parameters db_url, db_flag, dg_missed_flag cannot be found in ACC
module.
Will this get solved please?
Do you know anyone who uses acc with MySQL and it works??
Thanks
Emery
----- Original Message -----
From: "Jan Janak" <jan at iptel.org>
To: "Director General: NEFACOMP" <dg at nefacomp.net>
Cc: "Juan J. Sierralta P." <juanjo at atmlab.utfsm.cl>; <serusers at lists.iptel.org>
Sent: Friday, July 25, 2003 01:05
Subject: Re: [Serusers] Voicemail implementation
> On 25-07 00:03, Director General: NEFACOMP wrote:
> > A file like this one is needed for aliases and accounting to MySQL.
> > (I mean a complete ser.cfg file)
>
> I don't have a simple config file showing aliases and accounting.
> Aliases are easy, simply put lookup("aliases"); into your script, it is
> good to enclose it into something like this:
>
> if (uri==myself) {
> ...
> lookup("aliases");
> ...
> };
>
> The condition ensures that the proxy will use the aliases only if the
> request is targeted to your proxy.
>
> And then you, of course, need to create some aliases (for example using
> serctl utility).
>
> Regarding accounting, that one is easy too:
> 1) load acc module
> 2) put the following into modparam section of your file:
> modparam("acc", "report_ack", 1)
> modparam("acc", "log_level", 1)
> modparam("acc", "log_flag", 1 )
> modparam("acc", "db_flag", 1 )
> modparam("acc", "log_missed_flag", 3 )
> modparam("acc", "db_missed_flag", 3 )
> # report to syslog: From, i-uri, status, digest id
> modparam("acc", "log_fmt", "fisu" )
>
> And then, when your script is processing a request that you want to
account,
> simply call:
>
> setflag(1);
>
> That's it.
>
> Jan.
>
>
>
>
More information about the sr-users
mailing list