From: Anthony Minessale Date: Thu, 4 Feb 2010 21:23:36 +0000 (+0000) Subject: nuke handle on errs worse than 500 rather than 900 X-Git-Tag: v1.0.6~541 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=312abee36e7e509da72a5f378f968ec477d37c99;p=thirdparty%2Ffreeswitch.git nuke handle on errs worse than 500 rather than 900 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16571 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 52b5f46b58..beec19940b 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -1448,7 +1448,7 @@ void sofia_reg_handle_sip_r_register(int status, nua_t *nua, sofia_profile_t *profile, nua_handle_t *nh, sofia_private_t *sofia_private, sip_t const *sip, tagi_t tags[]) { - if (status >= 900) { + if (status >= 500) { if (sofia_private && sofia_private->gateway) { nua_handle_destroy(sofia_private->gateway->nh); sofia_private->gateway->nh = NULL;