From: Anthony Minessale Date: Wed, 8 Sep 2010 20:36:30 +0000 (-0500) Subject: doh X-Git-Tag: v1.2-rc1~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcdc147e0489a8524b927d093f5016758b651e07;p=thirdparty%2Ffreeswitch.git doh --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index c78ed90fe3..452abdf9e2 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -674,7 +674,7 @@ void sofia_reg_check_expire(sofia_profile_t *profile, time_t now, int reboot) switch_snprintf(sql, sizeof(sql), "select call_id,sip_user,sip_host,contact,status,rpid," "expires,user_agent,server_user,server_host,profile_name" " from sip_registrations where (status like '%%NAT%%' " - "or contact like '%%fs_nat=true%%') and hostname='%s'", mod_sofia_globals.hostname); + "or contact like '%%fs_nat=yes%%') and hostname='%s'", mod_sofia_globals.hostname); sofia_glue_execute_sql_callback(profile, NULL, sql, sofia_reg_nat_callback, profile); }