improve gateway resilience

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10528 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-11-24 16:56:21 +00:00
parent 47015599dc
commit e077cbe18e
4 changed files with 32 additions and 12 deletions
+2
View File
@@ -257,6 +257,7 @@ typedef enum {
REG_STATE_REGED,
REG_STATE_UNREGISTER,
REG_STATE_FAILED,
REG_STATE_FAIL_WAIT,
REG_STATE_EXPIRED,
REG_STATE_NOREG,
REG_STATE_LAST
@@ -333,6 +334,7 @@ struct sofia_gateway {
int deleted;
switch_event_t *vars;
char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];
int failures;
struct sofia_gateway *next;
sofia_gateway_subscription_t *subscriptions;
};