Skip to content

Commit

Permalink
srdb1/schema: new columns to table location
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
miconda committed Mar 27, 2015
1 parent 66accf1 commit 1a76fb0
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion lib/srdb1/schema/location.xml
Expand Up @@ -9,7 +9,7 @@

<table id="location" xmlns:db="http://docbook.org/ns/docbook">
<name>location</name>
<version>6</version>
<version>7</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>Persistent user location information for the usrloc module. More information can be found at: &KAMAILIO_MOD_DOC;usrloc.html
Expand Down Expand Up @@ -179,6 +179,30 @@
<description>The value of reg-id contact parameter</description>
</column>

<column>
<name>server_id</name>
<type>int</type>
<size>11</size>
<default>0</default>
<description>The value of server_id from configuration file</description>
</column>

<column>
<name>connection_id</name>
<type>int</type>
<size>11</size>
<default>0</default>
<description>The value of connection id for location record</description>
</column>

<column>
<name>keepalive</name>
<type>int</type>
<size>11</size>
<default>0</default>
<description>The value to control sending keep alive requests</description>
</column>


<index>
<name>account_contact_idx</name>
Expand Down

0 comments on commit 1a76fb0

Please sign in to comment.