Module: kamailio
Branch: master
Commit: 1e7e0279bbf53c4a530aa3a8c1d322a68d8090f9
URL:
https://github.com/kamailio/kamailio/commit/1e7e0279bbf53c4a530aa3a8c1d322a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-04-15T18:03:40+02:00
acc: DLGCB_TERMINATED callback can be run without received request
- the case of local generated bye
---
Modified: modules/acc/acc_cdr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1e7e0279bbf53c4a530aa3a8c1d322a…
Patch:
https://github.com/kamailio/kamailio/commit/1e7e0279bbf53c4a530aa3a8c1d322a…
---
diff --git a/modules/acc/acc_cdr.c b/modules/acc/acc_cdr.c
index 845fc12..0532174 100644
--- a/modules/acc/acc_cdr.c
+++ b/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;