Skip to content

Commit

Permalink
dialog: improve warning message to help better identify lookup failures
Browse files Browse the repository at this point in the history
  • Loading branch information
eschmidbauer committed Jun 19, 2020
1 parent 30c8438 commit c468457
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/dialog/dlg_handlers.c
Expand Up @@ -1320,10 +1320,12 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
dlg = dlg_lookup(h_entry, h_id);
if (dlg==0) {
LM_WARN("unable to find dialog for %.*s "
"with route param '%.*s' [%u:%u]\n",
"with route param '%.*s' [%u:%u] "
"and call-id '%.*s'\n",
req->first_line.u.request.method.len,
req->first_line.u.request.method.s,
val.len,val.s, h_entry, h_id);
val.len,val.s, h_entry, h_id,
req->callid->body.len, req->callid->body.s);
if (seq_match_mode==SEQ_MATCH_STRICT_ID )
return;
} else {
Expand Down

0 comments on commit c468457

Please sign in to comment.