Module: sip-router Branch: master Commit: 2bd1d39b5c1d77da40ad0debb414de0eacba944c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2bd1d39b...
Author: Henning Westerholt henning.westerholt@1und1.de Committer: Henning Westerholt henning.westerholt@1und1.de Date: Thu Oct 1 18:27:15 2009 +0200
purple(k): add missing purple xml db scheme sources
---
lib/srdb1/schema/kamailio-purple.xml | 13 +++++++ lib/srdb1/schema/purplemap.xml | 61 ++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 0 deletions(-)
diff --git a/lib/srdb1/schema/kamailio-purple.xml b/lib/srdb1/schema/kamailio-purple.xml new file mode 100644 index 0000000..7634756 --- /dev/null +++ b/lib/srdb1/schema/kamailio-purple.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE database 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; + +]> + +<database xmlns:xi="http://www.w3.org/2001/XInclude"> + <name>PURPLE</name> + <xi:include href="purplemap.xml"/> +</database> diff --git a/lib/srdb1/schema/purplemap.xml b/lib/srdb1/schema/purplemap.xml new file mode 100644 index 0000000..8a65e68 --- /dev/null +++ b/lib/srdb1/schema/purplemap.xml @@ -0,0 +1,61 @@ +<?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="purplemap" xmlns:db="http://docbook.org/ns/docbook"> + <name>purplemap</name> + <version>1</version> + <type db="mysql">&MYSQL_TABLE_TYPE;</type> + <description> + db:paraTable for the purple module. More information can be found at: &KAMAILIO_MOD_DOC;purple.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="sip_user"> + <name>sip_user</name> + <type>string</type> + <size>&uri_len;</size> + <description>SIP user's URI</description> + <natural/> + </column> + + <column id="ext_user"> + <name>ext_user</name> + <type>string</type> + <size>&uri_len;</size> + <description>External (MSN, GTalk, ...) user's URI/Login</description> + <natural/> + </column> + + <column id="ext_prot"> + <name>ext_prot</name> + <type>string</type> + <size>&method_len;</size> + <description>External protocol to use</description> + <natural/> + </column> + + <column id="ext_pass"> + <name>ext_pass</name> + <type>string</type> + <size>&domain_len;</size> + <description>External user's password</description> + <null/> + </column> + +</table>