提交 49c9bfdb authored 作者: Anthony Minessale's avatar Anthony Minessale

add conference_member_id variable to all sessions with the member id used by…

add conference_member_id variable to all sessions with the member id used by their conference participation (For drk__)
上级 7996819f
...@@ -695,6 +695,9 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe ...@@ -695,6 +695,9 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe
} }
channel = switch_core_session_get_channel(member->session); channel = switch_core_session_get_channel(member->session);
switch_channel_set_variable_printf(channel, "conference_member_id", "%d", member->id);
call_list = (call_list_t *) switch_channel_get_private(channel, "_conference_autocall_list_"); call_list = (call_list_t *) switch_channel_get_private(channel, "_conference_autocall_list_");
if (call_list) { if (call_list) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论