[sr-dev] git:kamailio_3.0: presence(k): : set callback type for local requests
Daniel-Constantin Mierla
miconda at gmail.com
Fri Nov 6 12:33:28 CET 2009
Module: sip-router
Branch: kamailio_3.0
Commit: 598aea444e9f8b2a1c610daa363723e2d38496b7
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=598aea444e9f8b2a1c610daa363723e2d38496b7
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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
---
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)
{
More information about the sr-dev
mailing list