[SR-Users] problem with $time Pseudo-Variables on 3.3.2
Daniel-Constantin Mierla
miconda at gmail.com
Mon Nov 26 16:44:37 CET 2012
For the references in the archive, installing 3.3.x from git is
presented at:
- http://www.kamailio.org/wiki/install/3.3.x/git
Cheers,
Daniel
On 11/22/12 8:53 AM, Uri Shacked wrote:
> I install from source and not git. how do i download it? (there is
> only 3.3.2 source that i already installed....)
>
> On Wed, Nov 21, 2012 at 6:26 PM, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
> Can you try again with latest version of branch 3.3?
>
> Cheers,
> Daniel
>
>
> On 11/21/12 3:04 PM, Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> On 11/21/12 8:55 AM, Uri Shacked wrote:
>>>
>>> Hi,
>>>
>>> I upgraded to 3.3.2
>>>
>>> On 3.2 i used the variable $time() to get the current time for
>>> some process.
>>>
>>> Every 2 minutes a RTIMER process started, checked the
>>> $time(hour) and $time(min) and on a certain time executed something.
>>>
>>> This process stopped working on 3.3.2
>>>
>>> When i debug, i see that the $time() variable keeps on giving me
>>> the same hour and minute that was given on the first run.
>>>
>>> Meaning the $time() variable does not give the current time.
>>>
>>> I notice also that the $Ts that on 3.2 gave a current time
>>> stopped doing it and $TS does it now....
>>>
>>> Any help here?
>>>
>>> Is it OK and i need to check time another way? Or something in
>>> the $time() has changed...?
>>>
>> it was some change in terms of caching the time value per
>> message. rtimer uses a fake sip message, so it might have been
>> affected by this change, since it is not received from the net,
>> it is the same value in a local buffer and structure.
>>
>> I will look over it.
>>
>> Cheers,
>> Daniel
>> --
>> Daniel-Constantin Mierla -http://www.asipto.com
>> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -http://www.linkedin.com/in/miconda
>
> --
> Daniel-Constantin Mierla -http://www.asipto.com
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -http://www.linkedin.com/in/miconda
>
>
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121126/2270121a/attachment.htm>
More information about the sr-users
mailing list