Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (16570 => 16571)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c 2010-02-04 19:48:41 UTC (rev 16570)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c 2010-02-04 21:23:36 UTC (rev 16571)
@@ -1448,7 +1448,7 @@
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;