From joel@textplus.com Fri Oct 22 01:23:28 2021 From: Joel Serrano To: sr-users@lists.kamailio.org Subject: [SR-Users] T_req(pv) not accessible in dialog event route in v5.5.2 Date: Thu, 21 Oct 2021 16:22:54 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1340900117==" --===============1340900117== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, I'm in the process of updating some servers that are running Kam v5.1.4 to v5.5.2. After the upgrade I've noticed that I've lost some custom metrics that we have defined via config-script. Snippet of the relevant config: event_route[dialog:start] { # Gather metrics regarding source IP xlog("L_WARN", "[DLG] - Checking country for ($si | $T_req($si)) - START\n"); if (geoip2_match("$T_req($si)", "src")) { # Country found ... } xlog("L_WARN", "[DLG] - Checking country for ($si | $T_req($si)) - END\n"); } NOTE: xlog lines added for debugging, they normally are not there. In version 5.1.4 in the logs I see: Oct 21 15:55:47 13cn3 sbc[22606]: WARNING: