(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 1 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 2 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 3 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 4 min
Logging time with $timef it doesn't seem like it reports current time. This is running in a route triggered by rtimer. Is the timef() pv reporting current time (as in the cookbook) or something else?
/O
What is the format you provided to pv?
Cheers, Daniel
On 10/18/12 9:54 PM, Olle E. Johansson wrote:
(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 1 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 2 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 3 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 4 min
Logging time with $timef it doesn't seem like it reports current time. This is running in a route triggered by rtimer. Is the timef() pv reporting current time (as in the cookbook) or something else?
/O _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
19 okt 2012 kl. 12:09 skrev Daniel-Constantin Mierla miconda@gmail.com:
What is the format you provided to pv?
$timef(%H.%M)
/O
Cheers, Daniel
On 10/18/12 9:54 PM, Olle E. Johansson wrote:
(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 1 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 2 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 3 min 6(76412) ERROR: <script>: --- All is well. Time is now 21.28 . Runtime 0 hr 4 min
Logging time with $timef it doesn't seem like it reports current time. This is running in a route triggered by rtimer. Is the timef() pv reporting current time (as in the cookbook) or something else?
/O _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu