Module: kamailio
Branch: 5.1
Commit: 1ebddeda803f5dce1e9cebd8847a0bc15ae6a524
URL: https://github.com/kamailio/kamailio/commit/1ebddeda803f5dce1e9cebd8847a0bc…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-07-03T22:10:48+02:00
acc: extend description in docs for log_missed_calls flag
(cherry picked from commit f7f3222ec03b2a1e9260a79e737cc55c7dac169f)
---
Modified: src/modules/acc/doc/acc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/1ebddeda803f5dce1e9cebd8847a0bc…
Patch: https://github.com/kamailio/kamailio/commit/1ebddeda803f5dce1e9cebd8847a0bc…
---
diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml
index e9efa8f5ea..6365457f06 100644
--- a/src/modules/acc/doc/acc_admin.xml
+++ b/src/modules/acc/doc/acc_admin.xml
@@ -688,6 +688,14 @@ modparam("acc", "log_flag", 2)
<title><varname>log_missed_flag</varname> (integer)</title>
<para>
Request flag which needs to be set to account missed calls via syslog.
+ This can be used to e.g. account failures during the call setup phase
+ from the callee side, for example if you do forking to several
+ destinations.
+ </para>
+ <para>
+ Keep in mind that this flag is reset after processing. Therefore it is
+ necessary to set it again e.g. in a failure_route if you do serial
+ forking and want to log all attempts.
</para>
<para>
Default value is not-set (no flag).
Module: kamailio
Branch: master
Commit: f7f3222ec03b2a1e9260a79e737cc55c7dac169f
URL: https://github.com/kamailio/kamailio/commit/f7f3222ec03b2a1e9260a79e737cc55…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-07-03T22:09:40+02:00
acc: extend description in docs for log_missed_calls flag
---
Modified: src/modules/acc/doc/acc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/f7f3222ec03b2a1e9260a79e737cc55…
Patch: https://github.com/kamailio/kamailio/commit/f7f3222ec03b2a1e9260a79e737cc55…
---
diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml
index a0d0710ccb..48e8c6ac31 100644
--- a/src/modules/acc/doc/acc_admin.xml
+++ b/src/modules/acc/doc/acc_admin.xml
@@ -688,6 +688,14 @@ modparam("acc", "log_flag", 2)
<title><varname>log_missed_flag</varname> (integer)</title>
<para>
Request flag which needs to be set to account missed calls via syslog.
+ This can be used to e.g. account failures during the call setup phase
+ from the callee side, for example if you do forking to several
+ destinations.
+ </para>
+ <para>
+ Keep in mind that this flag is reset after processing. Therefore it is
+ necessary to set it again e.g. in a failure_route if you do serial
+ forking and want to log all attempts.
</para>
<para>
Default value is not-set (no flag).
### Description
Using DB_UNIXODBC with an Azure SQL database works, however when starting Kamailio, errors are shown for :
```
26(80403) ERROR: db_unixodbc [connection.c:219]: db_unixodbc_extract_error(): unixodbc:SQLDriverConnect=01000:3:5701:[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Changed database context to 'database-name'.
ERROR: db_unixodbc [connection.c:219]: db_unixodbc_extract_error(): unixodbc:SQLDriverConnect=01000:2:5703:[unixODBC][Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Changed language setting to us_english.
```
Regarding changing the DB context, the database to be used is defined in my ```odbc.ini``` file
```
[dsnName]
Driver=ODBC Driver 17 for SQL Server
Description=Azure MS SQL Server
Trace=No
Server=tcp:azure-sql-server-name.database.windows.net,1433
Encrypt=yes
TrustServerCertificate=no
Connection Timeout=30
Database=databaseName
```
I'm not able to `USE databaseName` when connecting to an Azure DB. The default language is already US-English, and i'm guessing it's also Azure specific that it cannot be changed?
### Troubleshooting
I'm not sure what troubleshooting can be done with this. The DB connection works, it's just these commands that fail, but since the result is already correct, it doesn't seem to functionally matter, aside from the errors being thrown.
#### Reproduction
This can be reproduced using an Azure SQL database. Create a single database and a dedicated user (with db_owner membership), and configure the ODBC connection as above.
#### Debugging Data
I'm not sure any additional debugging information is available. I'm happy to provide anything specific requested.
#### Log Messages
```
26(80403) ERROR: db_unixodbc [connection.c:219]: db_unixodbc_extract_error(): unixodbc:SQLDriverConnect=01000:3:5701:[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Changed database context to 'database-name'.
ERROR: db_unixodbc [connection.c:219]: db_unixodbc_extract_error(): unixodbc:SQLDriverConnect=01000:2:5703:[unixODBC][Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Changed language setting to us_english.
```
### Possible Solutions
I would suspect that a parameter could be added to the DB_UNIXODBC module to make each of these behaviors (changing database and changing language) optional. Default config would retain the existing behavior, so it's just an override if desired.
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.1.8 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, 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_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 6.3.0
```
* **Operating System**:
```
Debian Stretch:
4.19.0-0.bpo.4-cloud-amd64 #1 SMP Debian 4.19.28-2~bpo9+1 (2019-03-27) 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/1993
Module: kamailio
Branch: master
Commit: e5ed0651c7f3dad224b56625e403bb7420fd208f
URL: https://github.com/kamailio/kamailio/commit/e5ed0651c7f3dad224b56625e403bb7…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-07-03T17:06:18+02:00
modules: readme files regenerated - call_control ... [skip ci]
---
Modified: src/modules/call_control/README
---
Diff: https://github.com/kamailio/kamailio/commit/e5ed0651c7f3dad224b56625e403bb7…
Patch: https://github.com/kamailio/kamailio/commit/e5ed0651c7f3dad224b56625e403bb7…
---
diff --git a/src/modules/call_control/README b/src/modules/call_control/README
index f6a639e4dc..8ec69ecd34 100644
--- a/src/modules/call_control/README
+++ b/src/modules/call_control/README
@@ -92,11 +92,13 @@ Chapter 1. Admin Guide
also instruct the rating engine to debit the balance for the caller
with the consumed amount. The callcontrol application is available
from http://callcontrol.ag-projects.com/
- * At the moment the callcontrol application only supports the old
- “MI” interface for communication with Kamailio. This interface is
- unfortunately not available anymore in Kamailio. So this
- application can't be used right now together with the call_control
- module.
+ * NOTE: At the moment the callcontrol application only supports the
+ old “MI” interface for communication with Kamailio. This interface
+ is unfortunately not available anymore in Kamailio. So this
+ application cannot be used right now out of the box together with
+ the call_control module. See the next link for possible solutions:
+ https://lists.kamailio.org/pipermail/sr-users/2019-June/106056.html
+ .
* A rating engine that is used to calculate the time limit based on
the caller's credit and the destination price and to debit the
caller's balance after a call ends. This is available as part of
Module: kamailio
Branch: master
Commit: 19cfda13da1c95d2f24944d9116e1f0d7c307d56
URL: https://github.com/kamailio/kamailio/commit/19cfda13da1c95d2f24944d9116e1f0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-03T17:05:11+02:00
call_control: docs - link to mailing list discussion about MI to RPC control
---
Modified: src/modules/call_control/doc/call_control_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/19cfda13da1c95d2f24944d9116e1f0…
Patch: https://github.com/kamailio/kamailio/commit/19cfda13da1c95d2f24944d9116e1f0…
---
diff --git a/src/modules/call_control/doc/call_control_admin.xml b/src/modules/call_control/doc/call_control_admin.xml
index 789f82d6b3..81a49d9851 100644
--- a/src/modules/call_control/doc/call_control_admin.xml
+++ b/src/modules/call_control/doc/call_control_admin.xml
@@ -45,11 +45,14 @@
</listitem>
<listitem>
<para>
- At the moment the callcontrol application only supports the old
- <quote>MI</quote> interface for communication with Kamailio. This
- interface is unfortunately not available anymore in Kamailio. So
- this application can't be used right now together with the
- call_control module.
+ NOTE: At the moment the callcontrol application only supports the old
+ <quote>MI</quote> interface for communication with &kamailio;. This
+ interface is unfortunately not available anymore in &kamailio;. So
+ this application cannot be used right now out of the box together
+ with the call_control module. See the next link for possible
+ solutions:
+ <ulink url="https://lists.kamailio.org/pipermail/sr-users/2019-June/106056.html">
+ https://lists.kamailio.org/pipermail/sr-users/2019-June/106056.html</ulink>.
</para>
</listitem>
<listitem>
Module: kamailio
Branch: 5.1
Commit: c26fe0dff7ff498b9c0de4bd0b4e9f7a380a7b3f
URL: https://github.com/kamailio/kamailio/commit/c26fe0dff7ff498b9c0de4bd0b4e9f7…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-07-03T17:00:03+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/call_control/README
---
Diff: https://github.com/kamailio/kamailio/commit/c26fe0dff7ff498b9c0de4bd0b4e9f7…
Patch: https://github.com/kamailio/kamailio/commit/c26fe0dff7ff498b9c0de4bd0b4e9f7…
---
diff --git a/src/modules/call_control/README b/src/modules/call_control/README
index 9444eef1b8..74a20eeb19 100644
--- a/src/modules/call_control/README
+++ b/src/modules/call_control/README
@@ -92,6 +92,11 @@ Chapter 1. Admin Guide
also instruct the rating engine to debit the balance for the caller
with the consumed amount. The callcontrol application is available
from http://callcontrol.ag-projects.com/
+ * At the moment the callcontrol application only supports the old
+ “MI” interface for communication with Kamailio. This interface is
+ unfortunately not available anymore in Kamailio. So this
+ application can't be used right now together with the call_control
+ module.
* A rating engine that is used to calculate the time limit based on
the caller's credit and the destination price and to debit the
caller's balance after a call ends. This is available as part of
Module: kamailio
Branch: 5.2
Commit: 01786b79e449506d0ccdf7528343e996be4e7cad
URL: https://github.com/kamailio/kamailio/commit/01786b79e449506d0ccdf7528343e99…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-07-03T16:57:48+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/call_control/README
---
Diff: https://github.com/kamailio/kamailio/commit/01786b79e449506d0ccdf7528343e99…
Patch: https://github.com/kamailio/kamailio/commit/01786b79e449506d0ccdf7528343e99…
---
diff --git a/src/modules/call_control/README b/src/modules/call_control/README
index cdde5983df..f6a639e4dc 100644
--- a/src/modules/call_control/README
+++ b/src/modules/call_control/README
@@ -92,6 +92,11 @@ Chapter 1. Admin Guide
also instruct the rating engine to debit the balance for the caller
with the consumed amount. The callcontrol application is available
from http://callcontrol.ag-projects.com/
+ * At the moment the callcontrol application only supports the old
+ “MI” interface for communication with Kamailio. This interface is
+ unfortunately not available anymore in Kamailio. So this
+ application can't be used right now together with the call_control
+ module.
* A rating engine that is used to calculate the time limit based on
the caller's credit and the destination price and to debit the
caller's balance after a call ends. This is available as part of
Module: kamailio
Branch: master
Commit: 1926dc1f2ed9bcaf4a5294b21c4cb890c41f644e
URL: https://github.com/kamailio/kamailio/commit/1926dc1f2ed9bcaf4a5294b21c4cb89…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-03T16:51:58+02:00
dialplan: note about reload interval limit for rpc command
---
Modified: src/modules/dialplan/doc/dialplan_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/1926dc1f2ed9bcaf4a5294b21c4cb89…
Patch: https://github.com/kamailio/kamailio/commit/1926dc1f2ed9bcaf4a5294b21c4cb89…
---
diff --git a/src/modules/dialplan/doc/dialplan_admin.xml b/src/modules/dialplan/doc/dialplan_admin.xml
index e524524fb8..30f2b75b8a 100644
--- a/src/modules/dialplan/doc/dialplan_admin.xml
+++ b/src/modules/dialplan/doc/dialplan_admin.xml
@@ -642,7 +642,7 @@ xlog("translated to var $var(y) \n");
</section>
- <section id="dispatcher.f.dp_reload">
+ <section id="dialplan.f.dp_reload">
<title>
<function moreinfo="none">dp_reload()</function>
</title>
@@ -685,7 +685,9 @@ xlog("translated to var $var(y) \n");
<section id="dialplan.r.dp.reload">
<title><varname>dialplan.reload</varname></title>
<para>
- Forces an update of the translation rules from the database.
+ Perform a reload of the translation rules from the database.
+ Note that there is a rate limiting defined by 'reload_delta'
+ paramenter. By default is allowed maximum one reload in five seconds.
</para>
<para>
Name: <emphasis>dialplan.reload</emphasis>