|
@@ -0,0 +1,184 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE table PUBLIC "-//openser.org//DTD DBSchema V1.0//EN"
|
|
|
+ "http://openser.org/pub/openser/dbschema/dtd/1.0/dbschema.dtd" [
|
|
|
+
|
|
|
+<!ENTITY % entities SYSTEM "entities.xml">
|
|
|
+%entities;
|
|
|
+
|
|
|
+]>
|
|
|
+
|
|
|
+<table id="rls_watchers" xmlns:db="http://docbook.org/ns/docbook">
|
|
|
+ <name>rls_watchers</name>
|
|
|
+ <version>0</version>
|
|
|
+ <type db="mysql">&MYSQL_TABLE_TYPE;</type>
|
|
|
+ <description>
|
|
|
+ <db:para>Table for RLS module used for storing resource lists subscribe
|
|
|
+ information.
|
|
|
+ </db:para>
|
|
|
+ </description>
|
|
|
+
|
|
|
+ <column id="id">
|
|
|
+ <name>id</name>
|
|
|
+ <type>unsigned int</type>
|
|
|
+ <size>&table_id_len;</size>
|
|
|
+ <autoincrement/>
|
|
|
+ <primary/>
|
|
|
+ <type db="postgres">SERIAL PRIMARY KEY</type>
|
|
|
+ <type db="dbtext">int,auto</type>
|
|
|
+ <description>Unique ID</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="pres_uri">
|
|
|
+ <name>pres_uri</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&uri_len;</size>
|
|
|
+ <description>Presence URI</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>to_user</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&user_len;</size>
|
|
|
+ <description>To User</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>to_domain</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>To Domain</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>from_user</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&user_len;</size>
|
|
|
+ <description>From User</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>from_domain</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>From Domain</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>event</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&user_len;</size>
|
|
|
+ <default>presence</default>
|
|
|
+ <description>Event description</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>event_id</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&user_len;</size>
|
|
|
+ <null/>
|
|
|
+ <description>Event ID</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="to_tag">
|
|
|
+ <name>to_tag</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>To tag</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="from_tag">
|
|
|
+ <name>from_tag</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>From tag</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column id="callid">
|
|
|
+ <name>callid</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>Call ID</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>local_cseq</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>&cseq_len;</size>
|
|
|
+ <description>Local cseq</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>remote_cseq</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>&cseq_len;</size>
|
|
|
+ <description>Remote cseq</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>contact</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>Contact</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>record_route</name>
|
|
|
+ <type>text</type>
|
|
|
+ <null/>
|
|
|
+ <description>Record route</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>expires</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>&expires_len;</size>
|
|
|
+ <description>Expires</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>status</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>11</size>
|
|
|
+ <default>2</default>
|
|
|
+ <description>Status</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>reason</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&user_len;</size>
|
|
|
+ <description>Reason</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>version</name>
|
|
|
+ <type>int</type>
|
|
|
+ <size>11</size>
|
|
|
+ <default>0</default>
|
|
|
+ <description>Version</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>socket_info</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&domain_len;</size>
|
|
|
+ <description>Socket info</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <column>
|
|
|
+ <name>local_contact</name>
|
|
|
+ <type>string</type>
|
|
|
+ <size>&uri_len;</size>
|
|
|
+ <description>Local contact</description>
|
|
|
+ </column>
|
|
|
+
|
|
|
+ <index>
|
|
|
+ <name>pctt_rlwatchers</name>
|
|
|
+ <colref linkend="pres_uri"/>
|
|
|
+ <colref linkend="callid"/>
|
|
|
+ <colref linkend="to_tag"/>
|
|
|
+ <colref linkend="from_tag"/>
|
|
|
+ <unique/>
|
|
|
+ </index>
|
|
|
+
|
|
|
+</table>
|