瀏覽代碼

acc: DLGCB_TERMINATED callback can be run without received request

- the case of local generated bye
Daniel-Constantin Mierla 10 年之前
父節點
當前提交
1e7e0279bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;