- updating code base to actual state.
- adding repliation for DLG_STATE_EARLY to prevent hanging up unconfirmed dialogs and its infinite replication.
- fixing dialog removal on peers to prevent die on timeout and possible infinite replication.
- fixing dialog removal on peers when master node cleanly restart.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/831
-- Commit Summary --
* Adding dialog replication via DMQ
-- File Changes --
M modules/dialog/dialog.c (14)
M modules/dialog/dlg_db_handler.c (6)
A modules/dialog/dlg_dmq.c (604)
A modules/dialog/dlg_dmq.h (48)
M modules/dialog/dlg_handlers.c (67)
M modules/dialog/dlg_hash.c (8)
M modules/dialog/dlg_hash.h (2)
M modules/dialog/dlg_profile.c (2)
M modules/dialog/doc/dialog_admin.xml (23)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/831.patchhttps://github.com/kamailio/kamailio/pull/831.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/831
The pinging from the dispatcher module segfaults and then kamailio exits. It used to work on kamailio 4.4.3.
*dispatcher.list*
```
31 sip:10.0.20.191:5062;transport=udp 8 0 socket=udp:10.0.20.193:5021
```
*debug logging*
```
21(2188) DEBUG: dispatcher [dispatch.c:2872]: ds_ping_set(): probing set #31, URI sip:10.0.20.191:5062;transport=udp
21(2188) DEBUG: <core> [socket_info.c:559]: grep_sock_info(): checking if host==us: 11==11 && [10.0.20.193] == [10.0.20.193]
21(2188) DEBUG: <core> [socket_info.c:566]: grep_sock_info(): checking if port 5021 (advertise 0) matches port 5021
21(2188) DEBUG: tm [uac.c:411]: t_uac_prepare(): DEBUG:tm:t_uac: next_hop=<sip:10.0.20.191:5062;transport=udp>
21(2188) DEBUG: tm [uac.c:152]: dlg2hash(): DEBUG: dlg2hash: 37511
21(2188) DEBUG: tm [uac.c:616]: send_prepared_request_impl(): send_prepared_request_impl: uac: 0x7ff37f776380 branch: 0 to 10.0.20.191:5062
0(2167) ALERT: <core> [main.c:743]: handle_sigs(): child process 2188 exited by a signal 11
0(2167) INFO: <core> [main.c:759]: handle_sigs(): terminating due to SIGCHLD
```
Please let me know if you need more information.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/859
Module: kamailio
Branch: master
Commit: 3d684fe20117cab9519f483f819e6476f596e056
URL: https://github.com/kamailio/kamailio/commit/3d684fe20117cab9519f483f819e647…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2016-11-17T11:16:29+01:00
modules: readme files regenerated - tmx ...
---
Modified: modules/tmx/README
---
Diff: https://github.com/kamailio/kamailio/commit/3d684fe20117cab9519f483f819e647…
Patch: https://github.com/kamailio/kamailio/commit/3d684fe20117cab9519f483f819e647…
---
diff --git a/modules/tmx/README b/modules/tmx/README
index 961a540..45dbc97 100644
--- a/modules/tmx/README
+++ b/modules/tmx/README
@@ -381,12 +381,21 @@ if(t_suspend())
* rtname - the name of the route block to execute. Can be a static
string value or a dynamic string with pseudo-variables.
+ Important note: the route[rtname] is executed in the context of a
+ failure (same behaviour for functions as they were used in a
+ failure_route block).
+
This function can be used in ANY_ROUTE.
Example 1.11. t_continue usage
...
t_continue('123', '456', 'MYROUTE');
...
+route[MYROUTE] {
+ xlog("executed by t continue\n");
+ ...
+}
+...
4.11. t_reuse_branch()
Module: kamailio
Branch: master
Commit: 29635011f94a142fe5cde32558b8dfd095dd7820
URL: https://github.com/kamailio/kamailio/commit/29635011f94a142fe5cde32558b8dfd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-17T11:01:47+01:00
tmx: added note to t_continue() docs about failure context of executed route block
---
Modified: modules/tmx/doc/tmx_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/29635011f94a142fe5cde32558b8dfd…
Patch: https://github.com/kamailio/kamailio/commit/29635011f94a142fe5cde32558b8dfd…
---
diff --git a/modules/tmx/doc/tmx_admin.xml b/modules/tmx/doc/tmx_admin.xml
index b3a756e..95c38f6 100644
--- a/modules/tmx/doc/tmx_admin.xml
+++ b/modules/tmx/doc/tmx_admin.xml
@@ -380,6 +380,11 @@ if(t_suspend())
</para></listitem>
</itemizedlist>
<para>
+ Important note: the route[rtname] is executed in the context of
+ a failure (same behaviour for functions as they were used in a
+ failure_route block).
+ </para>
+ <para>
This function can be used in ANY_ROUTE.
</para>
<example>
@@ -388,6 +393,11 @@ if(t_suspend())
...
t_continue('123', '456', 'MYROUTE');
...
+route[MYROUTE] {
+ xlog("executed by t continue\n");
+ ...
+}
+...
</programlisting>
</example>
</section>
Module: kamailio
Branch: master
Commit: 7be63c5b4218e6888220ccc2cce89f2e7ec7b93e
URL: https://github.com/kamailio/kamailio/commit/7be63c5b4218e6888220ccc2cce89f2…
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Committer: Holger Freyther <holger+github(a)freyther.de>
Date: 2016-11-16T17:59:38+01:00
ss7ops: Solely rely on odd/even indicator for BCD decoding
In contrast to GSM we want to see the 'F' digits. Rely on the
odd/even indicator to see if the last nibble should be parsed
or not.
---
Modified: modules/ss7ops/isup_parsed.c
---
Diff: https://github.com/kamailio/kamailio/commit/7be63c5b4218e6888220ccc2cce89f2…
Patch: https://github.com/kamailio/kamailio/commit/7be63c5b4218e6888220ccc2cce89f2…
---
diff --git a/modules/ss7ops/isup_parsed.c b/modules/ss7ops/isup_parsed.c
index 2c2efbe..df82cb4 100644
--- a/modules/ss7ops/isup_parsed.c
+++ b/modules/ss7ops/isup_parsed.c
@@ -180,14 +180,12 @@ static inline void decode_bcd(char *dest, const uint8_t *data, size_t len, int o
uint8_t lo = data[i] & 0x0F;
uint8_t hi = (data[i] & 0xF0) >> 4;
- if (lo != 0x0F)
- *dest++ = from_bcd(lo);
+ *dest++ = from_bcd(lo);
/* ignore the last digit */
if (i + 1 == len && odd)
break;
- if (hi != 0x0F)
- *dest++ = from_bcd(hi);
+ *dest++ = from_bcd(hi);
}
*dest = '\0';
}