I want to edit the mysql location table myself, but it seems that SER doesn't read the table everytime a call is received. How can I make it refresh this table? Right now if I stop and restart SER then it will load my new entries.
Natambu Obleton
Network Engineer
FastTrack Communications
nobleton@fasttrackcomm.net
(970) 247-3366 office
(970) 247-2426 fax
Natambu Obleton napisał(a):
I want to edit the mysql location table myself, but it seems that SER doesn’t read the table everytime a call is received. How can I make it refresh this table? Right now if I stop and restart SER then it will load my new entries.
There is a parameter in usrloc called db_mode. Set it to '2', then the server will use only the database and will not cache the entries in memory. Should look like this: modparam("usrloc","db_mode",2)
Regards, Maciej Żwirski
Natambu Obleton
Network Engineer
FastTrack Communications
nobleton@fasttrackcomm.net mailto:nobleton@fasttrackcomm.net
(970) 247-3366 office
(970) 247-2426 fax
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
---------------------------------------------------------------------- Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e
I tried that and set my timer to very short (10 seconds), but it still cached until the timer which wasn't enough.
I ended up switching to OpenSER because they support completely sql based db_mode (number 3) which seems to be working so far. I think....
Natambu Obleton Network Engineer FastTrack Communications nobleton@fasttrackcomm.net (970) 247-3366 office (970) 247-2426 fax
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers- bounces@lists.iptel.org] On Behalf Of Maciej Zwirski Sent: Wednesday, December 20, 2006 3:04 PM To: serusers@iptel.org Subject: Re: [Serusers] editing the location table.
Natambu Obleton napisał(a):
I want to edit the mysql location table myself, but it seems that SER doesn't read the table everytime a call is received. How can I make it refresh this table? Right now if I stop and restart SER then it will load my new entries.
There is a parameter in usrloc called db_mode. Set it to '2', then the server will use only the database and will not cache the entries in memory. Should look like this: modparam("usrloc","db_mode",2)
Regards, Maciej Żwirski
Natambu Obleton
Network Engineer
FastTrack Communications
nobleton@fasttrackcomm.net mailto:nobleton@fasttrackcomm.net
(970) 247-3366 office
(970) 247-2426 fax
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers