tianhao98 left a comment (kamailio/kamailio#4237)
> Do you defined a event route for event_route[xhttp:request] {..} ?
>
> Please address generic questions on how to use Kamailio to our users mailing
> list at [sr-us...@lists.kamailio.org](mailto:sr-us...@lists.kamailio.org)
I've defined
```
event_route[xhttp:request] {
$var(xhttp_prom_root) = $(hu{s.substr,0,8});
if ($var(xhttp_prom_root) == "/metrics") {
xlogl("L_INFO", " [$utimef(20%y-%d-%m %H:%M:%S)]
[$(hdr(Call-ID))]: [bizCall=$xavu(bizCallId)] [bot=$xavu(bizBotId)] Called
metrics\n");
prom_dispatch();
}
}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4237#issuecomment-2875523734
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4237/2875523...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!