Skip to content

Commit

Permalink
[b2b_logic] fix TO hdr setting in UAC entities
Browse files Browse the repository at this point in the history
Keep the original idea (<=3.1) to have TO and RURI set to the same URI. Starting 3.2 this was accidentally changed, TO hdr being preserved from the UAS entity.
Fixes #3176
  • Loading branch information
bogdan-iancu committed Dec 4, 2023
1 parent f635a63 commit d3e3ad1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/b2b_logic/logic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2955,8 +2955,7 @@ str* b2b_process_scenario_init(struct sip_msg* msg, b2bl_cback_f cbf,

memset(&ci, 0, sizeof(client_info_t));
ci.method = method;
ci.req_uri = new_entity->dest_uri;
ci.to_uri = to_uri;
ci.to_uri = new_entity->dest_uri;
ci.dst_uri = new_entity->proxy;
ci.from_uri = from_uri;
ci.from_dname = from_dname;
Expand Down

0 comments on commit d3e3ad1

Please sign in to comment.