Module: sip-router
Branch: sr_3.0
Commit: 1a2187a0a880c5ee6562e60fc0082d4c1541e713
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1a2187a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 6 12:30:02 2009 +0100
jabber(k): : set callback type for local requests
- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
(cherry picked from commit 2e88092d23443985f7d8459c2815cf91f68d752e)
---
modules_k/jabber/xjab_worker.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_k/jabber/xjab_worker.c b/modules_k/jabber/xjab_worker.c
index c15ea13..a8f3ab5 100644
--- a/modules_k/jabber/xjab_worker.c
+++ b/modules_k/jabber/xjab_worker.c
@@ -1184,7 +1184,8 @@ int xj_send_sip_msg(str *proxy, str *to, str *from, str *msg, int
*cbp)
#ifdef XJ_EXTRA_DEBUG
LM_DBG("uac callback parameter [%p==%d]\n", cbp, *cbp);
#endif
- set_uac_req(&uac_r, &msg_type, &str_hdr, msg, 0, 0, xj_tuac_callback,
(void*)cbp);
+ set_uac_req(&uac_r, &msg_type, &str_hdr, msg, 0, TMCB_LOCAL_COMPLETED,
+ xj_tuac_callback, (void*)cbp);
} else {
set_uac_req(&uac_r, &msg_type, &str_hdr, msg, 0, 0, 0, 0);
}