Module: sip-router
Branch: master
Commit: e10380691300bcf5c88d1393d3b05f32657525a0
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e103806…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Jul 13 15:26:30 2009 +0200
seas: use TMCB_DESTROY tm callback
---
modules_k/seas/seas_action.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/seas/seas_action.c b/modules_k/seas/seas_action.c
index 04fcc46..15e4030 100644
--- a/modules_k/seas/seas_action.c
+++ b/modules_k/seas/seas_action.c
@@ -1426,7 +1426,7 @@ void uac_cb(struct cell* t, int type,struct tmcb_params
*rcvd_params)
}
if(type == TMCB_LOCAL_COMPLETED && !ev_info->destroy_cb_set) {
- if(seas_f.tmb.register_tmcb(NULL, t, TMCB_TRANS_DELETED, uac_cleanup_cb,
(void*)ev_info, NULL) <= 0) {
+ if(seas_f.tmb.register_tmcb(NULL, t, TMCB_DESTROY, uac_cleanup_cb, (void*)ev_info,
NULL) <= 0) {
LM_ERR( "register_tmcb for destroy callback failed\n");
goto error;
}