Module: sip-router
Branch: master
Commit: 2e75d8245bf639bfb405418ec2b99c424186d220
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2e75d82…
Author: oej <oej(a)edvina.net>
Committer: oej <oej(a)edvina.net>
Date: Tue Oct 20 21:04:34 2009 +0200
Explaining why we have two modules with the same name. Please review.
---
README-MODULES | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/README-MODULES b/README-MODULES
index 5bcc9ee..7498850 100644
--- a/README-MODULES
+++ b/README-MODULES
@@ -35,6 +35,14 @@ A module providers up to three different APIs:
A single module may provide a selection of this, maybe only one of them.
+Why do we have two modules with the same name?
+==============================================
+Some modules exists both in modules_k and modules_s - like xlog. If you are
+upgrading from Kamailio, we recommend using the one in modules_k for backwards
+compatibility, if you are using SER then select the one in modules_s.
+In the future the development team will try to integrate modules that are
+split like this into one integrated module.
+
Core modules
------------
auth_identity
Couple of questions:
1) Why is this useful module still hidden in modules_k?
2) The docs mentions changes compared with "previous versions of
Kamailio" which feels kind of outdated. Can we remove that part now?
I know I'm asking a lot of naive and propably stupid questions, but
I'm trying to look at this as ONE product and a product that we're
going to release soon to people who hasn't been involved in the
process and maybe not even used either SER or Kamailio..
Have patience and please help me :-)
/O
my testing on sr is currently in full stop due to the problem that i
mentioned two days ago, i.e., setting of $du in branch route has no
effect.
i didn't get any comments on this on the mailing list. am i the only
one who is experiencing this?
-- juha
Hi all,
as it has been three month since the last minor release of the kamailio 1.5
branch i'd suggest that we do a 1.5.3 release soon. I want to propose next
wednesday the 14.10.2009 as date for the release.
So if you have any pending patches in the trunk or in your internal
repositories that you want to like to see in this release, please commit them
until 12:00 UTC this day.
Thank you,
Henning
--
Henning Westerholt - Development Consumer Products / Consumer Core
1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe, Germany
Module: sip-router
Branch: master
Commit: 4079ba2c041c7172b13496b285a359ec9bff9d3b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4079ba2…
Author: oej <oej(a)edvina.net>
Committer: oej <oej(a)edvina.net>
Date: Mon Oct 19 22:40:12 2009 +0200
Doxygen fix for XMPP page
Starting to pick out documentation hidden deep in the source code and adding them as
"related pages" in the doxygen. Please check.
---
modules_k/xmpp/xmpp.c | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/modules_k/xmpp/xmpp.c b/modules_k/xmpp/xmpp.c
index 2403957..5d634d4 100644
--- a/modules_k/xmpp/xmpp.c
+++ b/modules_k/xmpp/xmpp.c
@@ -34,23 +34,34 @@
* \brief Kamailio XMPP module ::
* \ingroup xmpp
*
+ * - \ref XMPProuting
+ *
* \page XMPProuting XMPP to SIP transport interface
*
* An inbound SIP URI:
- * from sip:user1@domain1 to sip:user2*domain2@gateway_domain
+\verbatim
+ from sip:user1@domain1 to sip:user2*domain2@gateway_domain
+\endverbatim
* is translated to an XMPP JID:
- * from user1*domain1@xmpp_domain to user2@domain2
+\verbatim
+ from user1*domain1@xmpp_domain to user2@domain2
+\endverbatim
*
* An inbound XMPP JID (uri):
- * from user1@domain1 to user2*domain2@xmpp_domain
+\verbatim
+ from user1@domain1 to user2*domain2@xmpp_domain
+\endverbatim
* is translated to a SIP URI:
- * from sip:user1*domain1@gateway_domain to sip:user2@domain2
+\verbatim
+ from sip:user1*domain1@gateway_domain to sip:user2@domain2
+\endverbatim
*
* Where '*' is the domain_separator, and gateway_domain and
* xmpp_domain are defined below.
*
*
* 2-way dialback sequence with xmppd2:
+\verbatim
*
* Originating server (us) Receiving server (them) Authoritative server (us)
* ----------------------- ----------------------- -------------------------
@@ -90,6 +101,7 @@
* | incoming <message/> |
* |------------------------------>|
*
+\endverbatim
* Note: Dialback is an old mechanism that is now replaced by TLS connections
* in "modern" XMPP servers. With TLS, dialback is not used.
*/
Module: sip-router
Branch: master
Commit: 89f4581214b562073f9436ec1bc13f589b1d3c9b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=89f4581…
Author: Jan Janak <jan(a)ryngle.com>
Committer: Jan Janak <jan(a)ryngle.com>
Date: Mon Oct 19 20:19:44 2009 +0200
sr-oob.cfg: Updated for latest sip-router code.
Updates the all-inclusiv ser-oob configuration file to work with the
latest sip-router code. Changes include:
* Load enum module which is used by one of the route sections.
* Replace expressions like if (@hf.value["contact"]) with
if (@hf.value["contact"] != "")
* When testing for an avp value, test that the avp is defined first
with "defined".
---
etc/sip-router-oob.cfg | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/etc/sip-router-oob.cfg b/etc/sip-router-oob.cfg
index 55f6ffc..145541f 100644
--- a/etc/sip-router-oob.cfg
+++ b/etc/sip-router-oob.cfg
@@ -292,7 +292,7 @@ loadmodule "db_ops"
loadmodule "exec"
loadmodule "cfg_rpc"
loadmodule "eval"
-#loadmodule "enum"
+loadmodule "enum"
#loadmodule "tls"
# ----------------- Declaration of Script Flags -----------------------------
@@ -740,7 +740,7 @@ route[UAC_NAT_DETECTION]
# nat_uac_test for UDP to "3" or even "1".
if ((proto == UDP && nat_uac_test("19")) ||
(nat_uac_test("3")) ||
- (@hf_value["contact"] && @contact.uri.params.maddr))
+ (@hf_value["contact"] != "" && @contact.uri.params.maddr != ""))
{
setflag(FLAG_NAT);
if (method == "REGISTER") {
@@ -790,7 +790,7 @@ route[UAS_NAT_DETECTION]
# nat_uac_test for UDP to just "1".
if ( (proto == UDP && nat_uac_test("33")) ||
(nat_uac_test("1") ||
- (@hf_value["contact"] && @contact.uri.params.maddr)))
+ (@hf_value["contact"] != "" && @contact.uri.params.maddr != "")))
{
fix_nated_contact();
}
@@ -1123,7 +1123,7 @@ route[AUTHENTICATION]
sl_reply("400", "Bad Request");
}
else {
- if ($digest_challenge) {
+ if (defined $digest_challenge && $digest_challenge != "") {
append_to_reply("%$digest_challenge");
}
sl_reply("407", "Proxy Authentication Required");
@@ -1202,7 +1202,7 @@ route[INBOUND]
# Check for call forwarding of the callee.
# Note: The forwarding target has to be full routable URI
# in this example.
- if ($tu.fwd_always_target != "") {
+ if (defined $tu.fwd_always_target && $tu.fwd_always_target != "") {
attr2uri("$tu.fwd_always_target");
# If we are forwarding to ourselves, don't remove
@@ -1212,7 +1212,7 @@ route[INBOUND]
# still be problematic -- credentials are already
# removed when we forward. Consider using a 3xx.
lookup_domain("$td", "@ruri.host");
- if ($t.did != "") {
+ if (defined $t.did && $t.did != "") {
setflag(FLAG_DONT_RM_CRED);
}
route(FORWARD);
@@ -1526,7 +1526,7 @@ onsend_route
# This helps to stop policy bypasses (gateway IP uploaded as a
# forked contact, or a call-forwarding destination, or a DNS name,
# or a preloaded route, or something else possibly)
- if (to_ip==$g.gw_ip && !isflagset(FLAG_PSTN_ALLOWED)
+ if (defined $g.gw_ip && to_ip==$g.gw_ip && !isflagset(FLAG_PSTN_ALLOWED)
&& !isflagset(FLAG_TOTAG)
&& method != "ACK" && method != "CANCEL")
{
Module: sip-router
Branch: andrei/cdefs2doc
Commit: a9255ea7e90978fcd6f955f51aae28883efc6282
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a9255ea…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Oct 19 18:05:25 2009 +0200
doc: script to generate cfg var lists from C code
Added a perl script that generates the list of config variables
defined in a C file.
The script uses gcc to generate a syntax tree structure for an
entire file and then parses and uses the tree to locate
the config vars. definition, initialization and default values.
E.g.: dump_cfg_defs.pl --file ../../../cfg_core.c --grp core
=> ...
31. core.udp_mtu
fallback to a congestion controlled protocol if send size
exceeds udp_mtu.
Default: 0.
Range: 0 - 65535.
Type: integer.
...
The config group (--grp) needs to be specified only if it cannot
be auto-detected (under normal circumstances it is auto-detected
from the type name of the variable holding the default values,
e.g. cfg_group_core).
If the default values are set in the same .c file, they will be
added to the list.
Note: the script requires a patched version of the
GCC:TranslationUnit perl package. To get the patch use:
dump_cfg_defs.pl --patch
---
doc/scripts/cdefs2doc/dump_cfg_defs.pl | 434 ++++++++++++++++++++++++++++++++
1 files changed, 434 insertions(+), 0 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=a92…