[sr-dev] git:master:fe7b9786: modules/tm: unset async suspended transaction flag post-continue

jaybeepee jason.penton at gmail.com
Thu Jul 16 09:36:59 CEST 2015


Module: kamailio
Branch: master
Commit: fe7b9786f5e09735eea25e4f8e70ba694f8c0475
URL: https://github.com/kamailio/kamailio/commit/fe7b9786f5e09735eea25e4f8e70ba694f8c0475

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2015-07-16T09:36:18+02:00

modules/tm: unset async suspended transaction flag post-continue

---

Modified: modules/tm/t_suspend.c

---

Diff:  https://github.com/kamailio/kamailio/commit/fe7b9786f5e09735eea25e4f8e70ba694f8c0475.diff
Patch: https://github.com/kamailio/kamailio/commit/fe7b9786f5e09735eea25e4f8e70ba694f8c0475.patch

---

diff --git a/modules/tm/t_suspend.c b/modules/tm/t_suspend.c
index 86fb3be..64f9af8 100644
--- a/modules/tm/t_suspend.c
+++ b/modules/tm/t_suspend.c
@@ -437,6 +437,10 @@ int t_continue(unsigned int hash_index, unsigned int label,
 		sip_msg_free(t->uac[branch].reply);
 		t->uac[branch].reply = 0;
 	}
+
+        t->flags &= ~T_ASYNC_SUSPENDED;   /*This transaction is no longer suspended so unsetting the SUSPEND flag*/
+
+
 	return 0;
 
 kill_trans:




More information about the sr-dev mailing list