Module: sip-router Branch: ser_core_cvs Commit: 131ecc8c0cbf9c81c92a884fb17d005f6cab2179 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=131ecc8c...
Author: Miklos Tirpak miklos@iptel.org Committer: Miklos Tirpak miklos@iptel.org Date: Tue Mar 31 12:33:38 2009 +0000
Static buffer is resetted before calling the route block -- Thanks to Jan.
---
modules/tm/t_suspend.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/tm/t_suspend.c b/modules/tm/t_suspend.c index 9b418c1..dd85c4d 100644 --- a/modules/tm/t_suspend.c +++ b/modules/tm/t_suspend.c @@ -30,6 +30,8 @@ * */
+#include "../../select_buf.h" /* reset_static_buffer() */ + #include "sip_msg.h" #include "t_reply.h" #include "h_table.h" @@ -148,6 +150,7 @@ int t_continue(unsigned int hash_index, unsigned int label, } faked_env( t, &faked_req);
+ reset_static_buffer(); init_run_actions_ctx(&ra_ctx); if (run_actions(&ra_ctx, route, &faked_req)<0) LOG(L_ERR, "ERROR: t_continue: Error in run_action\n");