[sr-dev] [kamailio/kamailio] mohqueue: use t_newtran() if transaction does not exist (#2373)

Emmanuel Schmidbauer notifications at github.com
Wed Jun 24 20:35:59 CEST 2020


#### 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200624/bf8f36da/attachment-0001.html>


More information about the sr-dev mailing list