Module: sip-router
Branch: sr_3.0
Commit: e89900603d12984de0fc16ef529001011572820d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e899006…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 6 12:29:31 2009 +0100
presence(k): : set callback type for local requests
- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
(cherry picked from commit 598aea444e9f8b2a1c610daa363723e2d38496b7)
---
modules_k/presence/notify.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/presence/notify.c b/modules_k/presence/notify.c
index 93dddf0..92c2f55 100644
--- a/modules_k/presence/notify.c
+++ b/modules_k/presence/notify.c
@@ -1569,8 +1569,8 @@ jump_over_body:
goto error;
}
- set_uac_req(&uac_r, &met, &str_hdr, notify_body, td, 0, p_tm_callback,
- (void*)cb_param);
+ set_uac_req(&uac_r, &met, &str_hdr, notify_body, td, TMCB_LOCAL_COMPLETED,
+ p_tm_callback, (void*)cb_param);
result = tmb.t_request_within(&uac_r);
if(result< 0)
{