FS-11099 [mod_conference] provide profile name when requesting for

caller-controls
This commit is contained in:
lazedo 2018-04-09 01:10:40 +01:00
parent e2231715f4
commit c4772b5bf0
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ void conference_member_bind_controls(conference_member_t *member, const char *co
switch_event_create(&params, SWITCH_EVENT_REQUEST_PARAMS);
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Conf-Name", member->conference->name);
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Conf-Profile", member->conference->profile_name);
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Action", "request-controls");
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Controls", controls);