Module: kamailio Branch: master Commit: 70ecd99e3d8069d0f89444a5b893f61dd1edd1b3 URL: https://github.com/kamailio/kamailio/commit/70ecd99e3d8069d0f89444a5b893f61d...
Author: Morten Tryfoss morten@tryfoss.no Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-11-06T13:29:09+01:00
tm: T_ASYNC_SUSPENDED flag not removed when cancelling a suspension
---
Modified: src/modules/tm/t_suspend.c
---
Diff: https://github.com/kamailio/kamailio/commit/70ecd99e3d8069d0f89444a5b893f61d... Patch: https://github.com/kamailio/kamailio/commit/70ecd99e3d8069d0f89444a5b893f61d...
---
diff --git a/src/modules/tm/t_suspend.c b/src/modules/tm/t_suspend.c index 997d1a5bb78..e0048f0604c 100644 --- a/src/modules/tm/t_suspend.c +++ b/src/modules/tm/t_suspend.c @@ -645,6 +645,7 @@ int t_cancel_suspend(unsigned int hash_index, unsigned int label) /* The transaction does not need to be locked because this * function is either executed from the original route block * or from failure route which already locks */ + t->flags &= ~T_ASYNC_SUSPENDED;
reset_kr(); /* the blind UAC of t_suspend has set kr */