[sr-dev] git:master:8530be37: tm: remove unused #define TM_E2E_ACK_CHECK_FROM_URI, unchanged since 2009

Henning Westerholt hw at skalatan.de
Sun Aug 11 11:55:53 CEST 2019


Module: kamailio
Branch: master
Commit: 8530be379abfe35472f34729975963c94e8869e1
URL: https://github.com/kamailio/kamailio/commit/8530be379abfe35472f34729975963c94e8869e1

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-08-11T11:55:36+02:00

tm: remove unused #define TM_E2E_ACK_CHECK_FROM_URI, unchanged since 2009

- remove unused #define TM_E2E_ACK_CHECK_FROM_URI
- it was unchanged since 2009, introduced in commit eddf3e3b7b3db814

---

Modified: src/modules/tm/t_lookup.c

---

Diff:  https://github.com/kamailio/kamailio/commit/8530be379abfe35472f34729975963c94e8869e1.diff
Patch: https://github.com/kamailio/kamailio/commit/8530be379abfe35472f34729975963c94e8869e1.patch

---

diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index 3d114e2b0e..64fb797f1f 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -618,11 +618,6 @@ int t_lookup_request( struct sip_msg* p_msg , int leave_new_locked,
 				if (! STR_EQ(get_from(t_msg)->tag_value,
 							get_from(p_msg)->tag_value))
 					continue;
-#ifdef TM_E2E_ACK_CHECK_FROM_URI
-				if (! STR_EQ(get_from(t_msg)->uri,
-							get_from(p_msg)->uri))
-					continue;
-#endif
 
 				/* all criteria for proxied ACK are ok */
 				if (likely(p_cell->relayed_reply_branch!=-2)) {




More information about the sr-dev mailing list