- the case of local generated bye
@@ -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;