Skip to content

Commit

Permalink
pua_dialoginfo: check request to cover cases of callbacks without it
Browse files Browse the repository at this point in the history
- updates the previous commit
  • Loading branch information
miconda committed Apr 9, 2021
1 parent 80beb29 commit 912e2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/pua_dialoginfo/pua_dialoginfo.c
Expand Up @@ -272,7 +272,7 @@ __dialog_sendpublish(struct dlg_cell *dlg, int type, struct dlg_cb_params *_para
}

/* skip requests that do not control call state */
if((request->REQ_METHOD)&(METHOD_PRACK|METHOD_UPDATE)) {
if(request && (request->REQ_METHOD)&(METHOD_PRACK|METHOD_UPDATE)) {
return;
}
if(include_req_uri) {
Expand Down

0 comments on commit 912e2ef

Please sign in to comment.