浏览代码

* Added a gateway attribute that can be used to indicate if a gateway
supports directed media (RFC 4145).


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2638 689a6050-402a-0410-94f2-e92a70836424

Juha Heinanen 18 年之前
父节点
当前提交
8a9134eead
共有 2 个文件被更改,包括 9 次插入1 次删除
  1. 1 0
      lib/srdb1/schema/entities.xml
  2. 8 1
      lib/srdb1/schema/gw.xml

+ 1 - 0
lib/srdb1/schema/entities.xml

@@ -23,3 +23,4 @@
 <!ENTITY DEFAULT_CALLID "Default-Call-ID">
 <!ENTITY DEFAULT_CSEQ "13">
 <!ENTITY DEFAULT_DATETIME "1900-01-01 00:00:01"> <!-- postgresql don't like 0000-00-00 00:00:00 -->
+<!ENTITY DEFAULT_DM "1">

+ 8 - 1
lib/srdb1/schema/gw.xml

@@ -10,7 +10,7 @@
 
 <table id="gw" xmlns:db="http://docbook.org/ns/docbook">
     <name>gw</name>
-    <version>4</version>
+    <version>5</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
 	<db:para>This table contains Least Cost Routing Gateway definitions for the LCR module.
@@ -85,6 +85,13 @@
 	    <description>The R-URI(destination) prefix</description>
     </column>
 
+    <column>
+	    <name>dm</name>
+	    <type>unsigned char</type>
+	    <default>&DEFAULT_DM;</default>
+	    <description>Does gateway support directed media (0 = no, 1 = yes)</description>
+    </column>
+
     <index>
 	<name>name_gw</name>
 	<colref linkend="gw_name"/>