Module: sip-router Branch: kamailio_3.0 Commit: 32d3e9c98943ad298f09d26db83ecf4ce5c2cc0e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=32d3e9c9...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Mon Feb 1 11:27:20 2010 +0100
tm: fix setting the pre-T callbacks
- introduced in the fix for uac module (affecting only uac) - credits to Andrei Pelinescu-Onciul
---
modules/tm/t_hooks.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/tm/t_hooks.c b/modules/tm/t_hooks.c index e632757..8dc77b1 100644 --- a/modules/tm/t_hooks.c +++ b/modules/tm/t_hooks.c @@ -81,7 +81,7 @@ struct tmcb_head_list* get_early_tmcb_list(struct sip_msg *msg)
void set_early_tmcb_list(struct sip_msg *msg, struct cell *t) { - if (msg->id!=tmcb_early_hl.msgid) { + if (msg->id==tmcb_early_hl.msgid) { t->tmcb_hl = tmcb_early_hl.cb_list; memset(&tmcb_early_hl.cb_list, 0, sizeof(struct tmcb_head_list)); tmcb_early_hl.msgid = 0;