From 1a76fb05126d8154e59fc1524727d7f84d8cff2c Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Fri, 27 Mar 2015 15:43:37 +0100 Subject: [PATCH] srdb1/schema: new columns to table location - server_id - store the value for server id - connection_id - store the value for connection id of location record, to be used for db only mode tcp optimizations (not restored after restart) - keepalive - set if the nat branch flag is set for the contact, to speedup selection of records for nat keep alive in db only mode --- lib/srdb1/schema/location.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/srdb1/schema/location.xml b/lib/srdb1/schema/location.xml index be92306b008..a39cd52a714 100644 --- a/lib/srdb1/schema/location.xml +++ b/lib/srdb1/schema/location.xml @@ -9,7 +9,7 @@ location - 6 + 7&MYSQL_TABLE_TYPE; Persistent user location information for the usrloc module. More information can be found at: &KAMAILIO_MOD_DOC;usrloc.html @@ -179,6 +179,30 @@ The value of reg-id contact parameter + + server_id + int + 11 + 0 + The value of server_id from configuration file + + + + connection_id + int + 11 + 0 + The value of connection id for location record + + + + keepalive + int + 11 + 0 + The value to control sending keep alive requests + + account_contact_idx