Browse code

pua_dialoginfo: skip requests that do not control call state

- GH #2700

Daniel-Constantin Mierla authored on 03/04/2021 05:56:40
Showing 1 changed files
... ...
@@ -270,6 +270,11 @@ __dialog_sendpublish(struct dlg_cell *dlg, int type, struct dlg_cb_params *_para
270 270
 				type, dlg, dlginfo);
271 271
 		return;
272 272
 	}
273
+
274
+	/* skip requests that do not control call state */
275
+	if((request->REQ_METHOD)&(METHOD_PRACK|METHOD_UPDATE)) {
276
+		return;
277
+	}
273 278
 	if(include_req_uri) {
274 279
 		uri = dlginfo->req_uri;
275 280
 	} else {