[sr-dev] git:master:8d398d6a: ims_qos: use inter-module api release_dlg() instead of direct unref_dlg()
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 6 11:25:40 CEST 2022
Module: kamailio
Branch: master
Commit: 8d398d6a83153fc65acd49557b702879d2585dc8
URL: https://github.com/kamailio/kamailio/commit/8d398d6a83153fc65acd49557b702879d2585dc8
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-10-06T11:24:51+02:00
ims_qos: use inter-module api release_dlg() instead of direct unref_dlg()
- fix missing linker symbol
---
Modified: src/modules/ims_qos/rx_aar.c
---
Diff: https://github.com/kamailio/kamailio/commit/8d398d6a83153fc65acd49557b702879d2585dc8.diff
Patch: https://github.com/kamailio/kamailio/commit/8d398d6a83153fc65acd49557b702879d2585dc8.patch
---
diff --git a/src/modules/ims_qos/rx_aar.c b/src/modules/ims_qos/rx_aar.c
index da4a0e42dd7..dbc2aebaeb6 100644
--- a/src/modules/ims_qos/rx_aar.c
+++ b/src/modules/ims_qos/rx_aar.c
@@ -53,7 +53,6 @@
#include "../cdp_avp/cdp_avp_mod.h"
#include "../../modules/ims_dialog/dlg_load.h"
-#include "../../modules/ims_dialog/dlg_hash.h"
#include "../../modules/tm/tm_load.h"
#include "../ims_usrloc_pcscf/usrloc.h"
#include "rx_authdata.h"
@@ -182,7 +181,7 @@ void async_aar_callback(int is_timeout, void *param, AAAMessage *aaa, long elaps
LM_DBG("passed rx session id [%.*s]", passed_rx_session_id->len, passed_rx_session_id->s);
dlgb.register_dlgcb_nodlg( data->dlg, DLGCB_TERMINATED | DLGCB_DESTROY | DLGCB_EXPIRED | DLGCB_RESPONSE_WITHIN | DLGCB_CONFIRMED | DLGCB_FAILED, callback_dialog, (void*) (passed_rx_session_id), free_dialog_data);
} else {
- unref_dlg(data->dlg, 1);
+ dlgb.release_dlg(data->dlg);
}
result = CSCF_RETURN_TRUE;
} else {
More information about the sr-dev
mailing list