Module: sip-router Branch: kamailio_3.0 Commit: dfefc8a15e9b059cf16d4930d12437948307568a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dfefc8a1...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Nov 6 12:30:31 2009 +0100
rls(k): set callback type for local requests
- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
---
modules_k/rls/notify.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/rls/notify.c b/modules_k/rls/notify.c index 9734d6c..85c62a4 100644 --- a/modules_k/rls/notify.c +++ b/modules_k/rls/notify.c @@ -686,8 +686,8 @@ int rls_send_notify(subs_t* subs, str* body, char* start_cid, } LM_DBG("str_hdr= %.*s\n", str_hdr->len, str_hdr->s);
- set_uac_req(&uac_r, &met, str_hdr, body, td, 0, rls_notify_callback, - (void*)cb_param); + set_uac_req(&uac_r, &met, str_hdr, body, td, TMCB_LOCAL_COMPLETED, + rls_notify_callback, (void*)cb_param);
rt = tmb.t_request_within(&uac_r); if(rt < 0)