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...?
Thanks,
Uri
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
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://www.linkedin.com/in/miconda
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@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.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-- Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
OK, made some copy paste and installed the latest from GIT the $time() variables looks OK now. Thanks.
On Thu, Nov 22, 2012 at 9:53 AM, Uri Shacked ushacked@gmail.com 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@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.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-- Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello,
On 11/22/12 10:50 AM, Uri Shacked wrote:
OK, made some copy paste and installed the latest from GIT the $time() variables looks OK now.
ok, thanks for testing and feedback.
Cheers, Daniel
Thanks.
On Thu, Nov 22, 2012 at 9:53 AM, Uri Shacked <ushacked@gmail.com mailto:ushacked@gmail.com> 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@gmail.com <mailto:miconda@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
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@gmail.com mailto:miconda@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