Module: kamailio Branch: master Commit: c4684574e0e0e1cca4c1489a16513182f821a643 URL: https://github.com/kamailio/kamailio/commit/c4684574e0e0e1cca4c1489a16513182...
Author: Emmanuel Schmidbauer emmanuel.schmidbauer@textnow.com Committer: Emmanuel Schmidbauer emmanuel.schmidbauer@textnow.com Date: 2020-06-19T16:54:40-04:00
dialog: improve warning message to help better identify lookup failures
---
Modified: src/modules/dialog/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/c4684574e0e0e1cca4c1489a16513182... Patch: https://github.com/kamailio/kamailio/commit/c4684574e0e0e1cca4c1489a16513182...
---
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 {