Module: kamailio
Branch: master
Commit: 8f39d0ff741a3ba5819c6c0f96b8f575d30ab770
URL:
https://github.com/kamailio/kamailio/commit/8f39d0ff741a3ba5819c6c0f96b8f57…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-03-31T18:24:24+02:00
keepalive: updates for the new t field names
---
Modified: src/modules/keepalive/keepalive_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8f39d0ff741a3ba5819c6c0f96b8f57…
Patch:
https://github.com/kamailio/kamailio/commit/8f39d0ff741a3ba5819c6c0f96b8f57…
---
diff --git a/src/modules/keepalive/keepalive_core.c
b/src/modules/keepalive/keepalive_core.c
index df59553392f..ea16dfdc000 100644
--- a/src/modules/keepalive/keepalive_core.c
+++ b/src/modules/keepalive/keepalive_core.c
@@ -120,8 +120,8 @@ static void ka_options_callback(
shm_free(uuid);
ka_unlock_destination_list();
- 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)\n", ps->code,
ka_dest->uri.len, ka_dest->uri.s); //uri.len, uri.s);