Module: sip-router
Branch: sr_3.0
Commit: 69fdda750fa7190cdbc9ae355d912d712bc11af5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69fdda7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 6 12:27:44 2009 +0100
dispatcher(k): set callback type for local requests
- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
(cherry picked from commit 58c75326614ccc3805640c2a15d95b4ad5e8e6d4)
---
modules_k/dispatcher/dispatch.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_k/dispatcher/dispatch.c b/modules_k/dispatcher/dispatch.c
index d1fa863..3adb9a3 100644
--- a/modules_k/dispatcher/dispatch.c
+++ b/modules_k/dispatcher/dispatch.c
@@ -1653,7 +1653,8 @@ void ds_check_timer(unsigned int ticks, void* param)
* int request(str* m, str* ruri, str* to, str* from, str* h,
* str* b, str *oburi,
* transaction_cb cb, void* cbp); */
- set_uac_req(&uac_r, &ds_ping_method, 0, 0, 0, 0, ds_options_callback,
+ set_uac_req(&uac_r, &ds_ping_method, 0, 0, 0,
+ TMCB_LOCAL_COMPLETED, ds_options_callback,
(void*)(long)list->id);
if (tmb.t_request(&uac_r,
&list->dlist[j].uri,