Browse code

dialog: no-ack-extra-debug less

Julien Chavanton authored on 24/09/2020 20:47:05
Showing 1 changed files
... ...
@@ -1436,7 +1436,8 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
1436 1436
 	next_state_dlg( dlg, event, &old_state, &new_state, &unref);
1437 1437
 	if (new_state != DLG_STATE_CONFIRMED) {
1438 1438
 		extra_ack_debug_info("state not changed", req, dir);
1439
-		LM_INFO("state not changed old[%d]new[%d]\n", old_state, new_state);
1439
+		if (req->first_line.u.request.method_value == METHOD_ACK)
1440
+			LM_INFO("state not changed old[%d]new[%d]\n", old_state, new_state);
1440 1441
 	}
1441 1442
 
1442 1443
 	CURR_DLG_ID = req->id;