Module: kamailio
Branch: 5.6
Commit: d02c9e3a118789d24623a9d77e09c547e9cd8f79
URL:
https://github.com/kamailio/kamailio/commit/d02c9e3a118789d24623a9d77e09c54…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-10-06T11:25:57+02:00
ims_qos: use inter-module api release_dlg() instead of direct unref_dlg()
- fix missing linker symbol
(cherry picked from commit 8d398d6a83153fc65acd49557b702879d2585dc8)
---
Modified: src/modules/ims_qos/rx_aar.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d02c9e3a118789d24623a9d77e09c54…
Patch:
https://github.com/kamailio/kamailio/commit/d02c9e3a118789d24623a9d77e09c54…
---
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 {