rem: if (is_db_mc_on(t->uas.request)) {
add: if (db_url && is_db_mc_on(t->uas.request)) {
context: static inline void on_missed(struct cell *t, struct sip_msg *reply,	int code, void *param ){	int reset_lmf; #ifdef SQL_ACC	int reset_dmf;#endif#ifdef RAD_ACC	int reset_rmf;#endif/* DIAMETER */#ifdef DIAM_ACC	int reset_dimf;#endif	/* validation */	if (t->uas.request==0) {		DBG("DBG: acc: on_missed: no uas.request, local t; skipping\n");		return;	}	if (is_invite(t) && code>=300) {		if (is_log_mc_on(t->uas.request)) {			acc_log_missed( t, reply, code);			reset_lmf=1;		} else reset_lmf=0;#ifdef SQL_ACC		if (is_db_mc_on(t->uas.request)) {			acc_db_missed( t, reply, code);			reset_dmf=1;		} else reset_dmf=0;#endif#ifdef RAD_ACC		if (is_rad_mc_on(t->uas.request)) {			acc_rad_missed(t, reply, code );			reset_rmf=1;		} else reset_rmf=0;#endif/* DIAMETER */#ifdef DIAM_ACC		if (is_diam_mc_on(t->uas.request)) {			acc_diam_missed(t, reply, code );			reset_dimf=1;		} else reset_dimf=0;#endif		/* we report on missed calls when the first		 * forwarding attempt fails; we do not wish to		 * report on every attempt; so we clear the flags; 		 * we do it after all reporting is over to be sure		 * that all reporting functions got a fair chance		 */		if (reset_lmf) resetflag(t->uas.request, log_missed_flag);#ifdef SQL_ACC		if (reset_dmf) resetflag(t->uas.request, db_missed_flag);#endif#ifdef RAD_ACC		if (reset_rmf) resetflag(t->uas.request, radius_missed_flag);#endif/* DIAMETER */#ifdef DIAM_ACC		if (reset_dimf) resetflag(t->uas.request, diameter_missed_flag);#endif	}}