mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
[mod_conference] fix crash when using conference heartbeat
This commit is contained in:
parent
dd54a8cc60
commit
452f153d1b
@ -264,7 +264,7 @@ void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, void *ob
|
||||
last_heartbeat_time = now;
|
||||
switch_event_create_subclass(&heartbeat_event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT);
|
||||
conference_event_add_data(conference, heartbeat_event);
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Action", "conference-heartbeat");
|
||||
switch_event_add_header_string(heartbeat_event, SWITCH_STACK_BOTTOM, "Action", "conference-heartbeat");
|
||||
switch_event_fire(&heartbeat_event);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user