THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Jerry Hu (Jerry2013)
Attached to Project - sip-router
Summary - dispatcher.reload doesn't work with DB
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - using DB for dispatcher list, doing 'kamcmd dispatcher.reload' shows
"invalid DB handler".
here's the patch:
# diff dispatcher.c dispatcher.c.orig
779,780c779
< if(ds_connect_db()!=0 || ds_load_db()<0) {
< ds_disconnect_db();
---
if(ds_load_db()<0)
782,783d780
< }
< ds_disconnect_db();
935c932
< if (ds_load_list(dslistfile)!=0)
---
if (ds_load_list(dslistfile)!=0) {
936a934,935
return;
}
938c937
< if(ds_connect_db()!=0 || ds_load_db()<0)
---
if(ds_load_db()<0) {
940c939,940
< ds_disconnect_db();
---
return;
}
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=331
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.