[SR-Users] pua_json_publish is not realtime...

Jerry Kendall Jerry.Kendall at BishopHosting.com
Fri Oct 8 17:48:48 CEST 2021


Hey there,


I have this, as per documentation, that I assume is going to push out 
the publish events real-time as that is what the docs indicate...

===

event_route[xhttp:request] {

	$var(call-id) = $(rb{json.parse,Call-ID});
	if ($(rb{json.parse,Event-Package}) == "dialog") {
		xlog("L_INFO", "$var(call-id)|log|received $(rb{json.parse,Event-Package}) update for $(rb{json.parse,From})");
		pua_json_publish($rb);
	}
}

===

Problem is, it does NOT send out a notification - the BLFs do not change UNTIL the devices do a re-subscribe....

Does anyone know what I am missing?


Thanks In Advance....
Jerry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211008/bfac2c8c/attachment.htm>


More information about the sr-users mailing list