Module: kamailio Branch: master Commit: 92ef21d77d9ded1f1fda7dd83934e073e557dfb8 URL: https://github.com/kamailio/kamailio/commit/92ef21d77d9ded1f1fda7dd83934e073e557dfb8
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: GitHub <nore...@github.com> Date: 2020-06-24T08:26:29+02:00 Merge pull request #2367 from kamailio/dialog-improve-warning-msg dialog: improve warning message to help better identify dialog lookup failures --- Modified: src/modules/dialog/dlg_handlers.c --- Diff: https://github.com/kamailio/kamailio/commit/92ef21d77d9ded1f1fda7dd83934e073e557dfb8.diff Patch: https://github.com/kamailio/kamailio/commit/92ef21d77d9ded1f1fda7dd83934e073e557dfb8.patch --- diff --git a/src/modules/dialog/dlg_handlers.c b/src/modules/dialog/dlg_handlers.c index 43e01eece7..4c19e98417 100644 --- a/src/modules/dialog/dlg_handlers.c +++ b/src/modules/dialog/dlg_handlers.c @@ -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 { _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev