Creating a PR for each commit is a bit too much work. If not all commits should be merged, please cherry-pick the wanted ones or tell me which patches should be left out.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/734
-- Commit Summary --
* dispatcher: free memory on shutdown
* pv: xavp: log error message when memory allocation fails
* core: Enable SIGUSR1 for child processes
* mqueu: Convert items to single linked list
* tmx: Try to get branch_index for all replies
* jsonrpc_s: Return an error when JSON parsing fails
* core: Don't bind to IPv6 addresses if auto_bind_ipv6 is disabled
-- File Changes --
M main.c (15)
M modules/dispatcher/dispatcher.c (3)
M modules/jsonrpc-s/jsonrpc-s_mod.c (6)
M modules/mqueue/mqueue_api.c (8)
M modules/pv/pv_xavp.c (9)
M modules/tmx/t_var.c (2)
M socket_info.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/734.patchhttps://github.com/kamailio/kamailio/pull/734.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/734
Module: kamailio
Branch: master
Commit: 67b06aedb014b3ee5c26326e94df7f319b4f0fd6
URL: https://github.com/kamailio/kamailio/commit/67b06aedb014b3ee5c26326e94df7f3…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: 2016-08-02T12:13:34+02:00
tm: Copy on_branch_failure to new branch on DNS failover
---
Modified: modules/tm/t_fwd.c
---
Diff: https://github.com/kamailio/kamailio/commit/67b06aedb014b3ee5c26326e94df7f3…
Patch: https://github.com/kamailio/kamailio/commit/67b06aedb014b3ee5c26326e94df7f3…
---
diff --git a/modules/tm/t_fwd.c b/modules/tm/t_fwd.c
index 51335ee..1586ec3 100644
--- a/modules/tm/t_fwd.c
+++ b/modules/tm/t_fwd.c
@@ -1022,6 +1022,7 @@ int add_uac_dns_fallback(struct cell *t, struct sip_msg* msg,
/* copy the onreply and onfailure routes */
t->uac[t->nr_of_outgoings].on_failure = old_uac->on_failure;
t->uac[t->nr_of_outgoings].on_reply = old_uac->on_reply;
+ t->uac[t->nr_of_outgoings].on_branch_failure = old_uac->on_branch_failure;
if (cfg_get(tm, tm_cfg, reparse_on_dns_failover)){
/* Reuse the old buffer and only replace the via header.
Module: kamailio
Branch: master
Commit: 5d652fa27cdffd90a5328b725220bc8fdb079fa3
URL: https://github.com/kamailio/kamailio/commit/5d652fa27cdffd90a5328b725220bc8…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: 2016-08-02T12:13:10+02:00
tm: copy on_reply and on_failure routes to new branch on DNS based failover
---
Modified: modules/tm/t_fwd.c
---
Diff: https://github.com/kamailio/kamailio/commit/5d652fa27cdffd90a5328b725220bc8…
Patch: https://github.com/kamailio/kamailio/commit/5d652fa27cdffd90a5328b725220bc8…
---
diff --git a/modules/tm/t_fwd.c b/modules/tm/t_fwd.c
index b1a047c..51335ee 100644
--- a/modules/tm/t_fwd.c
+++ b/modules/tm/t_fwd.c
@@ -1019,6 +1019,9 @@ int add_uac_dns_fallback(struct cell *t, struct sip_msg* msg,
/* copy the dns handle into the new uac */
dns_srv_handle_cpy(&t->uac[t->nr_of_outgoings].dns_h,
&old_uac->dns_h);
+ /* copy the onreply and onfailure routes */
+ t->uac[t->nr_of_outgoings].on_failure = old_uac->on_failure;
+ t->uac[t->nr_of_outgoings].on_reply = old_uac->on_reply;
if (cfg_get(tm, tm_cfg, reparse_on_dns_failover)){
/* Reuse the old buffer and only replace the via header.
Set the branch_idx for failure route
Make sure the configured on_failure/on_branch_failure/on_reply routes are copied to the new branches created for DNS failover.
These are eligible for 4.4 too.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/732
-- Commit Summary --
* tm: Set tcx.branch_index to picked branch before running failure route.
* tm: copy on_reply and on_failure routes to new branch on DNS based failover
* tm: Copy on_branch_failure to new branch on DNS failover
-- File Changes --
M modules/tm/t_fwd.c (4)
M modules/tm/t_reply.c (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/732.patchhttps://github.com/kamailio/kamailio/pull/732.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/732