- callback function cdr_on_end() doesn't use it at all - reported by Eduardo Lejarreta, FS#256 (cherry picked from commit 8fcdd23aaa49cb6c1ecb34c4c6b4a88078a860f7)
@@ -569,7 +569,7 @@ static void cdr_on_end( 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;