Module: kamailio
Branch: master
Commit: cd6ef63a1eb5951ccb38276a91e150187702b352
URL: https://github.com/kamailio/kamailio/commit/cd6ef63a1eb5951ccb38276a91e1501…
Author: iionita <ionut-razvan.ionita(a)1and1.ro>
Committer: iionita <ionut-razvan.ionita(a)1and1.ro>
Date: 2019-03-12T16:19:01+02:00
tm: remove unnecessary TMCB_ACK_NEG_IN callback call
- TMCB_ACK_NEG_IN was called in an if branch where the initial
condition was the message to be an INVITE; this was not affecting
anything for the moment since this callback wasn't used but in case
some piece of code would have used this callback it would be called
not only for hop-by-hop ACKs but also INVITEs
Closes #1871
---
Modified: src/modules/tm/t_reply.c
---
Diff: https://github.com/kamailio/kamailio/commit/cd6ef63a1eb5951ccb38276a91e1501…
Patch: https://github.com/kamailio/kamailio/commit/cd6ef63a1eb5951ccb38276a91e1501…
---
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c
index 33910e1f8c..202b8d826f 100644
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -2303,14 +2303,6 @@ int reply_received( struct sip_msg *p_msg )
t, &onsend_params);
}
}
- if (unlikely(has_tran_tmcbs(t, TMCB_ACK_NEG_IN))){
- INIT_TMCB_ONSEND_PARAMS(onsend_params,
- t->uas.request, p_msg, &uac->request,
- &uac->request.dst, ack, ack_len,
- TMCB_LOCAL_F, branch, TYPE_LOCAL_ACK);
- run_trans_callbacks_off_params(TMCB_ACK_NEG_IN,
- t, &onsend_params);
- }
shm_free(ack);
}
} else if (is_local(t) /*&& 200 <= msg_status < 300*/) {
Hello,
wondering if we we should do a new IRC devel meeting in the near future
to sync on development plans.
One of the decisions we should take is whether we should target to
release the new major version (5.3) before the summer holidays or we
leave it for the autumn.
If many wants to do it, then a first proposal for a date would be: March
07, 2019, at 15:00 UTC (16:00 Berlin time).
As usual, I created a wiki page to track the availability and the topics
that should be approched:
* https://www.kamailio.org/wiki/devel/irc-meetings/2019a
Feel free to add yourself there, propose topics, etc...
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1888
-- Commit Summary --
* secfilter: print statistics of blocked and allowed messages using RPC commands
-- File Changes --
M src/modules/secfilter/doc/secfilter_admin.xml (109)
M src/modules/secfilter/secfilter.c (86)
M src/modules/secfilter/secfilter.h (30)
M src/modules/secfilter/secfilter_rpc.c (44)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1888.patchhttps://github.com/kamailio/kamailio/pull/1888.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/1888
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1887
-- Commit Summary --
* secfilter: avoid dereferences null
-- File Changes --
M src/modules/secfilter/secfilter.c (20)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1887.patchhttps://github.com/kamailio/kamailio/pull/1887.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/1887