Skip to content

Commit

Permalink
pua_dialoginfo: skip requests that do not control call state
Browse files Browse the repository at this point in the history
- GH #2700
  • Loading branch information
miconda committed Apr 3, 2021
1 parent b7f753d commit 1b47452
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/pua_dialoginfo/pua_dialoginfo.c
Expand Up @@ -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 {
Expand Down

0 comments on commit 1b47452

Please sign in to comment.