Module: kamailio Branch: 5.3 Commit: 15fbad460e4cd3187ff9103440ecd41eb427cf3a URL: https://github.com/kamailio/kamailio/commit/15fbad460e4cd3187ff9103440ecd41e...
Author: Emmanuel Schmidbauer emmanuel.schmidbauer@textnow.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-07-02T09:42:39+02:00
dialog: improve warning message to help better identify lookup failures
(cherry picked from commit c4684574e0e0e1cca4c1489a16513182f821a643)
---
Modified: src/modules/dialog/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/15fbad460e4cd3187ff9103440ecd41e... Patch: https://github.com/kamailio/kamailio/commit/15fbad460e4cd3187ff9103440ecd41e...
---
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 {