FS-9721 #resolve [Add media_reneg_after_broadcast]

This commit is contained in:
Anthony Minessale committed 2016-11-09 17:24:47 -06:00
1 parent 6076e0c7e9
commit 56872ee052
2 files changed
+13 -4

No files matched your search

+10
View File
@@ -664,6 +664,16 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se
}
switch_channel_audio_sync(channel);
if (switch_channel_var_true(channel, "media_reneg_after_broadcast")) {
switch_core_session_message_t msg = { 0 };
msg.message_id = SWITCH_MESSAGE_INDICATE_MEDIA_RENEG;
msg.from = __FILE__;
switch_core_session_receive_message(session, &msg);
}
}
} else if (cmd_hash == CMD_UNICAST) {
char *local_ip = switch_event_get_header(event, "local-ip");