rem: int check_route_param(struct sip_msg * msg, char *re, char *foo)
add: int check_route_param(struct sip_msg * msg, regex_t* re)
context: int check_route_param(struct sip_msg * msg, char *re, char *foo){	regmatch_t pmatch;	char bk;	/* check if the hooked params belong to the same message */	if (routed_msg_id != msg->id)		return -1;	/* check if params are present */	if ( !routed_params.s || !routed_params.len )		return -1;	/* do the well-known trick to convert to null terminted */	bk = routed_params.s[routed_params.len];	routed_params.s[routed_params.len] = 0;	DBG("DEBUG:rr:check_route_param: params are <%s>\n", routed_params.s);	if (regexec( (regex_t*)re, routed_params.s, 1, &pmatch, 0)!=0) {		routed_params.s[routed_params.len] = bk;		return -1;	} else {		routed_params.s[routed_params.len] = bk;		return 1;	}}