Hi!
If I understand the source code right the dialog module will hang up a call on 408 or 481 responses to an in-dialog request and just treat anything else as a success.
If this is the case - that I understand this right - then I would like to update the README of dialog with this fact. If not - how does it really work?
Cheers,
/O
Module: kamailio
Branch: 4.4
Commit: c302b9e920342869721342c42f9014bd079fb456
URL: https://github.com/kamailio/kamailio/commit/c302b9e920342869721342c42f9014b…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-19T21:25:13+02:00
dialog Update README with explanation of in-dialog request behaviour
(cherry picked from commit 19ef4f6ec8c22848eb4386f5f4996d5091c65688)
---
Modified: modules/dialog/README
Modified: modules/dialog/doc/dialog_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/c302b9e920342869721342c42f9014b…
Patch: https://github.com/kamailio/kamailio/commit/c302b9e920342869721342c42f9014b…
---
diff --git a/modules/dialog/README b/modules/dialog/README
index 83206bc..97c2602 100644
--- a/modules/dialog/README
+++ b/modules/dialog/README
@@ -1147,6 +1147,11 @@ modparam("dialog", "ka_timer", 10)
dialog setup or previous keep-alive. The value represents the number of
seconds.
+ If the requests times out (generating a 408) or if the UA responds with
+ 481 the lifetime is set to 10 seconds. When lifetime expires the dialog
+ will be terminated. Any other response (including error responses) will
+ reset the timers.
+
Default value is "0" (no keep alive). The lowest settable interval is
30 seconds.
diff --git a/modules/dialog/doc/dialog_admin.xml b/modules/dialog/doc/dialog_admin.xml
index b02826a..3fff0fe 100644
--- a/modules/dialog/doc/dialog_admin.xml
+++ b/modules/dialog/doc/dialog_admin.xml
@@ -1248,6 +1248,13 @@ modparam("dialog", "ka_timer", 10)
The value represents the number of seconds.
</para>
<para>
+ If the requests times out (generating a 408) or if the
+ UA responds with 481 the lifetime is set to 10 seconds.
+ When lifetime expires the dialog will be terminated.
+ Any other response (including error responses) will
+ reset the timers.
+ </para>
+ <para>
<emphasis>
Default value is <quote>0</quote> (no keep alive). The lowest
settable interval is 30 seconds.
Module: kamailio
Branch: master
Commit: 19ef4f6ec8c22848eb4386f5f4996d5091c65688
URL: https://github.com/kamailio/kamailio/commit/19ef4f6ec8c22848eb4386f5f4996d5…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-19T21:24:31+02:00
dialog Update README with explanation of in-dialog request behaviour
---
Modified: modules/dialog/README
Modified: modules/dialog/doc/dialog_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/19ef4f6ec8c22848eb4386f5f4996d5…
Patch: https://github.com/kamailio/kamailio/commit/19ef4f6ec8c22848eb4386f5f4996d5…
---
diff --git a/modules/dialog/README b/modules/dialog/README
index 7b8bb57..2c21988 100644
--- a/modules/dialog/README
+++ b/modules/dialog/README
@@ -1149,6 +1149,11 @@ modparam("dialog", "ka_timer", 10)
dialog setup or previous keep-alive. The value represents the number of
seconds.
+ If the requests times out (generating a 408) or if the UA responds with
+ 481 the lifetime is set to 10 seconds. When lifetime expires the dialog
+ will be terminated. Any other response (including error responses) will
+ reset the timers.
+
Default value is "0" (no keep alive). The lowest settable interval is
30 seconds.
diff --git a/modules/dialog/doc/dialog_admin.xml b/modules/dialog/doc/dialog_admin.xml
index b8dc1b0..0b57ba4 100644
--- a/modules/dialog/doc/dialog_admin.xml
+++ b/modules/dialog/doc/dialog_admin.xml
@@ -1248,6 +1248,13 @@ modparam("dialog", "ka_timer", 10)
The value represents the number of seconds.
</para>
<para>
+ If the requests times out (generating a 408) or if the
+ UA responds with 481 the lifetime is set to 10 seconds.
+ When lifetime expires the dialog will be terminated.
+ Any other response (including error responses) will
+ reset the timers.
+ </para>
+ <para>
<emphasis>
Default value is <quote>0</quote> (no keep alive). The lowest
settable interval is 30 seconds.