Przeglądaj źródła

acc: DLGCB_TERMINATED callback can be run without received request

- the case of local generated bye
Daniel-Constantin Mierla 10 lat temu
rodzic
commit
1e7e0279bb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      modules/acc/acc_cdr.c

+ 1 - 1
modules/acc/acc_cdr.c

@@ -643,7 +643,7 @@ void cdr_on_end_confirmed( struct dlg_cell* dialog,
                         int type,
                         struct dlg_cb_params* params)
 {
-    if( !dialog || !params || !params->req)
+    if( !dialog || !params )
     {
         LM_ERR("invalid values\n!");
         return;