Browse code

ims_qos: use inter-module api release_dlg() instead of direct unref_dlg()

- fix missing linker symbol

(cherry picked from commit 8d398d6a83153fc65acd49557b702879d2585dc8)

Daniel-Constantin Mierla authored on 06/10/2022 09:24:51
Showing 1 changed files
... ...
@@ -53,7 +53,6 @@
53 53
 #include "../cdp_avp/cdp_avp_mod.h"
54 54
 
55 55
 #include "../../modules/ims_dialog/dlg_load.h"
56
-#include "../../modules/ims_dialog/dlg_hash.h"
57 56
 #include "../../modules/tm/tm_load.h"
58 57
 #include "../ims_usrloc_pcscf/usrloc.h"
59 58
 #include "rx_authdata.h"
... ...
@@ -182,7 +181,7 @@ void async_aar_callback(int is_timeout, void *param, AAAMessage *aaa, long elaps
182 181
             LM_DBG("passed rx session id [%.*s]", passed_rx_session_id->len, passed_rx_session_id->s);
183 182
             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);
184 183
         } else {
185
-            unref_dlg(data->dlg, 1);
184
+            dlgb.release_dlg(data->dlg);
186 185
         }
187 186
         result = CSCF_RETURN_TRUE;
188 187
     } else {