Can you attach a sip subscribe message and json payload ($rb) which you
expect to send a notify to the subscribe?

On Fri, Oct 8, 2021 at 11:49 AM Jerry Kendall <
[email protected]> wrote:

> 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
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to