Skip to content

Commit

Permalink
Revert "[topology-hiding] fix detection of the UAC requests"
Browse files Browse the repository at this point in the history
This reverts commit 62d0edb.
  • Loading branch information
bogdan-iancu committed Dec 14, 2021
1 parent fe2e8df commit 68988b9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/topology_hiding/topo_hiding_logic.c
Expand Up @@ -1036,10 +1036,11 @@ static void topo_dlg_onroute (struct dlg_cell* dlg, int type,
return;
}

/* filter out the case we end up here for local UAC request (one VIA), as
* there is no relaying to follow, so nothing to be done here */
if (req->via2==NULL) {
LM_DBG("uac/dummy request identified, skipping...\n");
/* we also may end up here via TERMINATE event triggered by internal
* dlg termination -> the requests we have here are dummy, so nothing
* to be done */
if (is_dummy_sip_msg(req)==0) {
LM_DBG("dummy request identified, skipping...\n");
return;
}

Expand Down

0 comments on commit 68988b9

Please sign in to comment.