Module: kamailio
Branch: master
Commit: 1b47452cebb1b7866cbbabd5068a9ff4a39c86d2
URL:
https://github.com/kamailio/kamailio/commit/1b47452cebb1b7866cbbabd5068a9ff…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-04-03T07:56:40+02:00
pua_dialoginfo: skip requests that do not control call state
- GH #2700
---
Modified: src/modules/pua_dialoginfo/pua_dialoginfo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1b47452cebb1b7866cbbabd5068a9ff…
Patch:
https://github.com/kamailio/kamailio/commit/1b47452cebb1b7866cbbabd5068a9ff…
---
diff --git a/src/modules/pua_dialoginfo/pua_dialoginfo.c
b/src/modules/pua_dialoginfo/pua_dialoginfo.c
index cb5969a23e..a146b52d19 100644
--- a/src/modules/pua_dialoginfo/pua_dialoginfo.c
+++ b/src/modules/pua_dialoginfo/pua_dialoginfo.c
@@ -270,6 +270,11 @@ __dialog_sendpublish(struct dlg_cell *dlg, int type, struct
dlg_cb_params *_para
type, dlg, dlginfo);
return;
}
+
+ /* skip requests that do not control call state */
+ if((request->REQ_METHOD)&(METHOD_PRACK|METHOD_UPDATE)) {
+ return;
+ }
if(include_req_uri) {
uri = dlginfo->req_uri;
} else {