diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 62a49dc7e5..91fb54a890 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -650,6 +650,7 @@ void event_handler(switch_event_t *event) char *fixed_contact_str = NULL; sofia_profile_t *profile = NULL; + char guess_ip4[256]; char *mwi_account = NULL; char *dup_mwi_account = NULL; @@ -669,8 +670,6 @@ void event_handler(switch_event_t *event) mwi_host = (char *) from_host; } - char guess_ip4[256]; - if (exp_str) { expires += atol(exp_str); }