Module: kamailio Branch: master Commit: 927a2451e084e886d2548fdae3f5f4cd3abd0a4b URL: https://github.com/kamailio/kamailio/commit/927a2451e084e886d2548fdae3f5f4cd3abd0a4b
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2023-03-31T18:24:24+02:00 dispatcher: updates for the new t field names --- Modified: src/modules/dispatcher/dispatch.c --- Diff: https://github.com/kamailio/kamailio/commit/927a2451e084e886d2548fdae3f5f4cd3abd0a4b.diff Patch: https://github.com/kamailio/kamailio/commit/927a2451e084e886d2548fdae3f5f4cd3abd0a4b.patch --- diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c index d79fb7a6d3d..484322f0ec7 100644 --- a/src/modules/dispatcher/dispatch.c +++ b/src/modules/dispatcher/dispatch.c @@ -3613,8 +3613,8 @@ static void ds_options_callback( /* The SIP-URI is taken from the Transaction. * Remove the "To: <" (s+5) and the trailing >+new-line (s - 5 (To: <) * - 3 (>\r\n)). */ - uri.s = t->to.s + 5; - uri.len = t->to.len - 8; + uri.s = t->to_hdr.s + 5; + uri.len = t->to_hdr.len - 8; LM_DBG("OPTIONS-Request was finished with code %d (to %.*s, group %d)\n", ps->code, uri.len, uri.s, group); if (ds_ping_latency_stats) { _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to [email protected]
