<?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="domain_name" xmlns:db="http://docbook.org/ns/docbook">
		  <name>domain_name</name>
		  <version>1</version>
		  <type db="mysql">&MYSQL_TABLE_TYPE;</type>
		  <description>
			  <db:para>
				  This table is used by the carrierroute module to provides
				  routing, balancing and blacklisting capabilities. It contains
				  the existing domains, consisting of the ids and corresponding
				  names. More information is available at:
			<itemizedlist>
			<listitem>
			<ulink url="&KAMAILIO_MOD_DOC;carrierroute.html">&KAMAILIO_MOD_DOC;carrierroute.html</ulink>.
			</listitem>
			</itemizedlist>
			  </db:para>
		  </description>

		  <column id="id">
			  <name>id</name>
			  <type>unsigned int</type>
			  <size>&table_id_len;</size>
			  <natural/>
			  <autoincrement/>
			  <primary/>
			  <type db="dbtext">int,auto</type>
			  <description>Name of the column containing the unique identifier of a domain.</description>
		  </column>

		  <column>
			  <name>domain</name>
			  <type>string</type>
			  <size>&user_len;</size>
			  <null/>
			  <default><null/></default>
			  <description>This column contains the domain name.</description>
		  </column>
	  </table>
