From 312abee36e7e509da72a5f378f968ec477d37c99 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Feb 2010 21:23:36 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;