[OpenSIPS-Users] Call fetch_dlg_value inside a timer route

Alberto alberto.rinaudo at gmail.com
Wed May 17 22:45:42 UTC 2023


This reminded me of something else, maybe it can be used here too:
In a event route, before you can use dialog variables, you have to load the
dialog context by using func_load_dialog_ctx. Maybe it's the same with
timer routes.

https://opensips.org/docs/modules/3.2.x/dialog#func_load_dialog_ctx

On Wed, 17 May 2023, 21:07 Daniel Zanutti, <daniel.zanutti at gmail.com> wrote:

> Hi folks
>
> Why is it not possible to call *fetch_dlg_value *inside a timer route? Is
> there any other alternative to it?
>
> I wanted to generate some statistics every X seconds.
>
> Thanks
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230517/868ce573/attachment.html>


More information about the Users mailing list