You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/lib/srdb1/schema/userblacklist.xml

68 lines
2.0 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE table PUBLIC "-//kamailio.org//DTD DBSchema V1.1//EN"
"http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" [
<!ENTITY % entities SYSTEM "entities.xml">
%entities;
]>
<table id="userblacklist" xmlns:db="http://docbook.org/ns/docbook">
<name>userblacklist</name>
<version>1</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>This table is used by the userblacklist module for the user specific blacklists. More information is available at: &KAMAILIO_MOD_DOC;userblacklist.html
</db:para>
</description>
<column id="id">
<name>id</name>
<type>unsigned int</type>
<size>&table_id_len;</size>
<autoincrement/>
<primary/>
<type db="dbtext">int,auto</type>
<description>unique ID</description>
</column>
<column id="username">
<name>username</name>
<type>string</type>
<size>&user_len;</size>
<default/>
<description>The user that is used for the blacklist lookup.</description>
</column>
<column id="domain">
<name>domain</name>
<type>string</type>
<size>&domain_len;</size>
<default/>
<description>The domain that is used for the blacklist lookup.</description>
</column>
<column id="prefix">
<name>prefix</name>
<type>string</type>
<size>&user_len;</size>
<default/>
<description>The prefix that is matched for the blacklist.</description>
</column>
<column>
<name>whitelist</name>
<type>char</type>
<size>1</size>
<default>0</default>
<description>Specify if this a blacklist (0) or a whitelist (1) entry.</description>
</column>
<index>
<name>userblacklist_idx</name>
<colref linkend="username"/>
<colref linkend="domain"/>
<colref linkend="prefix"/>
</index>
</table>