]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11790 [mod_loopback] set correct values for Connecting-Legs
authorlazedo <luis.azedo@factorlusitano.com>
Thu, 18 Apr 2019 02:39:06 +0000 (03:39 +0100)
committerlazedo <luis.azedo@factorlusitano.com>
Thu, 18 Apr 2019 02:39:06 +0000 (03:39 +0100)
src/mod/endpoints/mod_loopback/mod_loopback.c

index 676b7d7b3e244aeddcc970e946319fd61ff6a607..80b80638fb8d71125ed112905ced38bf942354a4 100644 (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);
                                                }
                                        }