[SR-Users] modifying global data-structures using Rtimer module
Ovidiu Sas
osas at voipembedded.com
Tue Feb 5 14:46:00 CET 2013
Why don't you just simply use db_text?
http://kamailio.org/docs/modules/devel/modules/db_text.html
Regards,
Ovidiu Sas
On Mon, Feb 4, 2013 at 11:34 PM, Kiran Bhosale <kiranbhosale2 at gmail.com> wrote:
> Hi
>
> we have developed the custom module which stores the registered users in
> a file.now we are trying to remove the expired contacts using the rtimer
> module.while saving the registered users to the file we also store the
> expires values in static array.but when we try to decrement the these
> values in a function called with the help of rtimer module. the values
> used by this periodic function are not modified ones but the initial
> which are zero. is it that we cant pass the modified values of the
> global variables to the timed functions. to get around this problem, we
> also registered the timer in our module but got same results !!!!!!!
More information about the sr-users
mailing list