Skip to content

Commit

Permalink
[tm] avoid incoming request matching against UAC transactions
Browse files Browse the repository at this point in the history
(cherry picked from commit e6c7335)
  • Loading branch information
bogdan-iancu committed Jul 24, 2023
1 parent f7fd5b1 commit de98f81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/tm/t_lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ static int matching_3261( struct sip_msg *p_msg, struct cell **trans,
p_cell; p_cell = p_cell->next_cell )
{
t_msg=p_cell->uas.request;
if (!t_msg) continue; /* don't try matching UAC transactions */
/* don't try matching UAC transactions */
if (is_local(p_cell) || !t_msg) continue;
if (skip_method & t_msg->REQ_METHOD) continue;

/* here we do an exercise which will be removed from future code
Expand Down

0 comments on commit de98f81

Please sign in to comment.