Module: kamailio Branch: master Commit: f81149d820246242db0e48f32948784b9db4ce82 URL: https://github.com/kamailio/kamailio/commit/f81149d820246242db0e48f32948784b...
Author: grumvalski federico.cabiddu@gmail.com Committer: grumvalski federico.cabiddu@gmail.com Date: 2017-01-29T09:10:23+01:00
tm: reset T_ASYNC_CONTINUE flag in t_suspend
---
Modified: src/modules/tm/t_suspend.c
---
Diff: https://github.com/kamailio/kamailio/commit/f81149d820246242db0e48f32948784b... Patch: https://github.com/kamailio/kamailio/commit/f81149d820246242db0e48f32948784b...
---
diff --git a/src/modules/tm/t_suspend.c b/src/modules/tm/t_suspend.c index a23429d..5703493 100644 --- a/src/modules/tm/t_suspend.c +++ b/src/modules/tm/t_suspend.c @@ -143,7 +143,8 @@ int t_suspend(struct sip_msg *msg, *hash_index = t->hash_index; *label = t->label;
- + /* reset the continue flag to be able to suspend in a failure route */ + t->flags &= ~T_ASYNC_CONTINUE;
/* backup some extra info that can be used in continuation logic */ t->async_backup.backup_route = get_route_type();