switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_CRIT,"mod_redis is deprecated and will be removed in FS 1.8. Check out mod_hiredis.\n");
if(redis_factory(&redis)!=SWITCH_STATUS_SUCCESS){
if(globals.ignore_connect_fail){
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR,"ignore_connect_fail=true, so ignoring the fact that redis was not contactabl and continuing with the call\n");