Module: sip-router
Branch: master
Commit: dd7a49ee775ff5b29bb73c5313c3bfd8a64b26a0
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dd7a49e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Oct 12 23:39:18 2014 +0200
dialplan: option to allow variables in match and substitution expressions
- based on requirement from FS#429
- new parameter: match_dynamic to enable this feature
- if enabled, at load time, the values are searched for variables and if
any found, then evaluation and pcre compilation is done at runtime
- it can work with rules that don't include variables at the same time,
these being pre-compiled at load time
---
modules/dialplan/dialplan.c | 13 ++--
modules/dialplan/dialplan.h | 33 ++++++---
modules/dialplan/dp_db.c | 160 ++++++++++++++++++++++++++++++++----------
modules/dialplan/dp_repl.c | 82 +++++++++++++++++++---
4 files changed, 222 insertions(+), 66 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=dd7…
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Nuno Miguel Reis (nmreis)
Attached to Project - sip-router
Summary - CRASH: segfault in parser/parse_via.c
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - High
Priority - Normal
Reported Version - 4.1
Due in Version - Undecided
Due Date - Undecided
Details - Had a segmentation fault on a production environment.
Please find attached the backtrace info.
Let me know if anything else is needed.
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=478
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: 4.2
Commit: 6a69cfbfd6745bcaeee14a5bc5ce8ab38f5a7b50
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6a69cfb…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Oct 12 20:38:27 2014 +0200
uri_db Documentation update, section IDs added
---
modules/uri_db/README | 14 +++++++-------
modules/uri_db/doc/uri_db_admin.xml | 30 +++++++++++++++---------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/modules/uri_db/README b/modules/uri_db/README
index 1bf2cc2..2a7d42c 100644
--- a/modules/uri_db/README
+++ b/modules/uri_db/README
@@ -118,7 +118,7 @@ Chapter 1. Admin Guide
If the db_url string is empty, the default database URL will be used.
- Default value is "mysql://openserro:openserro@localhost/openser".
+ Default value is "mysql://kamailioro:kamailioro@localhost/kamailio".
Example 1.1. Set db_url parameter
...
@@ -129,7 +129,7 @@ modparam("uri_db", "db_url", "mysql://username:password@localhost/openser")
The DB table that should be used. Its possible to use the "subscriber"
and "uri" table. If the "uri" table should be used, an additional
- parameter (Section 3.6, "use_uri_table (integer)") must be set.
+ parameter "use-uri-table") must be set.
Default value is "subscriber".
@@ -208,8 +208,8 @@ modparam("uri_db", "use_domain", 1)
4.1. check_to()
- Check To username against URI table (if use_uri_table is set) or digest
- credentials (no DB backend required).
+ Check "To" username against URI table (if use_uri_table is set) or
+ digest credentials (no DB backend required).
This function can be used from REQUEST_ROUTE.
@@ -222,7 +222,7 @@ if (check_to()) {
4.2. check_from()
- Check From username against URI table (if use_uri_table is set) or
+ Check "From" username against URI table (if use_uri_table is set) or
digest credentials (no DB backend required).
This function can be used from REQUEST_ROUTE.
@@ -238,8 +238,8 @@ if (check_from()) {
Check if username in the request URI belongs to an existing user.
- As the checking is done against URI table (if use_uri_table is set) or
- subscriber table.
+ The checking is done against the URI table (if use_uri_table is set) or
+ the subscriber table.
This function can be used from REQUEST_ROUTE.
diff --git a/modules/uri_db/doc/uri_db_admin.xml b/modules/uri_db/doc/uri_db_admin.xml
index 89f5bf6..2dc0e43 100644
--- a/modules/uri_db/doc/uri_db_admin.xml
+++ b/modules/uri_db/doc/uri_db_admin.xml
@@ -50,7 +50,7 @@
<section>
<title>Parameters</title>
- <section>
+ <section id="uri_db.p.db_url">
<title><varname>db_url</varname> (string)</title>
<para>
&url; of the database to be used.
@@ -74,13 +74,13 @@ modparam("uri_db", "db_url", "mysql://username:password@localhost/openser")
</example>
</section>
- <section>
+ <section id="uri_db.p.db_table">
<title><varname>db_table</varname> (string)</title>
<para>
The DB table that should be used. Its possible to use the
<quote>subscriber</quote> and <quote>uri</quote> table. If the
<quote>uri</quote> table should be used, an additional parameter
- (<xref linkend="use-uri-table"/>) must be set.
+ <quote>use-uri-table</quote>) must be set.
</para>
<para>
<emphasis>
@@ -97,7 +97,7 @@ modparam("uri_db", "db_table", "uri")
</example>
</section>
- <section>
+ <section id="uri_db.p.user_column">
<title><varname>user_column</varname> (string)</title>
<para>
Column holding usernames in the table.
@@ -117,7 +117,7 @@ modparam("uri_db", "user_column", "username")
</example>
</section>
- <section>
+ <section id="uri_db.p.domain_column">
<title><varname>domain_column</varname> (string)</title>
<para>
Column holding domain in the table.
@@ -137,7 +137,7 @@ modparam("uri_db", "domain_column", "domain")
</example>
</section>
- <section>
+ <section id="uri_db.p.uriuser_column">
<title><varname>uriuser_column</varname> (string)</title>
<para>
Column holding &uri; username in the table.
@@ -157,7 +157,7 @@ modparam("uri_db", "uriuser_column", "uri_user")
</example>
</section>
- <section id="use-uri-table">
+ <section id="uri_db.p.use_uri_table">
<title><varname>use_uri_table</varname> (integer)</title>
<para>
Specify if the <quote>uri</quote> table should be used for checkings
@@ -178,7 +178,7 @@ modparam("uri_db", "use_uri_table", 1)
</example>
</section>
- <section>
+ <section id="uri_db.p.use_domain">
<title><varname>use_domain</varname> (integer)</title>
<para>
Specify if the domain part of the URI should be used to identify the
@@ -207,12 +207,12 @@ modparam("uri_db", "use_domain", 1)
</section>
<section>
<title>Functions</title>
- <section>
+ <section id="uri_db.f.check_to">
<title>
<function moreinfo="none">check_to()</function>
</title>
<para>
- Check To username against &uri; table (if use_uri_table is set) or
+ Check <quote>To</quote> username against &uri; table (if use_uri_table is set) or
digest credentials (no DB backend required).
</para>
<para>
@@ -230,12 +230,12 @@ if (check_to()) {
</example>
</section>
- <section>
+ <section id="uri_db.f.check_from">
<title>
<function moreinfo="none">check_from()</function>
</title>
<para>
- Check From username against &uri; table (if use_uri_table is set) or
+ Check <quote>From</quote> username against &uri; table (if use_uri_table is set) or
digest credentials (no DB backend required).
</para>
<para>
@@ -253,7 +253,7 @@ if (check_from()) {
</example>
</section>
- <section>
+ <section id="uri_db.f.does_uri_exist">
<title>
<function moreinfo="none">does_uri_exist()</function>
</title>
@@ -261,8 +261,8 @@ if (check_from()) {
Check if username in the request &uri; belongs to an existing user.
</para>
<para>
- As the checking is done against &uri; table (if use_uri_table is set)
- or subscriber table.
+ The checking is done against the &uri; table (if use_uri_table is set)
+ or the subscriber table.
</para>
<para>
This function can be used from REQUEST_ROUTE.
Module: sip-router
Branch: master
Commit: 73e5bc5896cc30d63cd92919ebf3da2e3c72ee26
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73e5bc5…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Oct 12 20:38:27 2014 +0200
uri_db Documentation update, section IDs added
---
modules/uri_db/README | 14 +++++++-------
modules/uri_db/doc/uri_db_admin.xml | 30 +++++++++++++++---------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/modules/uri_db/README b/modules/uri_db/README
index 1bf2cc2..2a7d42c 100644
--- a/modules/uri_db/README
+++ b/modules/uri_db/README
@@ -118,7 +118,7 @@ Chapter 1. Admin Guide
If the db_url string is empty, the default database URL will be used.
- Default value is "mysql://openserro:openserro@localhost/openser".
+ Default value is "mysql://kamailioro:kamailioro@localhost/kamailio".
Example 1.1. Set db_url parameter
...
@@ -129,7 +129,7 @@ modparam("uri_db", "db_url", "mysql://username:password@localhost/openser")
The DB table that should be used. Its possible to use the "subscriber"
and "uri" table. If the "uri" table should be used, an additional
- parameter (Section 3.6, "use_uri_table (integer)") must be set.
+ parameter "use-uri-table") must be set.
Default value is "subscriber".
@@ -208,8 +208,8 @@ modparam("uri_db", "use_domain", 1)
4.1. check_to()
- Check To username against URI table (if use_uri_table is set) or digest
- credentials (no DB backend required).
+ Check "To" username against URI table (if use_uri_table is set) or
+ digest credentials (no DB backend required).
This function can be used from REQUEST_ROUTE.
@@ -222,7 +222,7 @@ if (check_to()) {
4.2. check_from()
- Check From username against URI table (if use_uri_table is set) or
+ Check "From" username against URI table (if use_uri_table is set) or
digest credentials (no DB backend required).
This function can be used from REQUEST_ROUTE.
@@ -238,8 +238,8 @@ if (check_from()) {
Check if username in the request URI belongs to an existing user.
- As the checking is done against URI table (if use_uri_table is set) or
- subscriber table.
+ The checking is done against the URI table (if use_uri_table is set) or
+ the subscriber table.
This function can be used from REQUEST_ROUTE.
diff --git a/modules/uri_db/doc/uri_db_admin.xml b/modules/uri_db/doc/uri_db_admin.xml
index 89f5bf6..2dc0e43 100644
--- a/modules/uri_db/doc/uri_db_admin.xml
+++ b/modules/uri_db/doc/uri_db_admin.xml
@@ -50,7 +50,7 @@
<section>
<title>Parameters</title>
- <section>
+ <section id="uri_db.p.db_url">
<title><varname>db_url</varname> (string)</title>
<para>
&url; of the database to be used.
@@ -74,13 +74,13 @@ modparam("uri_db", "db_url", "mysql://username:password@localhost/openser")
</example>
</section>
- <section>
+ <section id="uri_db.p.db_table">
<title><varname>db_table</varname> (string)</title>
<para>
The DB table that should be used. Its possible to use the
<quote>subscriber</quote> and <quote>uri</quote> table. If the
<quote>uri</quote> table should be used, an additional parameter
- (<xref linkend="use-uri-table"/>) must be set.
+ <quote>use-uri-table</quote>) must be set.
</para>
<para>
<emphasis>
@@ -97,7 +97,7 @@ modparam("uri_db", "db_table", "uri")
</example>
</section>
- <section>
+ <section id="uri_db.p.user_column">
<title><varname>user_column</varname> (string)</title>
<para>
Column holding usernames in the table.
@@ -117,7 +117,7 @@ modparam("uri_db", "user_column", "username")
</example>
</section>
- <section>
+ <section id="uri_db.p.domain_column">
<title><varname>domain_column</varname> (string)</title>
<para>
Column holding domain in the table.
@@ -137,7 +137,7 @@ modparam("uri_db", "domain_column", "domain")
</example>
</section>
- <section>
+ <section id="uri_db.p.uriuser_column">
<title><varname>uriuser_column</varname> (string)</title>
<para>
Column holding &uri; username in the table.
@@ -157,7 +157,7 @@ modparam("uri_db", "uriuser_column", "uri_user")
</example>
</section>
- <section id="use-uri-table">
+ <section id="uri_db.p.use_uri_table">
<title><varname>use_uri_table</varname> (integer)</title>
<para>
Specify if the <quote>uri</quote> table should be used for checkings
@@ -178,7 +178,7 @@ modparam("uri_db", "use_uri_table", 1)
</example>
</section>
- <section>
+ <section id="uri_db.p.use_domain">
<title><varname>use_domain</varname> (integer)</title>
<para>
Specify if the domain part of the URI should be used to identify the
@@ -207,12 +207,12 @@ modparam("uri_db", "use_domain", 1)
</section>
<section>
<title>Functions</title>
- <section>
+ <section id="uri_db.f.check_to">
<title>
<function moreinfo="none">check_to()</function>
</title>
<para>
- Check To username against &uri; table (if use_uri_table is set) or
+ Check <quote>To</quote> username against &uri; table (if use_uri_table is set) or
digest credentials (no DB backend required).
</para>
<para>
@@ -230,12 +230,12 @@ if (check_to()) {
</example>
</section>
- <section>
+ <section id="uri_db.f.check_from">
<title>
<function moreinfo="none">check_from()</function>
</title>
<para>
- Check From username against &uri; table (if use_uri_table is set) or
+ Check <quote>From</quote> username against &uri; table (if use_uri_table is set) or
digest credentials (no DB backend required).
</para>
<para>
@@ -253,7 +253,7 @@ if (check_from()) {
</example>
</section>
- <section>
+ <section id="uri_db.f.does_uri_exist">
<title>
<function moreinfo="none">does_uri_exist()</function>
</title>
@@ -261,8 +261,8 @@ if (check_from()) {
Check if username in the request &uri; belongs to an existing user.
</para>
<para>
- As the checking is done against &uri; table (if use_uri_table is set)
- or subscriber table.
+ The checking is done against the &uri; table (if use_uri_table is set)
+ or the subscriber table.
</para>
<para>
This function can be used from REQUEST_ROUTE.
Module: sip-router
Branch: 4.2
Commit: 8ea81d7303d1b4ec3e4a2481ecaf49692923be29
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8ea81d7…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Oct 12 20:19:05 2014 +0200
CA example README update
---
etc/tls/README | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/etc/tls/README b/etc/tls/README
index 111cfe2..2ce7a27 100644
--- a/etc/tls/README
+++ b/etc/tls/README
@@ -1,12 +1,13 @@
-
+Kamailio example CA
+===================
This directory contains an already generated TLS certificate that can be
-used in your OpenSER configuration. It's a generic certificate with the
+used in your Kamailio configuration. It's a generic certificate with the
main purpose of serving as example and for testings.
IMPORTANT: it's not a trustable certificate - the CA is also an example.
-All TLS configuration file may be found in "user" directory. If you want to
+All TLS configuration files may be found in "user" directory. If you want to
generate your own certificate, you may find in the "rootCA" directory the
root CA to sign your request with. Use "kamctl tls userCERT" command to
create a new certificate; the rootCA password is "openser".
@@ -17,6 +18,5 @@ Second, to give access to the same CA root to a large community in order to
encourage testings and interconnections via TLS with minimum of troubles.
For any questions, please address to :
- team(a)openser.org (if you want to keep your question private)
- users(a)openser.org (public mailing list)
+ sr-users(a)lists.sip-router.org (public mailing list)
Module: sip-router
Branch: master
Commit: 576ade3a42557d0c499a01ab9f37e1f0f085580e
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=576ade3…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Oct 12 20:19:05 2014 +0200
CA example README update
---
etc/tls/README | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/etc/tls/README b/etc/tls/README
index 111cfe2..2ce7a27 100644
--- a/etc/tls/README
+++ b/etc/tls/README
@@ -1,12 +1,13 @@
-
+Kamailio example CA
+===================
This directory contains an already generated TLS certificate that can be
-used in your OpenSER configuration. It's a generic certificate with the
+used in your Kamailio configuration. It's a generic certificate with the
main purpose of serving as example and for testings.
IMPORTANT: it's not a trustable certificate - the CA is also an example.
-All TLS configuration file may be found in "user" directory. If you want to
+All TLS configuration files may be found in "user" directory. If you want to
generate your own certificate, you may find in the "rootCA" directory the
root CA to sign your request with. Use "kamctl tls userCERT" command to
create a new certificate; the rootCA password is "openser".
@@ -17,6 +18,5 @@ Second, to give access to the same CA root to a large community in order to
encourage testings and interconnections via TLS with minimum of troubles.
For any questions, please address to :
- team(a)openser.org (if you want to keep your question private)
- users(a)openser.org (public mailing list)
+ sr-users(a)lists.sip-router.org (public mailing list)