Module: kamailio
Branch: master
Commit: 97345fc366b51c4c24128be39cc6b689fc254a10
URL: https://github.com/kamailio/kamailio/commit/97345fc366b51c4c24128be39cc6b68…
Author: Federico Cabiddu <fcabiddu(a)orange-vallee.net>
Committer: Federico Cabiddu <fcabiddu(a)orange-vallee.net>
Date: 2015-04-21T16:44:19+02:00
modules/tsilo: documentation update
---
Modified: modules/tsilo/doc/tsilo.xml
Modified: modules/tsilo/doc/tsilo_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/97345fc366b51c4c24128be39cc6b68…
Patch: https://github.com/kamailio/kamailio/commit/97345fc366b51c4c24128be39cc6b68…
---
diff --git a/modules/tsilo/doc/tsilo.xml b/modules/tsilo/doc/tsilo.xml
index 4feb719..4a5a00e 100644
--- a/modules/tsilo/doc/tsilo.xml
+++ b/modules/tsilo/doc/tsilo.xml
@@ -25,7 +25,7 @@
</editor>
</authorgroup>
<copyright>
- <year>2014</year>
+ <year>2015</year>
<holder>Federico Cabiddu</holder>
</copyright>
</bookinfo>
diff --git a/modules/tsilo/doc/tsilo_admin.xml b/modules/tsilo/doc/tsilo_admin.xml
index 9c08931..7625059 100644
--- a/modules/tsilo/doc/tsilo_admin.xml
+++ b/modules/tsilo/doc/tsilo_admin.xml
@@ -16,12 +16,12 @@
<section>
<title>Overview</title>
<para>
- This modules provides transaction storage for the &kamailioname;. It
+ This module provides transaction storage for the &kamailioname;. It
stores in an internal table transactions for a Request-URI (R-URI) and add branches
to them later if new contacts for the AOR are added.
</para>
<para>
- When the <emphasis>ts_store</emphasis> function is called, the modules stores the current transaction R-URI &uri;, index and label. Two functions (<emphasis>ts_append</emphasis> and <emphasis>ts_append_to</emphasis>) provide the ability to add new branches either to a specific transaction or to all of the transactions stored for a given R-URI.
+ When the <emphasis>ts_store</emphasis> function is called, the module stores the current transaction R-URI &uri;, index and label. Two functions (<emphasis>ts_append</emphasis> and <emphasis>ts_append_to</emphasis>) provide the ability to add new branches either to a specific transaction or to all of the transactions stored for a given R-URI. If USRLOC's <emphasis>use_domain</emphasis> option is true, the domain part of the R-URI is used to store the transaction, otherwise only the username part is used.
</para>
<para>
When a transaction is destroyed by the <emphasis>TM</emphasis> module,
@@ -49,6 +49,11 @@
</listitem>
<listitem>
<para>
+ <emphasis>USRLOC</emphasis>--usrloc module-- according to the value of <emphasis>use_domain</emphasis> option, domain part of the r-uri will be used to store the transaction.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<emphasis>SL</emphasis>
</para>
</listitem>
@@ -151,7 +156,7 @@ if (is_method("INVITE")) {
<programlisting format="linespecific">
...
if (is_method("REGISTER")) {
- ts_append("location", "$tu");
+ ts_append("location", "$tU");
}
...
</programlisting>
Module: kamailio
Branch: master
Commit: b847ff224ac8e738e07f9631cb7ba27091d9b22b
URL: https://github.com/kamailio/kamailio/commit/b847ff224ac8e738e07f9631cb7ba27…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-04-21T16:18:39+02:00
kamctl: upgrade schema for acc
---
Modified: utils/kamctl/db_berkeley/kamailio/acc_cdrs
Modified: utils/kamctl/db_sqlite/acc-create.sql
Modified: utils/kamctl/mysql/acc-create.sql
Modified: utils/kamctl/oracle/acc-create.sql
Modified: utils/kamctl/postgres/acc-create.sql
---
Diff: https://github.com/kamailio/kamailio/commit/b847ff224ac8e738e07f9631cb7ba27…
Patch: https://github.com/kamailio/kamailio/commit/b847ff224ac8e738e07f9631cb7ba27…
---
diff --git a/utils/kamctl/db_berkeley/kamailio/acc_cdrs b/utils/kamctl/db_berkeley/kamailio/acc_cdrs
index 8eb3cbb..57ab533 100644
--- a/utils/kamctl/db_berkeley/kamailio/acc_cdrs
+++ b/utils/kamctl/db_berkeley/kamailio/acc_cdrs
@@ -7,4 +7,4 @@ METADATA_READONLY
METADATA_LOGFLAGS
0
METADATA_DEFAULTS
-NIL|''|''|''
+NIL|'2000-01-01 00:00:00'|'2000-01-01 00:00:00'|0
diff --git a/utils/kamctl/db_sqlite/acc-create.sql b/utils/kamctl/db_sqlite/acc-create.sql
index d27d307..60b4193 100644
--- a/utils/kamctl/db_sqlite/acc-create.sql
+++ b/utils/kamctl/db_sqlite/acc-create.sql
@@ -15,9 +15,9 @@ CREATE INDEX acc_callid_idx ON acc (callid);
INSERT INTO version (table_name, table_version) values ('acc_cdrs','2');
CREATE TABLE acc_cdrs (
id INTEGER PRIMARY KEY NOT NULL,
- start_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '' NOT NULL,
- end_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '' NOT NULL,
- duration REAL DEFAULT '' NOT NULL
+ start_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '2000-01-01 00:00:00' NOT NULL,
+ end_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '2000-01-01 00:00:00' NOT NULL,
+ duration REAL DEFAULT 0 NOT NULL
);
CREATE INDEX acc_cdrs_start_time_idx ON acc_cdrs (start_time);
diff --git a/utils/kamctl/mysql/acc-create.sql b/utils/kamctl/mysql/acc-create.sql
index c088ca4..0d02811 100644
--- a/utils/kamctl/mysql/acc-create.sql
+++ b/utils/kamctl/mysql/acc-create.sql
@@ -15,9 +15,9 @@ CREATE INDEX callid_idx ON acc (callid);
INSERT INTO version (table_name, table_version) values ('acc_cdrs','2');
CREATE TABLE acc_cdrs (
id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
- start_time DATETIME DEFAULT '' NOT NULL,
- end_time DATETIME DEFAULT '' NOT NULL,
- duration FLOAT(10,3) DEFAULT '' NOT NULL
+ start_time DATETIME DEFAULT '2000-01-01 00:00:00' NOT NULL,
+ end_time DATETIME DEFAULT '2000-01-01 00:00:00' NOT NULL,
+ duration FLOAT(10,3) DEFAULT 0 NOT NULL
);
CREATE INDEX start_time_idx ON acc_cdrs (start_time);
diff --git a/utils/kamctl/oracle/acc-create.sql b/utils/kamctl/oracle/acc-create.sql
index b84a97b..2a71e85 100644
--- a/utils/kamctl/oracle/acc-create.sql
+++ b/utils/kamctl/oracle/acc-create.sql
@@ -23,9 +23,9 @@ CREATE INDEX acc_callid_idx ON acc (callid);
INSERT INTO version (table_name, table_version) values ('acc_cdrs','2');
CREATE TABLE acc_cdrs (
id NUMBER(10) PRIMARY KEY,
- start_time DATE DEFAULT '',
- end_time DATE DEFAULT '',
- duration NUMBER(10,3) DEFAULT ''
+ start_time DATE DEFAULT '2000-01-01 00:00:00',
+ end_time DATE DEFAULT '2000-01-01 00:00:00',
+ duration NUMBER(10,3) DEFAULT 0 NOT NULL
);
CREATE OR REPLACE TRIGGER acc_cdrs_tr
diff --git a/utils/kamctl/postgres/acc-create.sql b/utils/kamctl/postgres/acc-create.sql
index 8ae4336..713514f 100644
--- a/utils/kamctl/postgres/acc-create.sql
+++ b/utils/kamctl/postgres/acc-create.sql
@@ -15,9 +15,9 @@ CREATE INDEX acc_callid_idx ON acc (callid);
INSERT INTO version (table_name, table_version) values ('acc_cdrs','2');
CREATE TABLE acc_cdrs (
id SERIAL PRIMARY KEY NOT NULL,
- start_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '' NOT NULL,
- end_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '' NOT NULL,
- duration REAL DEFAULT '' NOT NULL
+ start_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '2000-01-01 00:00:00' NOT NULL,
+ end_time TIMESTAMP WITHOUT TIME ZONE DEFAULT '2000-01-01 00:00:00' NOT NULL,
+ duration REAL DEFAULT 0 NOT NULL
);
CREATE INDEX acc_cdrs_start_time_idx ON acc_cdrs (start_time);