Module: kamailio
Branch: master
Commit: d12f96af28e170c3197a47af5840e5e30639adf6
URL: https://github.com/kamailio/kamailio/commit/d12f96af28e170c3197a47af5840e5e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-13T08:54:18+02:00
db_postgres: added missing break for INT8OID results
- instead of DB1_BIGINT, the result type ended to be DB1_DOUBLE
---
Modified: src/modules/db_postgres/km_res.c
---
Diff: https://github.com/kamailio/kamailio/commit/d12f96af28e170c3197a47af5840e5e…
Patch: https://github.com/kamailio/kamailio/commit/d12f96af28e170c3197a47af5840e5e…
---
diff --git a/src/modules/db_postgres/km_res.c b/src/modules/db_postgres/km_res.c
index 8e9b6288ff..5f6cbd4307 100644
--- a/src/modules/db_postgres/km_res.c
+++ b/src/modules/db_postgres/km_res.c
@@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
@@ -131,6 +131,7 @@ int db_postgres_get_columns(const db1_con_t* _h, db1_res_t* _r)
case INT8OID:
LM_DBG("use DB1_BIGINT result type\n");
RES_TYPES(_r)[col] = DB1_BIGINT;
+ break;
case FLOAT4OID:
case FLOAT8OID:
@@ -166,7 +167,7 @@ int db_postgres_get_columns(const db1_con_t* _h, db1_res_t* _r)
LM_DBG("use DB1_BITMAP result type\n");
RES_TYPES(_r)[col] = DB1_BITMAP;
break;
-
+
default:
LM_WARN("unhandled data type column (%.*s) type id (%d), "
"use DB1_STRING as default\n", RES_NAMES(_r)[col]->len,
Module: kamailio
Branch: master
Commit: 97b5d71ef7c3d5828e0d467216d00372801e04ec
URL: https://github.com/kamailio/kamailio/commit/97b5d71ef7c3d5828e0d467216d0037…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-07-12T21:01:19+02:00
modules: readme files regenerated - mqueue ... [skip ci]
---
Modified: src/modules/mqueue/README
---
Diff: https://github.com/kamailio/kamailio/commit/97b5d71ef7c3d5828e0d467216d0037…
Patch: https://github.com/kamailio/kamailio/commit/97b5d71ef7c3d5828e0d467216d0037…
---
diff --git a/src/modules/mqueue/README b/src/modules/mqueue/README
index de19038637..7615f90381 100644
--- a/src/modules/mqueue/README
+++ b/src/modules/mqueue/README
@@ -127,7 +127,7 @@ Chapter 1. Admin Guide
Value must be a list of parameters: attr=value;...
* Mandatory attributes:
- + value: name of the queue.
+ + name: name of the queue.
* Optional attributes:
+ size: size of the queue. Specifies the maximum number of items
in queue. If execeeded the oldest one is removed. If not set
Module: kamailio
Branch: master
Commit: df6af83d627de3de4669c887065c3a5357fa5f7b
URL: https://github.com/kamailio/kamailio/commit/df6af83d627de3de4669c887065c3a5…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2017-07-12T13:33:45-04:00
mqueue: doc updates for queue size
---
Modified: src/modules/mqueue/doc/mqueue.xml
Modified: src/modules/mqueue/doc/mqueue_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/df6af83d627de3de4669c887065c3a5…
Patch: https://github.com/kamailio/kamailio/commit/df6af83d627de3de4669c887065c3a5…
---
diff --git a/src/modules/mqueue/doc/mqueue.xml b/src/modules/mqueue/doc/mqueue.xml
index 94b77fd913..53ce810056 100644
--- a/src/modules/mqueue/doc/mqueue.xml
+++ b/src/modules/mqueue/doc/mqueue.xml
@@ -29,6 +29,12 @@
<email>abalashov(a)evaristesys.com</email>
<affiliation><orgname>Evariste Systems</orgname></affiliation>
</editor>
+ <editor>
+ <firstname>Ovidiu</firstname>
+ <surname>Sas</surname>
+ <email>osas(a)voipembedded.com</email>
+ <affiliation><orgname>VoIP Embedded, Inc.</orgname></affiliation>
+ </editor>
</authorgroup>
<copyright>
<year>2010</year>
diff --git a/src/modules/mqueue/doc/mqueue_admin.xml b/src/modules/mqueue/doc/mqueue_admin.xml
index dc8463b6e7..dfaec773d9 100644
--- a/src/modules/mqueue/doc/mqueue_admin.xml
+++ b/src/modules/mqueue/doc/mqueue_admin.xml
@@ -72,10 +72,32 @@
</emphasis>
</para>
<para>
- Value must be a list of parameters: attr=value;... The attribute 'name'
- is mandatory, defining the name of the queue. Optional attribute 'size'
- specifies the maximum number of items in queue, if it is execeeded the
- oldest one is removed.
+ Value must be a list of parameters: attr=value;...
+ <itemizedlist>
+ <listitem>
+ <para>Mandatory attributes:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>value</emphasis>: name of the queue.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ <para>Optional attributes:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>size</emphasis>: size of the queue.
+ Specifies the maximum number of items in queue.
+ If execeeded the oldest one is removed.
+ If not set the queue will be limitless.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
</para>
<para>
The parameter can be set many times, each holding the definition of one
### Description
No matter what I set the dialog timeout to, the time between INVITE/ACK and timout and the timeout in the dialog db changed at random. It seems to be between 1 and 3 minutes.
94 seconds between the INVITE/ACK and dialog timeout in this case
Jul 7 21:09:28 dev-dallas-sip2-int /usr/sbin/kamailio[30347]: INFO: <script>: RELAYING INVITE to 999999@207.91.156.195:5060 (999999e100a1 -> 102)
Jul 7 21:11:02 dev-dallas-sip2-int /usr/sbin/kamailio[30353]: WARNING: dialog [dlg_handlers.c:1577]: dlg_ontimeout(): timeout for dlg with CallID '0_373726168(a)192.168.1.60' and tags '3498684614' '983bb3d4-38fe-4d47-8d73-c57b85e757d3'
In the database for this dialog, this looks very strange.
start_time 1499461769
timeout 1409235713
### Troubleshooting
I tried to use keep alive in the dialog with ka_timer and ka_interval, I do see the OPTIONS and 200 OK flowing between the two devices and kamailio. This does not prevent the dialog from timing out though.
#### Reproduction
I am just setting the dialog flag on the initial INVITE and let Kamailio do it's thing with the dialog.
modparam("dialog", "db_mode", 1)
modparam("dialog", "default_timeout", 43200) # this should be the default as per kamailio documentation
### Additional Information
* **Kamailio Version**:
```
version: kamailio 5.0.2 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 14:05:03 Jun 14 2017 with gcc 4.8.5
```
* **Operating System**:
```
3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1182