Module: kamailio
Branch: master
Commit: 4cebb16b536c35ec74ecbdf595c5c6dbafe5afa1
URL: https://github.com/kamailio/kamailio/commit/4cebb16b536c35ec74ecbdf595c5c6d…
Author: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Committer: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Date: 2020-05-06T23:10:40+02:00
keepalive: custom pinging interval per destination
- This functionality it's just available when using api.h bindings. For exported functions current value ka_ping_interval is used.
- Modified add_destination function to provide this new parameter.
- Now we have one timer per destination, instead of multiple, so we don't need to iterate over all destinations. Timers are cleaned when destinations are removed.
---
Modified: src/modules/keepalive/api.h
Modified: src/modules/keepalive/doc/keepalive.xml
Modified: src/modules/keepalive/doc/keepalive_devel.xml
Modified: src/modules/keepalive/keepalive.h
Modified: src/modules/keepalive/keepalive_api.c
Modified: src/modules/keepalive/keepalive_core.c
Modified: src/modules/keepalive/keepalive_mod.c
Modified: src/modules/keepalive/keepalive_rpc.c
---
Diff: https://github.com/kamailio/kamailio/commit/4cebb16b536c35ec74ecbdf595c5c6d…
Patch: https://github.com/kamailio/kamailio/commit/4cebb16b536c35ec74ecbdf595c5c6d…
Module: kamailio
Branch: 5.3
Commit: ac1b7f30b4cdc6d48d77f19421822300bcaa34be
URL: https://github.com/kamailio/kamailio/commit/ac1b7f30b4cdc6d48d77f1942182230…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-07T08:20:53+02:00
pua: use file name specific include guard
(cherry picked from commit 076649793bfdbdc4f03f96961f23997c87ce4268)
---
Modified: src/modules/pua/hash.h
Modified: src/modules/pua/pua.h
---
Diff: https://github.com/kamailio/kamailio/commit/ac1b7f30b4cdc6d48d77f1942182230…
Patch: https://github.com/kamailio/kamailio/commit/ac1b7f30b4cdc6d48d77f1942182230…
---
diff --git a/src/modules/pua/hash.h b/src/modules/pua/hash.h
index cc73d3e761..454e4bb853 100644
--- a/src/modules/pua/hash.h
+++ b/src/modules/pua/hash.h
@@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
diff --git a/src/modules/pua/pua.h b/src/modules/pua/pua.h
index 57cc379ebe..908f5b0cb3 100644
--- a/src/modules/pua/pua.h
+++ b/src/modules/pua/pua.h
@@ -15,13 +15,13 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PUBLISH_H
-#define PUBLISH_H
+#ifndef _PUA_H_
+#define _PUA_H_
#include "../../core/str.h"
#include "../../lib/srdb1/db.h"
I've searched, but I cannot find anything recent about this.
My kamailio 5.0.8 proxy sends an INVITE downstream over UDP and gets
an ICMP port-unreachable response from the UAS.
Apparently ignoring this, it re-transmits the INVITEs and eventually
times out and sends to the next host (from the SRV lookup).
According to RFC 3261 (https://tools.ietf.org/html/rfc3261#section-8.1.3.1),
If a fatal transport error is reported by the transport layer
(generally, due to fatal ICMP errors in UDP or connection failures in
TCP), the condition MUST be treated as a 503 (Service Unavailable)
status code.
Does kamailio support handling ICMP responses to INVITEs (and
therefore either failing over immediately, or sending 503 upstream
immediately)?
I don't know for sure the "correct" behavior because the RFC3261 is so
old and because ICMP responses are limited in size and therefore can't
guarantee to uniquely identify the transactions that caused them.
Module: kamailio
Branch: master
Commit: 076649793bfdbdc4f03f96961f23997c87ce4268
URL: https://github.com/kamailio/kamailio/commit/076649793bfdbdc4f03f96961f23997…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-06T17:15:36+02:00
pua: use file name specific include guard
---
Modified: src/modules/pua/hash.h
Modified: src/modules/pua/pua.h
---
Diff: https://github.com/kamailio/kamailio/commit/076649793bfdbdc4f03f96961f23997…
Patch: https://github.com/kamailio/kamailio/commit/076649793bfdbdc4f03f96961f23997…
---
diff --git a/src/modules/pua/hash.h b/src/modules/pua/hash.h
index cc73d3e761..454e4bb853 100644
--- a/src/modules/pua/hash.h
+++ b/src/modules/pua/hash.h
@@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
diff --git a/src/modules/pua/pua.h b/src/modules/pua/pua.h
index 57cc379ebe..908f5b0cb3 100644
--- a/src/modules/pua/pua.h
+++ b/src/modules/pua/pua.h
@@ -15,13 +15,13 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PUBLISH_H
-#define PUBLISH_H
+#ifndef _PUA_H_
+#define _PUA_H_
#include "../../core/str.h"
#include "../../lib/srdb1/db.h"