rem: DBG("lookup_contact(): Binding has expired\n");
add: DBG("lookup_contact(): Binding has expired or not found\n");
context: static int lookup_contact(struct sip_msg* _msg, char* _table, char* _str2){	c_elem_t* el;	str user;	time_t t;		if (!_msg->to) {		if (parse_headers(_msg, HDR_TO) == -1) {			LOG(L_ERR, "lookup_contact(): Error while parsing headers\n");			return -1;		}	}	if (!_msg->to) {		LOG(L_ERR, "lookup_contact(): Unable to find To header field\n");		return -1;	}		if (_msg->new_uri.s) {		user.s = _msg->new_uri.s;		user.len = _msg->new_uri.len;	} else {		user.s = _msg->first_line.u.request.uri.s;		user.len = _msg->first_line.u.request.uri.len;	}	get_username(&user);		if (user.len == 0) {		LOG(L_ERR, "lookup_contact(): Unable to get user name\n");		return -1;	}		t = time(NULL);	el = cache_get(c, &user);	if (el) {		if ((el->loc->contacts) && (el->loc->contacts->expires >= t)) {			DBG("lookup_contact(): Binding find, rewriting Request-URI\n");			if (rwrite(_msg, &(el->loc->contacts->c)) == FALSE) {				LOG(L_ERR, "lookup_contact(): Unable to rewrite request URI\n");				cache_release_elem(el);				return -1;			}			cache_release_elem(el);		        return 1;			} else {                        DBG("lookup_contact(): Binding has expired\n");			cache_release_elem(el);			return -1;	        };	} else {		DBG("lookup_contact(): No binding found in database\n");		return -2;	}}