[SR-Users] xavp functionnality in htable
hw at gilawa.com
Mon Nov 15 21:10:31 CET 2021
yes, it’s possible to do this also with htable:
“The module also provides a way to store multiple values for a single key. This is emulated by storing individual keys as 'key_name[n]', where n is incremented for each key. The total number of keys is stored in a dedicated key, by default: 'key_name::size'.
The array is built when the table is loaded in memory and afterwards all the keys are treated as individual keys. If a particular entry in the array is deleted, it is the administrator's responsibility to update the size of the array and any other elements (if required).”
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Monday, November 15, 2021 8:54 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] xavp functionnality in htable
No, but you could easily store nonscalar values like JSON blobs and deserialise them with the help of the jansson module, and iterate through array values.
Sent from mobile, with due apologies for brevity and errors.
On Nov 15, 2021, at 2:42 PM, Patrick Karton <patrickarton at hotmail.com<mailto:patrickarton at hotmail.com>> wrote:
do we have something like xavp in htable or a module that implements having multiple values in stack like xavp but not tied to transaction.
i want data be seen by all processes but with the functionnality of xavp.
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users