"Fossies" - the Fresh Open Source Software Archive

Member "opensips-3.0.1/db/schema/location.xml" (16 Apr 2019, 5297 Bytes) of package /linux/misc/opensips-3.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="UTF-8"?>
    2 <!DOCTYPE table PUBLIC "-//opensips.org//DTD DBSchema V1.1//EN"
    3   "http://opensips.org/pub/opensips/dbschema/dtd/1.1/dbschema.dtd" [
    4 
    5 <!ENTITY % entities SYSTEM "entities.xml">
    6 %entities;
    7 
    8 ]>
    9 
   10 <table id="location" xmlns:db="http://docbook.org/ns/docbook">
   11     <name>location</name>
   12     <version>1013</version>
   13     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
   14     <description>
   15         <db:para>Persistent user location information for the usrloc module. More information can be found at: &OPENSIPS_MOD_DOC;usrloc.html
   16         </db:para>
   17     </description>
   18 
   19     <column id="contact_id">
   20         <name>contact_id</name>
   21         <type>unsigned long</type>
   22         <size>&table_id_len;</size>
   23         <autoincrement/>
   24         <primary/>
   25         <type db="dbtext">long,auto</type>
   26         <description>unique ID</description>
   27     </column>
   28 
   29     <column id="username">
   30         <name>&USERCOL;</name>
   31         <type>string</type>
   32         <size>&user_len;</size>
   33         <default/>
   34         <description>Username / phone number </description>
   35         <natural/>
   36     </column>
   37 
   38     <column id="domain">
   39         <name>domain</name>
   40         <type>string</type>
   41         <size>&domain_len;</size>
   42         <null/>
   43         <default><null/></default>
   44         <description>Domain name</description>
   45         <natural/>
   46     </column>
   47 
   48     <column id="contact">
   49         <name>contact</name>
   50         <type>string</type>
   51         <size>&hf_len;</size>
   52         <default/>
   53         <description>Contact header field value provides a URI whoses meaning depends on the type of request or response it is in.</description>
   54     </column>
   55 
   56     <column>
   57         <name>received</name>
   58         <type>string</type>
   59         <size>&uri_len;</size>
   60         <null/>
   61         <default><null/></default>
   62         <description>Received IP:PORT in the format SIP:IP:PORT</description>
   63     </column>
   64 
   65     <column>
   66         <name>path</name>
   67         <type>string</type>
   68         <size>&hf_len;</size>
   69         <null/>
   70         <default><null/></default>
   71         <description>Path Header(s) per RFC 3327</description>
   72     </column>
   73 
   74     <column>
   75         <name>expires</name>
   76         <type>unsigned int</type>
   77         <size>10</size>
   78         <description>Unix timestamp when this entry expires.</description>
   79     </column>
   80 
   81     <column>
   82         <name>q</name>
   83         <type>float</type>
   84         <size>10,2</size>
   85         <default>&DEFAULT_Q;</default>
   86         <description>Value used for preferential routing.</description>
   87     </column>
   88 
   89     <column id="callid">
   90         <name>callid</name>
   91         <type>string</type>
   92         <size>&hf_len;</size>
   93         <default>&DEFAULT_CALLID;</default>
   94         <description>Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client.</description>
   95     </column>
   96 
   97     <column>
   98         <name>cseq</name>
   99         <type>int</type>
  100         <size>&cseq_len;</size>
  101         <default>&DEFAULT_CSEQ;</default>
  102         <description>CSeq header field contains a single decimal sequence number and the request method.</description>
  103     </column>
  104 
  105     <column>
  106         <name>last_modified</name>
  107         <type>datetime</type>
  108         <default>&DEFAULT_DATETIME;</default>
  109         <default db="oracle">to_date('&DEFAULT_DATETIME;','yyyy-mm-dd hh24:mi:ss')</default>
  110         <description>Date and time when this entry was last modified.</description>
  111     </column>
  112 
  113     <column>
  114         <name>flags</name>
  115         <type>int</type>
  116         <size>&flag_len;</size>
  117         <default>0</default>
  118         <description>Flags</description>
  119     </column>
  120 
  121     <column>
  122         <name>cflags</name>
  123         <type>string</type>
  124         <size>255</size>
  125         <null/>
  126         <default><null/></default>
  127         <description>CFlags</description>
  128     </column>
  129 
  130     <column>
  131         <name>user_agent</name>
  132         <type>string</type>
  133         <size>&hf_len;</size>
  134         <default/>
  135         <description>User-Agent header field contains information about the UAC originating the request.</description>
  136     </column>
  137 
  138     <column>
  139         <name>socket</name>
  140         <type>string</type>
  141         <size>&domain_len;</size>
  142         <null/>
  143         <default><null/></default>
  144         <description>Socket used to connect to OpenSIPS. For example: UDP:IP:PORT</description>
  145     </column>
  146 
  147     <column>
  148         <name>methods</name>
  149         <type>int</type>
  150         <size>11</size>
  151         <null/>
  152         <default><null/></default>
  153         <description>Flags that indicate the SIP Methods this contact will accept.</description>
  154     </column>
  155 
  156     <column>
  157         <name>sip_instance</name>
  158         <type>string</type>
  159         <size>255</size>
  160         <null/>
  161         <default><null/></default>
  162         <description>SIP Instance for this particular contact</description>
  163     </column>
  164 
  165     <column>
  166         <name>kv_store</name>
  167         <type>text</type>
  168         <size>512</size>
  169         <default><null/></default>
  170         <null/>
  171         <description>Generic Key-Value storage</description>
  172     </column>
  173 
  174     <column>
  175         <name>attr</name>
  176         <type>string</type>
  177         <size>255</size>
  178         <null/>
  179         <default><null/></default>
  180         <description>Optional information specific to each registration</description>
  181     </column>
  182 </table>