[Serusers] Question on ACC module

Marian Dumitru marian.dumitru at voice-sistem.ro
Thu Oct 21 10:18:11 CEST 2004


Hi Haipeng,

My guess is you haven't compile mysql support into the acc module. 
Please check modules/acc/Makefile, see the comments and enable mysql. 
Recompile and try again.


Best regards,
Marian Dumitru



Haipeng Jin wrote:
> Hi,
> 
> I have encountered the following problem when using ACC module:
> 
> In my ser.cfg, I used "loadmodule /modules/acc.so" to load the acc 
> module, I then included:
> modparam("acc", "log_flag", 1)
> modparam("acc", "log_level", 1)
> ...
> route[0] {
> ...
> setflat(1);
> ...
> }
> The module seems to be loaded all right and I can see relevant logs in 
> syslog but not in MySQL database.
> 
> First Problem: When I tried to add the following line in ser.cfg:
> modparam("acc", "db_url", "sql://ser:pass@localhost/ser")
> 
> ser will not start and it complains that parameter "db_url" not found in 
> module <acc>.
> 
> Second problem: When I tried to log missed calls into db using:
> acc_db_request("404 not found", "missed_calls");
> 
> ser will not start and it complains "unknown command..." even though the 
> ACC module is loaded.
> 
> Can anyone provide some help on these two questions?
> 
> Thanks,
> 
> Haipeng
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 

-- 
Voice Sistem
http://www.voice-sistem.ro




More information about the sr-users mailing list