diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index b7b39d1feb..f116cd2ee0 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -904,7 +904,7 @@ static void send_conference_data(sofia_profile_t *profile, switch_event_t *event const char *notfound = switch_event_get_header(event, "notfound"); const char *body = switch_event_get_body(event); const char *type = "application/conference-info+xml"; - int final = switch_true(switch_event_get_header(event, "final"); + const char *final = switch_event_get_header(event, "final"); if (!event_str) { event_str = "conference";