Browse code

pua_dialoginfo: skip requests that do not control call state

- GH #2700

(cherry picked from commit 1b47452cebb1b7866cbbabd5068a9ff4a39c86d2)
(cherry picked from commit 8b112fbb5e362931b5c684fd4a6c3fdcbb9103e3)

Daniel-Constantin Mierla authored on 03/04/2021 05:56:40 • Henning Westerholt committed on 22/10/2021 11:33:42
Showing 1 changed files
... ...
@@ -260,6 +260,11 @@ __dialog_sendpublish(struct dlg_cell *dlg, int type, struct dlg_cb_params *_para
260 260
 				type, dlg, dlginfo);
261 261
 		return;
262 262
 	}
263
+
264
+	/* skip requests that do not control call state */
265
+	if((request->REQ_METHOD)&(METHOD_PRACK|METHOD_UPDATE)) {
266
+		return;
267
+	}
263 268
 	if(include_req_uri) {
264 269
 		uri = dlginfo->req_uri;
265 270
 	} else {