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-users@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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4237/2875523734@github.com>