408 means no reply, that's bad
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-18 20:45:22 UTC (rev 15533)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-18 22:59:28 UTC (rev 15534)
@@ -3187,7 +3187,7 @@
}
if (gateway) {
- if (status >= 200 && status < 600) {
+ if (status >= 200 && status < 600 && status != 408) {
if (gateway->state == REG_STATE_FAILED) {
gateway->state = REG_STATE_UNREGED;
}