Browse code

Merge 2a31c54740391e9028e51d7acb965818be5ce247 into 02be5bef89625a53b2f67f8ca8d3acd4073b6c2b

Stefan Mititelu authored on 08/12/2021 14:17:38 • GitHub committed on 08/12/2021 14:17:38
Showing 1 changed files
... ...
@@ -1810,6 +1810,7 @@ mod_init(void)
1810 1810
 
1811 1811
 	/* select the default set */
1812 1812
 	default_rtpp_set = select_rtpp_set(setid_default);
1813
+	active_rtpp_set = default_rtpp_set;
1813 1814
 	if (!default_rtpp_set) {
1814 1815
 		LM_NOTICE("Default rtpp set %u NOT found\n", setid_default);
1815 1816
 	} else {
... ...
@@ -2690,9 +2691,6 @@ static bencode_item_t *rtpp_function_call(bencode_buffer_t *bencbuf, struct sip_
2690 2691
 		goto error;
2691 2692
 	}
2692 2693
 
2693
-	if(msg->id != current_msg_id)
2694
-		active_rtpp_set = default_rtpp_set;
2695
-
2696 2694
 select_node:
2697 2695
 	do {
2698 2696
 		if (queried_nodes >= cfg_get(rtpengine,rtpengine_cfg,queried_nodes_limit)) {