#### Type Of Change
- [x] 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 -->
- [x] PR should be backported to stable branches
- [ ] Tested changes locally
- [x] Related to issue #2370
#### Description
make sure transaction exists with `t_newtran()` and use `t_release_transaction()` instead
of `t_release()`
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2373
-- Commit Summary --
* mohqueue: use t_newtran() if transaction does not exist
-- File Changes --
M src/modules/mohqueue/mohq_funcs.c (20)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2373.patch
https://github.com/kamailio/kamailio/pull/2373.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/2373