[Serusers] ser2.0 - logging missed calls

Davor Jovanovic davor.jovanovic at srce.hr
Sat Jul 26 12:38:08 CEST 2008


Hi all,

I need help with logging of missed calls for offline users.  acc_db 
module is loaded but acc_db_missed function unrecognized. I tired to use 
this function with ser2.0_rc1 and latest ser-2.0.0+cvs20080709 but the 
error is same. Or could I solve this in some other way?

And if someone could point me to acc_db module documentation because I 
can't find it on iptel.org site.


Thank you

/davor


ser -V
version: ser 2.0.0+cvs20080506 (i386/linux)

...
loadmodule "/usr/local/ser_20_06052008/lib/ser/modules/mysql.so"
loadmodule "/usr/local/ser_20_06052008/lib/ser/modules/acc_db.so"

modparam("acc_db", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("acc_db", "log_missed_flag", 4)

...
if (lookup_contacts("location")) {
            .
            .
            .
} else {
            acc_db_missed("480 - User temp. unavail.", "missed_calls");
            sl_reply("480", "User temp. unavail.");
            drop();
}

...
0(23273) find_export_record: <acc_db_missed> not found
0(23273) parse error (1116,46-47): unknown command, missing loadmodule?


/davor



More information about the sr-users mailing list