Merge pull request #1713 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11790 to master

* commit '2b2f11d6993ba31428b0ad9a23b5828239ca6ef4':
  FS-11790 [mod_loopback] set correct values for Connecting-Legs
This commit is contained in:
Mike Jerris 2019-04-18 11:44:17 -05:00
commit c9ab6c75bd
1 changed files with 2 additions and 2 deletions

View File

@ -930,8 +930,8 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
switch_channel_event_set_data(tech_pvt->other_channel, event);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Resigning-UUID", switch_channel_get_uuid(tech_pvt->other_channel));
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Resigning-Peer-UUID", switch_channel_get_uuid(tech_pvt->channel));
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Connecting-Leg-A-UUID", switch_channel_get_uuid(ch_a));
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Connecting-Leg-B-UUID", switch_channel_get_uuid(ch_b));
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Connecting-Leg-A-UUID", switch_channel_get_uuid(ch_b));
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Connecting-Leg-B-UUID", switch_channel_get_uuid(ch_a));
switch_event_fire(&event);
}
}