THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#418 - Change default max_limit in maxfwd module to RfC3261 recommended value
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Implemented
Additional comments about closing: Pushed to git master branch.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=418
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: master
Commit: 73c440e87fc256cda99ab572c0a259c13acac700
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73c440e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Apr 16 08:41:51 2014 +0200
maxfwd: max_limit default value set to 70
- recommended value by RFC
- lower value can create issues when terminating to PSTN/ISUP where
can be used to set the Hop Counter
- patch by Sebastian Damm, FS#418
---
modules/maxfwd/README | 2 +-
modules/maxfwd/doc/maxfwd_admin.xml | 2 +-
modules/maxfwd/maxfwd.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/maxfwd/README b/modules/maxfwd/README
index 764f8f5..f381e66 100644
--- a/modules/maxfwd/README
+++ b/modules/maxfwd/README
@@ -107,7 +107,7 @@ Chapter 1. Admin Guide
MAX-FORWARDS value allowed by RFC 3261. The value can be changed at
runtime.
- Default value is "16".
+ Default value is "70".
Example 1.1. Set max_limit parameter
...
diff --git a/modules/maxfwd/doc/maxfwd_admin.xml b/modules/maxfwd/doc/maxfwd_admin.xml
index f0f3463..3e5812b 100644
--- a/modules/maxfwd/doc/maxfwd_admin.xml
+++ b/modules/maxfwd/doc/maxfwd_admin.xml
@@ -78,7 +78,7 @@
</para>
<para>
<emphasis>
- Default value is <quote>16</quote>.
+ Default value is <quote>70</quote>.
</emphasis>
</para>
<example>
diff --git a/modules/maxfwd/maxfwd.c b/modules/maxfwd/maxfwd.c
index 371a1aa..c835610 100644
--- a/modules/maxfwd/maxfwd.c
+++ b/modules/maxfwd/maxfwd.c
@@ -55,7 +55,7 @@ struct cfg_group_maxfwd {
};
static struct cfg_group_maxfwd default_maxfwd_cfg = {
- .max_limit=16
+ .max_limit=70
};
static void *maxfwd_cfg = &default_maxfwd_cfg;
Module: sip-router
Branch: master
Commit: c90369b406db09e9e3d9d690ed3d7742b5cc5c48
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c90369b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Apr 15 14:19:51 2014 +0200
kamailio.cfg: enable_full_lr set to 0
- it is default RFC recommendation and what of most UAs expect today
- lr=on was needed for some old UAs that were discontinued meanwhile
---
etc/kamailio.cfg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 73079db..13ceb7a 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -300,8 +300,8 @@ modparam("tm", "fr_inv_timer", 120000)
# ----- rr params -----
-# add value to ;lr param to cope with most of the UAs
-modparam("rr", "enable_full_lr", 1)
+# set next param to 1 to add value to ;lr param (helps with some UAs)
+modparam("rr", "enable_full_lr", 0)
# do not append from tag to the RR (no need for this script)
modparam("rr", "append_fromtag", 0)